*** Warband Refined & Enhanced Compiler Kit (W.R.E.C.K.) version 1.0.0 ***
Please report errors, problems and suggestions at http://lav.lomskih.net/wreck/
Loading module... FAILED.
MODULE `scripts` ERROR:
Traceback (most recent call last):
File "compile.py", line 109, in <module>
from module_scripts import *
File "F:\Mount and Blade - Warband\Modules\Alpujarras Wars V.4 test\code\module_scripts.py", line 35539
]),
^
SyntaxError: invalid syntax
COMPILATION FAILED.
Press any key to continue . . .
]
# modmerger_start version=201 type=2
try:
component_name = "scripts"
var_set = { "scripts" : scripts }
from modmerger import modmerge
modmerge(var_set)
except:
raise
# modmerger_end
(else_try),
(party_is_active, ":new_camp"),
(str_store_party_name, s4, ":new_camp"),
(remove_party, ":new_camp"),
(party_template_set_slot, ":bandit_template", slot_party_template_lair_party, 0),
(else_try),
(try_end),
(try_end),
]),
#JQ COMPANIONS QUICKVIEW
]
# modmerger_start version=201 type=2
try:
component_name = "scripts"
var_set = { "scripts" : scripts }
from modmerger import modmerge
modmerge(var_set)
except:
raise
# modmerger_end
NPC99 said:
ohPitchPL said:
("village_199",sf_generate,"none", "none", (0,0),(240,240),-0.5,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeC"),
("village_200",sf_generate,"none", "none", (0,0),(240,240),-0.5,"0x00000000200005000008ee3d00007f2800006a9100006095",
[],[],"outer_terrain_steppeB"),
("village_201",sf_generate,"none", "none", (0,0),(240,240),-0.5,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeD"),
("village_202",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_203",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_204",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_205",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_206",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_207",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_208",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_209",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_210",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
ok i checked the range its the same as vanilla warband i checked module_parties and it started with town 1 and ended with saltmine the new villages are decleared before salt mine so they are in range but still i have the error here is the module parties codeNPC99 said:
("village_198","Felantix", icon_village_c|pf_village, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(166.827, 15.5141),[], 211),
("village_199","Inca", icon_village_c|pf_village, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(161.325, 26.351),[], 35),
("village_200","Arta", icon_village_c|pf_village, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(169.921, 24.2639),[], 100),
("village_201","Balansat", icon_village_c|pf_village, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(136.163, -19.7775),[], 40),
("village_202","Alaior", icon_village_c|pf_village, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(186.849, 48.8256),[], 96),
("village_203","x", icon_village_c|pf_village, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(195.00000, -138.090000),[], 96), #[swycartographr] prev. coords: (-71.92, -198.43) #[swycartographr] prev. coords: (-71.17, -196.42) #[swycartographr] prev. coords: (184.1, -152.33) #[swycartographr] prev. coords: (235.5, -132.81) #[swycartographr] prev. coords: (195.3, -145.49) #[swycartographr] prev. coords: (197.68, -145.29) #[swycartographr] prev. coords: (-31.1, -123)
("village_204","y", icon_village_c|pf_village, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(194.100000, -133.000000),[], 96), #[swycartographr] prev. coords: (-52.71, -229.39) #[swycartographr] prev. coords: (-79.01, -207.42) #[swycartographr] prev. coords: (213.85, -127.1) #[swycartographr] prev. coords: (236.12, -134.69) #[swycartographr] prev. coords: (187.13, -145.84) #[swycartographr] prev. coords: (177.76, -132.42) #[swycartographr] prev. coords: (-31.1, -123)
("village_205","m", icon_village_c|pf_village, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(180.100000, -138.000000),[], 96), #[swycartographr] prev. coords: (-79, -226.63) #[swycartographr] prev. coords: (-81.21, -203.63) #[swycartographr] prev. coords: (200.13, -129.38) #[swycartographr] prev. coords: (261.25, -148.18) #[swycartographr] prev. coords: (205.12, -138.11) #[swycartographr] prev. coords: (205.07, -136.89) #[swycartographr] prev. coords: (-31.1, -123)
("village_206","z", icon_village_c|pf_village, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(197.100000, -138.000000),[], 96), #[swycartographr] prev. coords: (-61.53, -217.06) #[swycartographr] prev. coords: (-75.21, -213.64) #[swycartographr] prev. coords: (238.15, -133.74) #[swycartographr] prev. coords: (215.07, -143.46) #[swycartographr] prev. coords: (182.95, -136.49) #[swycartographr] prev. coords: (-31.1, -123)
("village_207","a", icon_village_c|pf_village, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(190.00000, -138.090000),[], 96), #[swycartographr] prev. coords: (-71.92, -198.43) #[swycartographr] prev. coords: (-71.17, -196.42) #[swycartographr] prev. coords: (184.1, -152.33) #[swycartographr] prev. coords: (235.5, -132.81) #[swycartographr] prev. coords: (195.3, -145.49) #[swycartographr] prev. coords: (197.68, -145.29) #[swycartographr] prev. coords: (-31.1, -123)
("village_208","b", icon_village_c|pf_village, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(191.100000, -133.000000),[], 96), #[swycartographr] prev. coords: (-52.71, -229.39) #[swycartographr] prev. coords: (-79.01, -207.42) #[swycartographr] prev. coords: (213.85, -127.1) #[swycartographr] prev. coords: (236.12, -134.69) #[swycartographr] prev. coords: (187.13, -145.84) #[swycartographr] prev. coords: (177.76, -132.42) #[swycartographr] prev. coords: (-31.1, -123)
("village_209","c", icon_village_c|pf_village, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(188.100000, -138.000000),[], 96), #[swycartographr] prev. coords: (-79, -226.63) #[swycartographr] prev. coords: (-81.21, -203.63) #[swycartographr] prev. coords: (200.13, -129.38) #[swycartographr] prev. coords: (261.25, -148.18) #[swycartographr] prev. coords: (205.12, -138.11) #[swycartographr] prev. coords: (205.07, -136.89) #[swycartographr] prev. coords: (-31.1, -123)
("village_2010","d", icon_village_c|pf_village, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(200.100000, -138.000000),[], 96),
("salt_mine","Salt_Mine",icon_village_a|pf_disabled|pf_is_static|pf_always_visible|pf_hide_defenders, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(14.2, -31),[]),
("four_ways_inn","Four_Ways_Inn",icon_village_a|pf_disabled|pf_is_static|pf_always_visible|pf_hide_defenders, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(4.8, -39.6),[]),
("test_scene","test_scene",icon_village_a|pf_disabled|pf_is_static|pf_always_visible|pf_hide_defenders, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(10.8, -19.6),[]),
#("test_scene","test_scene",icon_village_a|pf_is_static|pf_always_visible|pf_hide_defenders, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(10.8, -19.6),[]),
("battlefields","battlefields",pf_disabled|icon_village_a|pf_is_static|pf_always_visible|pf_hide_defenders, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(10.8, -16.6),[]),
("dhorak_keep","Dhorak_Keep",icon_town|pf_disabled|pf_is_static|pf_always_visible|pf_no_label|pf_hide_defenders, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(-50,-58),[]),
towns_begin = "p_town_1"
castles_begin = "p_castle_1"
villages_begin = "p_village_1"
towns_end = castles_begin
castles_end = villages_begin
villages_end = "p_salt_mine"
walled_centers_begin = towns_begin
walled_centers_end = castles_end
centers_begin = towns_begin
centers_end = villages_end
training_grounds_begin = "p_training_ground_1"
training_grounds_end = "p_Bridge_1"
scenes_begin = "scn_town_1_center"
scenes_end = "scn_castle_1_exterior"
spawn_points_begin = "p_zendar"
spawn_points_end = "p_spawn_points_end"
("village_198",sf_generate,"none", "none", (0,0),(240,240),-0.5,"0x000000002000050000060d76000061b90000664000003d79",
[],[],"outer_terrain_esteppe_mountains_B"),
("village_199",sf_generate,"none", "none", (0,0),(240,240),-0.5,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeC"),
("village_200",sf_generate,"none", "none", (0,0),(240,240),-0.5,"0x00000000200005000008ee3d00007f2800006a9100006095",
[],[],"outer_terrain_steppeB"),
("village_201",sf_generate,"none", "none", (0,0),(240,240),-0.5,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeD"),
("village_202",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_203",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_204",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_205",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_206",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_207",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_208",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_209",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
("village_210",sf_generate,"none", "none", (0,0),(200,200),-100,"0x000000002000050000059d670000359600004ac200003dcf",
[],[],"outer_terrain_steppeV"),
NPC99 said:
what do you mean by outside the range ?kalarhan said:
kalarhan said:
(try_for_range, ":village_no", villages_begin, villages_end),
(store_sub, ":offset", ":village_no", villages_begin),
(store_add, ":exterior_scene_no", "scn_village_1", ":offset"),
(party_set_slot,":village_no", slot_castle_exterior, ":exterior_scene_no"),
(store_add, ":store_troop_no", "trp_village_1_elder", ":offset"),
(party_set_slot,":village_no", slot_town_elder, ":store_troop_no"),
(party_set_slot,":village_no", slot_party_type, spt_village),
(party_set_slot,":village_no", slot_village_raided_by, -1),
(call_script, "script_refresh_village_defenders", ":village_no"),
(call_script, "script_refresh_village_defenders", ":village_no"),
(call_script, "script_refresh_village_defenders", ":village_no"),
(call_script, "script_refresh_village_defenders", ":village_no"),
(try_end),
(try_for_range, ":center_no", centers_begin, centers_end),
(party_set_slot, ":center_no", slot_center_last_spotted_enemy, -1),
(party_set_slot, ":center_no", slot_center_is_besieged_by, -1),
(party_set_slot, ":center_no", slot_center_last_taken_by_troop, -1),
(try_end),