Help with new parties/towns?

正在查看此主题的用户

Frankmuddy

Veteran
Hey folks. I'm trying to add three new locations to the map. Eventually they'll be Universities and serve as a hub for less combat oriented character progression options, but for the time being I'm just trying to work out how to get a new town on the map. I've found the bit in the Parties file where it defines the town's behaviors and location. What other files do I need to modify when adding a new location to the map? Where do I add the scene information?
 
Some info (may not be completed):

1- You need to be able to specify the coordination of the center on the map. I use to be able to do this with the map editor, but I don't know if it still work for WB.

2- Scene: you can create the entirely new scene with in game edit mode. Or take an easier path by duplicate one or more of the existing scene then just rename and edit it. All of the scene are stored in Modules\Native\SceneObj. If you have created your own mod folder by copying and rename Native, then all scene should be in Modules\Your Mod\SceneObj. Towns have 9 scenes, castles have 3 and villages have 1. They all name like scn_town_* or scn_castle_* or scn_village_*. Just copy what you want then rename it and put it in the same folder.

3- Edit module_scenses: if you use a copied scene as above, then just copy the corresponding line for the same scene in the module and paste it at the end of the same scene section (for better organize). Rename it properly. Again, towns have 9 scenes, castles have 3 and villages have 1. Link your new scene name here. For example:
插入代码块:
  ("new_village_1",sf_generate,"none", "none", (0,0),(100,100),-100,"0x000000013007a6b20006258b00006bb8000074df00002f18",
    [],[],"outer_terrain_plain"),
The scene file in SceneObj folder must match the name in module_scenes.

4- If your new center will be of a new faction/culture, then you will need to define the new faction and culture in module_factions.

5- Assigning your new center at the start of the game: this is done in module_scripts. Look for "script_give_center_to_faction_aux". Some other center initializations may be needed. They all should be in "game_start" script.
 
in edit mode you used to be able to get coordinates by pressing ctrl+E while in edit mode

doesnt seem to work in warband so does any1 have a clue what the new command is?
 
后退
顶部 底部