Annynduir
Sergeant
Ok for the setting up of python, quick scene chooser, getting into map editor etc, please read this guide first: http://forums.taleworlds.com/index.php/topic,112508.0.html
Please also see - http://forums.taleworlds.com/index.php/topic,113298.0.html
Important with large/odd shaped castles.
I don't cover bot management in this.
Siege has a few differences to other game modes.
Entry points:
Defenders: 0 - 31
Attackers: 32-63
Flag: 66
Siege engine 1: 110 - 119
Siege engine 2: 120 - 129
Siege engine 3: 130 - 139 (edit:noticed this in the code yesterday)
Ladders: 100-109
Placing Players
Place entry points 0-31 to place defender spawn points and 32-63 for attackers.
Placing Ladders
Place the ladder against the wall, how it would look if it was raised. Use the props with "move" on the end. Place an entry point at the base of the ladder facing in the direction you would like it to lie on the floor.
Placing siege towers
Siege towers can be tricky! As with the ladders create them as how they would look on the wall they are attacking. (make sure and place the wheels facing the right way, else they'll spin backwards)
Place entry points 110-119 down for your first tower in the path you want it to follow.
Place entry points 120-129 down if you have a second tower and it will follow that path.
Place entry points 130-139 for a 3rd tower.
Siege towers and ladders will not move properly until you test the map in a playable environment!
Placing the gate
Use the portcullis prop as the gate and use winch_b as the winch. There is a (rather rubbish) script which handles linking the 2 together, it will simply open the closest gate to it.
Placing the flag
Simply create an entry point with an id of 66 and your flag will appear there for the defenders.
Testing the map
Exit the editor and save the changes. (The changes will be applied to the map you edited. You may need to go and rename the file or copy, paste, rename in your module folder.)
You need to then edit, module_scenes,module_scripts and module_strings and add your map in. If you do a search for multi_scene you'll find the relevant area for your code. Looking at other maps should make it self explanatory. You may need to copy in the height map code of the map you edited. This is the 0x09808088 number that appears in module_scenes.
After you've done that, voila, start up a server, choose siege and load up your map!
Please also see - http://forums.taleworlds.com/index.php/topic,113298.0.html
Important with large/odd shaped castles.
I don't cover bot management in this.
Siege has a few differences to other game modes.
Entry points:
Defenders: 0 - 31
Attackers: 32-63
Flag: 66
Siege engine 1: 110 - 119
Siege engine 2: 120 - 129
Siege engine 3: 130 - 139 (edit:noticed this in the code yesterday)
Ladders: 100-109
Placing Players
Place entry points 0-31 to place defender spawn points and 32-63 for attackers.
Placing Ladders
Place the ladder against the wall, how it would look if it was raised. Use the props with "move" on the end. Place an entry point at the base of the ladder facing in the direction you would like it to lie on the floor.
Placing siege towers
Siege towers can be tricky! As with the ladders create them as how they would look on the wall they are attacking. (make sure and place the wheels facing the right way, else they'll spin backwards)
Place entry points 110-119 down for your first tower in the path you want it to follow.
Place entry points 120-129 down if you have a second tower and it will follow that path.
Place entry points 130-139 for a 3rd tower.
Siege towers and ladders will not move properly until you test the map in a playable environment!
Placing the gate
Use the portcullis prop as the gate and use winch_b as the winch. There is a (rather rubbish) script which handles linking the 2 together, it will simply open the closest gate to it.
Placing the flag
Simply create an entry point with an id of 66 and your flag will appear there for the defenders.
Testing the map
Exit the editor and save the changes. (The changes will be applied to the map you edited. You may need to go and rename the file or copy, paste, rename in your module folder.)
You need to then edit, module_scenes,module_scripts and module_strings and add your map in. If you do a search for multi_scene you'll find the relevant area for your code. Looking at other maps should make it self explanatory. You may need to copy in the height map code of the map you edited. This is the 0x09808088 number that appears in module_scenes.
After you've done that, voila, start up a server, choose siege and load up your map!