Warband Scene Issues

Users who are viewing this thread

JNSSRY

Recruit
Hi guys;

I am working on a few scenes for my server and need some help. First thing for now is the teleport doors. I've searched but couldnt get exactly where i can find an explanation about it. Can u send me a link or write some explanation?
 
Teleport doors need scripting (modding). Some admin tools has those already, Adimi Tools for example.

Edit: Just noticed you probably have Adimi Tools already. In that case, put an object called castle_f_sally_door_a to the scene. Objects also have 2 variables, commonly called Var1 and Var2 (there's a text box for each which you can edit). To make the door a teleport door, give Var2 value of 0, and Var1 some other value. You also need another object that you give the same Var1 as the teleport door. Door will then teleport to the object.
 
Thank you Alene.. Worked well.



Courtney said:
You might want to seek out the guys from Golden Kingdom (GK). Whoever makes their Siege maps utilizes a lot of teleporting doors.
Thx, adimi worked..
 
Other Issue:

-First i have hosted a game from multiplayer option. (Snowy village)

-Then i have editted the scene (for exapmle adding/removing a house etc.)..

-Now i want to carry that map to my dedicated server. Because, when i start my dedicated sv still the original map is seen(Snowy village, not my editted one). But if i host a game from multiplayer option it works ok.

-How can i move this map to my dedicated sv(I run dedicated sv on my pc)?
 
AlphA-FR said:
Hello guy,
You just need to put your new .sco scene file on your scenobj dedicated server folder and replace the old one.

Thank you, it worked..


Btw i have seen in adimi tools forum fage to change the name of the scene but despite i have changed the scene name in both folders (native/ strings.txt and dedicated/native/strings.txt) scene name is still the original one.
 
I don't believe that you can change basic scene for Native, you may add new of them to edit their new name like blank_scene .
Try to edit new one , rename it as "scn_multi_scene_25"

Open module_strings.py :
search
Code:
#multiplayer scene names
Then, add your own line
Code:
("multi_scene_25", "Map name"),


Open module_scripts.py
search
Code:
# script_multiplayer_fill_map_game_types
Add you scene for any gamemode you want :
Code:
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin + 11, "scn_multi_scene_25"),
Increase the line :
Code:
 (assign, ":num_maps", 17),
for instance : if your num_maps is 18 add 1 more, so write +19

To conclude open module_scenes.py and add again a line for you map with terrain code :
Code:
 ("multi_scene_25",sf_generate,"none", "none", (0,0),(100,100),-100,"0x000000003009cde1000599630000423b00005756000000af",
    [],[],"outer_terrain_plain"),

Close, compile and run your module, host a new server and search your map.

Regards,
AlphA

 
AlphA-FR said:
I don't believe that you can change basic scene for Native, you may add new of them to edit their new name like blank_scene .
Try to edit new one , rename it as "scn_multi_scene_25"

Open module_strings.py :
search
Code:
#multiplayer scene names
Then, add your own line
Code:
("multi_scene_25", "Map name"),


Open module_scripts.py
search
Code:
# script_multiplayer_fill_map_game_types
Add you scene for any gamemode you want :
Code:
(troop_set_slot, "trp_multiplayer_data", multi_data_maps_for_game_type_begin + 11, "scn_multi_scene_25"),
Increase the line :
Code:
 (assign, ":num_maps", 17),
for instance : if your num_maps is 18 add 1 more, so write +19

To conclude open module_scenes.py and add again a line for you map with terrain code :
Code:
 ("multi_scene_25",sf_generate,"none", "none", (0,0),(100,100),-100,"0x000000003009cde1000599630000423b00005756000000af",
    [],[],"outer_terrain_plain"),

Close, compile and run your module, host a new server and search your map.

Regards,
AlphA


Thx for your valuable post.. I dont know why string.txt didn't worked first but after restarting my pc, it worked.. I will keep in mind ur post if i have any problem with a scene name again..
 
Back
Top Bottom