Navigation Menu

Skip to content

Commit

Permalink
*Added a new MT trigger as a test for team switching
Browse files Browse the repository at this point in the history
  • Loading branch information
khamukkamu committed Jul 21, 2017
1 parent 7e88e27 commit 5306b1f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
10 changes: 10 additions & 0 deletions ModuleSystem/module_mission_templates.py
Expand Up @@ -440,6 +440,15 @@
(call_script, "script_music_set_situation_with_culture", mtf_sit_siege),
])

tld_common_siege_set_slot = (
ti_on_agent_spawn, 0, 0, [],
[
(store_trigger_param_1, ":agent_no"),
(agent_is_human, ":agent_no"),
(agent_is_alive, ":agent_no"),
(agent_set_slot, ":agent_no", slot_agent_arena_team_set,0),
])

tld_common_siege_ai_trigger_init = (
ti_before_mission_start, 0, 0,[
(assign, "$defender_team" , 0),
Expand Down Expand Up @@ -2720,6 +2729,7 @@
common_deathcam_triggers+
tld_siege_battle_scripts+[

tld_common_siege_set_slot,
tld_common_siege_start,
common_battle_tab_press,
tld_common_siege_question_answered,
Expand Down
1 change: 1 addition & 0 deletions ModuleSystem/module_scripts.py
Expand Up @@ -1891,6 +1891,7 @@ def set_item_score():
(assign, "$player_control_allies",0), #Kham - Player Control Allies global
(assign, "$show_mount_ko_message",1),#Kham - Show Horse KO Message - ON by default
(assign, "$dormant_spawn_radius", 1), #Kham - Dormant Spawn Radius initialize


#(try_for_range, ":beacon", "p_amon_din", "p_spawn_points_end"),
# (set_position_delta, -3.0,6.0,65.0),
Expand Down
3 changes: 2 additions & 1 deletion _wb/mission_templates.txt
Expand Up @@ -1847,7 +1847,7 @@ You_attack_the_walls_of_the_castle...
57 135232 256 16 4 0
58 135232 256 16 4 0
59 135232 256 16 4 0
55
56
-19 0 0 0 24 4 0 2211 1 1224979098644774912 1073741855 2 1224979098644774912 161 1073741855 2 1224979098644774912 163 1073741855 2 1224979098644774912 162 1073741855 2 1224979098644774912 220 1073741855 2 1224979098644774912 221 1073741855 2 1224979098644774912 222 1073741855 2 1224979098644774912 223 1073741855 2 1224979098644774912 224 1073741855 2 1224979098644774912 157 1073741855 2 1224979098644774912 200 1073741855 2 1224979098644774912 201 1073741855 2 1224979098644774912 197 1073741855 2 1224979098644774912 198 1073741855 2 1224979098644774912 199 1073741855 2 1224979098644774912 58 1073741855 2 1224979098644774912 204 1073741855 2 1224979098644774912 74 1073741855 2 1224979098644774912 79 1073741855 2 1224979098644774912 249 31 2 1224979098644774912 55 2387 0 3 0
1 0 0 0 26 12 1 1224979098644774912 1702 1 1224979098644774912 1704 1 1224979098644774912 1714 2 1224979098644774913 1224979098644774912 4 0 30 2 1224979098644774913 0 1720 2 1224979098644774914 1224979098644774913 2121 3 1224979098644774915 100 1224979098644774914 4 0 2147483680 2 1224979098644774915 15 2108 2 1224979098644774915 2 2120 3 1224979098644774916 100 1224979098644774915 5 0 2107 2 1224979098644774915 2 2108 2 1224979098644774915 3 2121 3 1224979098644774916 115 1224979098644774915 3 0 1718 2 1224979098644774917 1224979098644774912 2170 3 1224979098644774918 24 1224979098644774917 2122 3 1224979098644774919 1224979098644774918 2 2105 2 1224979098644774919 100 2107 2 1224979098644774916 1224979098644774919 2108 2 1224979098644774916 100 1734 2 1224979098644774912 1224979098644774916 3 0 3 0
-25 0 0 0 2 2071 1 1224979098644774912 1 2 587 1224979098644774912
Expand Down Expand Up @@ -1880,6 +1880,7 @@ You_attack_the_walls_of_the_castle...
0 0 0 11 1073741894 1 157 70 1 29 71 1 144115188075856551 4 0 31 2 144115188075856544 3 1 1 584 5 0 31 2 144115188075856544 2 2133 2 144115188075856560 1 1106 1 1585267068834415199 3 0 0
0 0 0 2 70 1 224 31 2 144115188075856544 1 11 1700 1 1224979098644774912 31 2 1224979098644774912 144115188075856543 1726 3 1224979098644774913 144115188075856543 0 2147483679 2 1224979098644774913 -1 1570 2 1224979098644774914 1224979098644774913 1073741855 2 1224979098644774914 8 1073741855 2 1224979098644774914 9 31 2 1224979098644774914 10 2133 2 144115188075856544 0 2133 2 144115188075856545 1 2001 1 144115188075856544
0 0 0 2 2147483718 1 224 31 2 144115188075856545 1 3 2133 2 144115188075856544 1 2133 2 144115188075856545 0 2001 1 144115188075856544
-25 0 0 0 4 2071 1 1224979098644774912 1704 1 1224979098644774912 1702 1 1224979098644774912 505 3 1224979098644774912 7 0
-19 0 0 0 12 1796 3 0 2 1 1796 3 0 4 1 1796 3 4 2 1 1796 3 1 3 1 1796 3 1 5 1 1796 3 5 3 1 1796 3 6 0 1 1796 3 6 2 1 1796 3 6 4 1 2133 2 144115188075856128 -1 1 1 219 1 1 220
-21 0 0 0 19 4 0 31 2 144115188075856122 1 1 1 277 1907 1 0 5 0 1006 0 2133 2 144115188075856121 1 2320 2 5 216172782113784348 1 3 202 10 20 2133 2 144115188075855968 -1 1906 1 -1 1 1 277 1907 1 0 5 0 1 1 138 1121 1 216172782113783952 5 0 1106 1 216172782113783956 3 0
-8 0 0 0 16 2071 1 1224979098644774912 31 2 1224979098644774912 0 2133 2 144115188075856121 0 1700 1 1224979098644774913 1770 2 1224979098644774914 1224979098644774913 4 0 2147483679 2 144115188075856131 1224979098644774914 2147483679 2 144115188075856133 1224979098644774914 2147483679 2 144115188075856135 1224979098644774914 2320 2 5 216172782113783956 5 0 2320 2 5 216172782113784348 1 3 202 5 20 3 0 1 1 277 1907 1 0
Expand Down
3 changes: 2 additions & 1 deletion mission_templates.txt
Expand Up @@ -1460,7 +1460,7 @@ You_attack_the_walls_of_the_castle...
57 135232 256 16 4 0
58 135232 256 16 4 0
59 135232 256 16 4 0
35
36
0 0 100000000 0 6 2133 2 144115188075856114 0 1799 2 1 2 726 2 144115188075856160 1 727 2 144115188075856161 1 726 2 144115188075856162 2 727 2 144115188075856163 2
0 4 100000000 2 1006 0 31 2 144115188075856114 0 1 2133 2 144115188075856114 1
0 0 0 9 31 2 144115188075856114 1 1073741897 1 0 1073741896 1 0 1073741897 1 1 1073741896 1 1 1073741897 1 2 1073741896 1 2 1073741897 1 3 72 1 3 29 1700 1 1224979098644774912 1709 2 1 1224979098644774912 4 0 1073741897 1 0 72 1 0 721 2 1 18 3 0 4 0 1073741897 1 1 72 1 1 721 2 1 -18 3 0 4 0 1073741897 1 2 72 1 2 720 2 1 -13 3 0 4 0 1073741897 1 3 72 1 3 720 2 1 13 3 0 726 2 1224979098644774913 1 727 2 1224979098644774914 1 4 0 33 3 1224979098644774913 144115188075856160 144115188075856162 33 3 1224979098644774914 144115188075856161 144115188075856163 1711 2 1224979098644774912 1 3 0
Expand All @@ -1473,6 +1473,7 @@ You_attack_the_walls_of_the_castle...
0.3 0 0 1 32 2 144115188075856115 0 179 12 1 1224979098644774912 1702 1 1224979098644774912 1704 1 1224979098644774912 1718 2 72057594037927936 1224979098644774912 1506 2 72057594037927936 72057594037927936 31 2 72057594037927936 10 1770 2 1224979098644774913 1224979098644774912 1710 2 1 1224979098644774912 2133 2 1224979098644774914 1000000 12 1 1224979098644774915 1702 1 1224979098644774915 1704 1 1224979098644774915 1770 2 1224979098644774916 1224979098644774915 1788 2 1224979098644774916 1224979098644774913 1772 2 1224979098644774917 1224979098644774915 2147483679 2 1224979098644774917 2 1710 2 0 1224979098644774915 710 3 1224979098644774918 0 1 32 2 1224979098644774914 1224979098644774918 2133 2 1224979098644774914 1224979098644774918 700 2 2 0 3 0 4 0 1073741855 2 1224979098644774914 1000000 2147483678 2 1224979098644774914 500 1735 1 1224979098644774912 5 0 1730 3 1224979098644774912 2 1 3 0 525 3 1224979098644774919 1224979098644774912 13 4 0 2147483679 2 1224979098644774919 0 2120 3 1224979098644774919 1224979098644774919 1 5 0 1700 1 1224979098644774920 4 0 31 2 1224979098644774920 1224979098644774912 4 0 70 1 224 2133 2 1224979098644774919 1 3 0 5 0 2136 3 1224979098644774921 1 101 2147483680 2 1224979098644774921 10 1710 2 1 1224979098644774912 1770 2 1224979098644774913 1224979098644774912 12 1 1224979098644774922 31 2 1224979098644774919 0 1704 1 1224979098644774922 1702 1 1224979098644774922 1770 2 1224979098644774923 1224979098644774922 1788 2 1224979098644774923 1224979098644774913 1710 2 2 1224979098644774922 710 3 1224979098644774918 1 2 2136 3 72057594037927936 0 61 2106 2 1224979098644774918 72057594037927936 2147483678 2 1224979098644774918 300 2147484361 2 2 1 2133 2 1224979098644774919 1 3 0 3 0 3 0 1720 3 1224979098644774924 1224979098644774912 1 525 3 1224979098644774925 1224979098644774912 15 4 0 4 0 2147483678 2 1224979098644774925 1 2133 2 1224979098644774925 1224979098644774924 3 0 2121 3 1224979098644774926 1224979098644774925 1224979098644774924 30 2 1224979098644774926 55 2133 2 1224979098644774919 -4 3 0 505 3 1224979098644774912 13 1224979098644774919 505 3 1224979098644774912 15 1224979098644774924 4 0 31 2 1224979098644774919 1 2136 3 1224979098644774927 1 4 4 0 31 2 1224979098644774927 1 1740 2 1224979098644774912 314 5 0 31 2 1224979098644774927 2 1740 2 1224979098644774912 315 5 0 2133 2 1224979098644774927 3 1740 2 1224979098644774912 316 3 0 1750 2 1224979098644774912 187 505 3 1224979098644774912 14 1224979098644774927 5 0 31 2 1224979098644774919 3 505 3 1224979098644774912 13 -2 525 3 1224979098644774928 1224979098644774912 14 4 0 31 2 1224979098644774928 1 1740 2 1224979098644774912 311 5 0 31 2 1224979098644774928 2 1740 2 1224979098644774912 312 5 0 1740 2 1224979098644774912 313 3 0 1750 2 1224979098644774912 200 1710 2 1 1224979098644774912 12 1 1224979098644774922 1702 1 1224979098644774922 2147483679 2 1224979098644774912 1224979098644774922 1710 2 2 1224979098644774922 2147484361 2 2 1 710 3 1224979098644774918 1 2 2147483678 2 1224979098644774918 300 2133 2 1224979098644774929 1 4 0 30 2 1224979098644774928 3 700 2 3 1 725 2 3 75 713 2 2 3 725 2 3 -150 713 2 2 3 2133 2 1224979098644774929 0 3 0 31 2 1224979098644774929 1 1718 2 72057594037927936 1224979098644774922 1506 2 1224979098644774930 72057594037927936 1770 2 72057594037927937 1224979098644774922 1770 2 72057594037927938 1224979098644774912 3221225503 2 1224979098644774930 10 1788 2 72057594037927937 72057594037927938 4 0 1704 1 1224979098644774922 1750 2 1224979098644774922 118 1722 2 1224979098644774912 1224979098644774922 4 0 30 2 1224979098644774928 3 1722 2 1224979098644774912 1224979098644774922 3 0 4 0 31 2 1224979098644774928 2 725 2 2 45 5 0 31 2 1224979098644774928 1 725 2 2 -45 3 0 4 0 4 0 31 2 1224979098644774930 10 1740 2 1224979098644774922 293 5 0 4 0 713 2 1 2 1740 2 1224979098644774922 322 5 0 2133 2 1224979098644774931 0 4 0 31 2 1224979098644774928 2 2133 2 1224979098644774931 1 5 0 31 2 1224979098644774928 3 2136 3 1224979098644774931 0 2 3 0 4 0 31 2 1224979098644774931 1 1740 2 1224979098644774922 321 5 0 1740 2 1224979098644774922 320 3 0 3 0 2136 3 72057594037927936 1 5 1743 2 1224979098644774922 72057594037927936 3 0 3 0 5 0 1721 2 1224979098644774922 0 1722 2 1224979098644774912 1224979098644774922 3 0 3 0 3 0 3 0
0.1 0 0 1 31 2 144115188075856029 47 5 12 1 1224979098644774912 1718 2 1224979098644774913 1224979098644774912 31 2 1224979098644774913 538 1 2 188 1224979098644774912 3 0
0.1 0 0 1 33 3 144115188075856029 18 96 5 12 1 1224979098644774912 1718 2 1224979098644774913 1224979098644774912 31 2 1224979098644774913 917 1 2 188 1224979098644774912 3 0
-25 0 0 0 4 2071 1 1224979098644774912 1704 1 1224979098644774912 1702 1 1224979098644774912 505 3 1224979098644774912 7 0
-19 0 0 0 12 1796 3 0 2 1 1796 3 0 4 1 1796 3 4 2 1 1796 3 1 3 1 1796 3 1 5 1 1796 3 5 3 1 1796 3 6 0 1 1796 3 6 2 1 1796 3 6 4 1 2133 2 144115188075856128 -1 1 1 219 1 1 220
-21 0 0 0 19 4 0 31 2 144115188075856122 1 1 1 277 1907 1 0 5 0 1006 0 2133 2 144115188075856121 1 2320 2 5 216172782113784348 1 3 202 10 20 2133 2 144115188075855968 -1 1906 1 -1 1 1 277 1907 1 0 5 0 1 1 138 1121 1 216172782113783952 5 0 1106 1 216172782113783956 3 0
-8 0 0 0 16 2071 1 1224979098644774912 31 2 1224979098644774912 0 2133 2 144115188075856121 0 1700 1 1224979098644774913 1770 2 1224979098644774914 1224979098644774913 4 0 2147483679 2 144115188075856131 1224979098644774914 2147483679 2 144115188075856133 1224979098644774914 2147483679 2 144115188075856135 1224979098644774914 2320 2 5 216172782113783956 5 0 2320 2 5 216172782113784348 1 3 202 5 20 3 0 1 1 277 1907 1 0
Expand Down

0 comments on commit 5306b1f

Please sign in to comment.