Add new NPC: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Created page with " Best method is through the webconsole. NPCs -> Create NPC"
 
No edit summary
 
Line 1: Line 1:


Two methods to add new NPCs to the game:


Best method is through the webconsole. NPCs -> Create NPC
1) Through the webconsole. NPCs -> Create NPC. Used when you need to edit the data directly on the same production database. Careful because this method does not easily allow to export the NPC to another machine.
 
2) Launch the server with -ImportNPCs flag, and place in PSUnreal\Content\data\importnpc the XML files , as defined for the [[Random Generated events|Random Generated Events]]. We use the same XML format for NPCs.

Latest revision as of 15:43, 16 October 2022

Two methods to add new NPCs to the game:

1) Through the webconsole. NPCs -> Create NPC. Used when you need to edit the data directly on the same production database. Careful because this method does not easily allow to export the NPC to another machine.

2) Launch the server with -ImportNPCs flag, and place in PSUnreal\Content\data\importnpc the XML files , as defined for the Random Generated Events. We use the same XML format for NPCs.