#Start of Make NPC companions Squire
[anyone|plyr, "squire_npc_start", [(is_between,"$g_talk_troop","trp_npc1","trp_kingdom_1_lord"),(eq, "$knighthood_player_achieved",1),(eq, "$npc_squire",0),(gt, "$g_talk_troop_effective_relation", 10)], "My friend, as a knight, I can take a squire. Would you like to be my squire?", "squire_npc_answer_yes", [(assign, "$npc_squire",1)]],
[anyone, "squire_npc_answer_yes", [],"You honor me, {my lord/my lady}. I will strive to be worthy.", "close_window", [(val_add, "$g_talk_troop_effective_relation", 10)]],
#End of Make NPC companions Squire
where is the dialog that calls "squire_npc_start" ?Antonis said:Hey guys, I have this error:
# 2) Starting dialog-state:
# During a dialog there's always an active Dialog-state.
# A dialog-line's starting dialog state must be the same as the active dialog state, for the line to be a possible candidate.
# If the dialog is started by meeting a party on the map, initially, the active dialog state is "start"
# If the dialog is started by speaking to an NPC in a town, initially, the active dialog state is "start"
# If the dialog is started by helping a party defeat another party, initially, the active dialog state is "party_relieved"
# If the dialog is started by liberating a prisoner, initially, the active dialog state is "prisoner_liberated"
# If the dialog is started by defeating a party led by a hero, initially, the active dialog state is "enemy_defeated"
# If the dialog is started by a trigger, initially, the active dialog state is "event_triggered"
First, learn how to use spoilers. Second, the items cannot be found, so they might be commented out in module_items. Have a check there.usernamenotfound said:Hello, i have just installed mod system and i get this error:
could someone help please?Initializing...
Compiling all global variables...
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Exporting map icons...
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Exporting faction data...
Exporting item data...
Exporting scene data...
Exporting troops data
Exporting particle data...
Exporting scene props...
Exporting tableau materials data...
Exporting presentations...
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Exporting party_template data...
Exporting parties
Exporting quest data...
Exporting info_page data...
Exporting scripts...
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_javelin_bow_ammo
ERROR: Illegal Identifier:itm_javelin_bow_ammo
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_javelin_bow_ammo
ERROR: Illegal Identifier:itm_javelin_bow_ammo
Error: Unable to find object:itm_running_boots
ERROR: Illegal Identifier:itm_running_boots
Error: Unable to find object:itm_power_gloves
ERROR: Illegal Identifier:itm_power_gloves
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_javelin_bow_ammo
ERROR: Illegal Identifier:itm_javelin_bow_ammo
Error: Unable to find object:itm_javelin_bow_ammo
ERROR: Illegal Identifier:itm_javelin_bow_ammo
Error: Unable to find object:itm_running_boots
ERROR: Illegal Identifier:itm_running_boots
Error: Unable to find object:itm_power_gloves
ERROR: Illegal Identifier:itm_power_gloves
Error: Unable to find object:itm_kicking_boots
ERROR: Illegal Identifier:itm_kicking_boots
Exporting mission_template data...
Error: Unable to find object:itm_knockdown_mace
ERROR: Illegal Identifier:itm_knockdown_mace
Error: Unable to find object:itm_blood_drain_throwing_knives
ERROR: Illegal Identifier:itm_blood_drain_throwing_knives
Error: Unable to find object:itm_instakill_knife
ERROR: Illegal Identifier:itm_instakill_knife
Error: Unable to find object:itm_backstabber
ERROR: Illegal Identifier:itm_backstabber
Error: Unable to find object:itm_disarming_throwing_axe
ERROR: Illegal Identifier:itm_disarming_throwing_axe
Error: Unable to find object:itm_kicking_boots
ERROR: Illegal Identifier:itm_kicking_boots
Error: Unable to find object:itm_doom_javelins
ERROR: Illegal Identifier:itm_doom_javelins
Error: Unable to find object:itm_team_change_dart
ERROR: Illegal Identifier:itm_team_change_dart
Error: Unable to find object:itm_weak_beserker_dart
ERROR: Illegal Identifier:itm_weak_beserker_dart
Error: Unable to find object:itm_restore_health_armour
ERROR: Illegal Identifier:itm_restore_health_armour
Exporting game menus data...
exporting simple triggers...
exporting triggers...
exporting dialogs...
Checking global variable usages...
Exporting postfx_params...
______________________________
Script processing has ended.
Press any key to exit. . .
[Bcw]Btm_Earendil said:First, learn how to use spoilers. Second, the items cannot be found, so they might be commented out in module_items. Have a check there.usernamenotfound said:Hello, i have just installed mod system and i get this error:
could someone help please?Initializing...
Compiling all global variables...
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Exporting map icons...
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Exporting faction data...
Exporting item data...
Exporting scene data...
Exporting troops data
Exporting particle data...
Exporting scene props...
Exporting tableau materials data...
Exporting presentations...
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Exporting party_template data...
Exporting parties
Exporting quest data...
Exporting info_page data...
Exporting scripts...
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_javelin_bow_ammo
ERROR: Illegal Identifier:itm_javelin_bow_ammo
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_javelin_bow_ammo
ERROR: Illegal Identifier:itm_javelin_bow_ammo
Error: Unable to find object:itm_running_boots
ERROR: Illegal Identifier:itm_running_boots
Error: Unable to find object:itm_power_gloves
ERROR: Illegal Identifier:itm_power_gloves
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_javelin_bow_ammo
ERROR: Illegal Identifier:itm_javelin_bow_ammo
Error: Unable to find object:itm_javelin_bow_ammo
ERROR: Illegal Identifier:itm_javelin_bow_ammo
Error: Unable to find object:itm_running_boots
ERROR: Illegal Identifier:itm_running_boots
Error: Unable to find object:itm_power_gloves
ERROR: Illegal Identifier:itm_power_gloves
Error: Unable to find object:itm_kicking_boots
ERROR: Illegal Identifier:itm_kicking_boots
Exporting mission_template data...
Error: Unable to find object:itm_knockdown_mace
ERROR: Illegal Identifier:itm_knockdown_mace
Error: Unable to find object:itm_blood_drain_throwing_knives
ERROR: Illegal Identifier:itm_blood_drain_throwing_knives
Error: Unable to find object:itm_instakill_knife
ERROR: Illegal Identifier:itm_instakill_knife
Error: Unable to find object:itm_backstabber
ERROR: Illegal Identifier:itm_backstabber
Error: Unable to find object:itm_disarming_throwing_axe
ERROR: Illegal Identifier:itm_disarming_throwing_axe
Error: Unable to find object:itm_kicking_boots
ERROR: Illegal Identifier:itm_kicking_boots
Error: Unable to find object:itm_doom_javelins
ERROR: Illegal Identifier:itm_doom_javelins
Error: Unable to find object:itm_team_change_dart
ERROR: Illegal Identifier:itm_team_change_dart
Error: Unable to find object:itm_weak_beserker_dart
ERROR: Illegal Identifier:itm_weak_beserker_dart
Error: Unable to find object:itm_restore_health_armour
ERROR: Illegal Identifier:itm_restore_health_armour
Exporting game menus data...
exporting simple triggers...
exporting triggers...
exporting dialogs...
Checking global variable usages...
Exporting postfx_params...
______________________________
Script processing has ended.
Press any key to exit. . .
I am pretty sure they are in the module_items last module system version since I saw them there while working with it and I didn't implement them by myself ^^usernamenotfound said:[Bcw]Btm_Earendil said:First, learn how to use spoilers. Second, the items cannot be found, so they might be commented out in module_items. Have a check there.usernamenotfound said:Hello, i have just installed mod system and i get this error:
could someone help please?Initializing...
Compiling all global variables...
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Exporting map icons...
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Exporting faction data...
Exporting item data...
Exporting scene data...
Exporting troops data
Exporting particle data...
Exporting scene props...
Exporting tableau materials data...
Exporting presentations...
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Exporting party_template data...
Exporting parties
Exporting quest data...
Exporting info_page data...
Exporting scripts...
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_ccoop_new_items_end
ERROR: Illegal Identifier:itm_ccoop_new_items_end
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_javelin_bow_ammo
ERROR: Illegal Identifier:itm_javelin_bow_ammo
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_javelin_bow_ammo
ERROR: Illegal Identifier:itm_javelin_bow_ammo
Error: Unable to find object:itm_running_boots
ERROR: Illegal Identifier:itm_running_boots
Error: Unable to find object:itm_power_gloves
ERROR: Illegal Identifier:itm_power_gloves
Error: Unable to find object:itm_javelin_bow
ERROR: Illegal Identifier:itm_javelin_bow
Error: Unable to find object:itm_javelin_bow_ammo
ERROR: Illegal Identifier:itm_javelin_bow_ammo
Error: Unable to find object:itm_javelin_bow_ammo
ERROR: Illegal Identifier:itm_javelin_bow_ammo
Error: Unable to find object:itm_running_boots
ERROR: Illegal Identifier:itm_running_boots
Error: Unable to find object:itm_power_gloves
ERROR: Illegal Identifier:itm_power_gloves
Error: Unable to find object:itm_kicking_boots
ERROR: Illegal Identifier:itm_kicking_boots
Exporting mission_template data...
Error: Unable to find object:itm_knockdown_mace
ERROR: Illegal Identifier:itm_knockdown_mace
Error: Unable to find object:itm_blood_drain_throwing_knives
ERROR: Illegal Identifier:itm_blood_drain_throwing_knives
Error: Unable to find object:itm_instakill_knife
ERROR: Illegal Identifier:itm_instakill_knife
Error: Unable to find object:itm_backstabber
ERROR: Illegal Identifier:itm_backstabber
Error: Unable to find object:itm_disarming_throwing_axe
ERROR: Illegal Identifier:itm_disarming_throwing_axe
Error: Unable to find object:itm_kicking_boots
ERROR: Illegal Identifier:itm_kicking_boots
Error: Unable to find object:itm_doom_javelins
ERROR: Illegal Identifier:itm_doom_javelins
Error: Unable to find object:itm_team_change_dart
ERROR: Illegal Identifier:itm_team_change_dart
Error: Unable to find object:itm_weak_beserker_dart
ERROR: Illegal Identifier:itm_weak_beserker_dart
Error: Unable to find object:itm_restore_health_armour
ERROR: Illegal Identifier:itm_restore_health_armour
Exporting game menus data...
exporting simple triggers...
exporting triggers...
exporting dialogs...
Checking global variable usages...
Exporting postfx_params...
______________________________
Script processing has ended.
Press any key to exit. . .
Nope, they're not in module_items.
It's usually defined in header_common.pyKortlcha said:Hi,
I want to you this: " agent_get_bone_position " code, but I don't know where are the bone values written in. Where can I find these bone values?
#Human bones
hb_abdomen = 0
hb_thigh_l = 1
hb_calf_l = 2
hb_foot_l = 3
hb_thigh_r = 4
hb_calf_r = 5
hb_foot_r = 6
hb_spine = 7
hb_thorax = 8
hb_head = 9
hb_shoulder_l = 10
hb_upperarm_l = 11
hb_forearm_l = 12
hb_hand_l = 13
hb_item_l = 14
hb_shoulder_r = 15
hb_upperarm_r = 16
hb_forearm_r = 17
hb_hand_r = 18
hb_item_r = 19
#Horse bones
hrsb_pelvis = 0
hrsb_spine_1 = 1
hrsb_spine_2 = 2
hrsb_spine_3 = 3
hrsb_neck_1 = 4
hrsb_neck_2 = 5
hrsb_neck_3 = 6
hrsb_head = 7
hrsb_l_clavicle = 8
hrsb_l_upper_arm = 9
hrsb_l_forearm = 10
hrsb_l_hand = 11
hrsb_l_front_hoof = 12
hrsb_r_clavicle = 13
hrsb_r_upper_arm = 14
hrsb_r_forearm = 15
hrsb_r_hand = 16
hrsb_r_front_hoof = 17
hrsb_l_thigh = 18
hrsb_l_calf = 19
hrsb_l_foot = 20
hrsb_l_back_hoof = 21
hrsb_r_thigh = 22
hrsb_r_calf = 23
hrsb_r_foot = 24
hrsb_r_back_hoof = 25
hrsb_tail_1 = 26
hrsb_tail_2 = 27
Dj_FRedy said:Those items belong to the multiplayer's 'invasion mode' and are in the latest version of ModSys. What I don't understand is how you can have 'module_scripts' with the 'invasion mode' scripts and not have 'module_items' with those items, mmm, very strange.
Download the latest version again and be sure to check 'module_items', all items that now give id ERROR are at the end of the file.
Download page (other downloads section):
https://www.taleworlds.com/en/Games/Warband/Download
usernamenotfound said:I'm playing on steam,it SHOULD auto update the game for the latest version 99% sure.
Maybe read the beginner tutorials, @usernamenotfoundkalarhan said:usernamenotfound said:I'm playing on steam,it SHOULD auto update the game for the latest version 99% sure.
they are talking about the download of the game CODE, as in, the modsys, not the actual game. That doesnt come with your Steam installation
http://download.taleworlds.com/mb_warband_module_system_1171.zip
Mooninite said:Is there an itemkinds editor that actually works with the current version of warband (1.174)?
Archevious said:This is a script I found from Cruger, props to dzorro for fixing it:
Faction Patrols
Go into module_triggers.py, and uncomment this:
Code:## (try_begin), ## (store_random_in_range, ":random_no", 0, 100), ## (lt, ":random_no", 10), ## (call_script, "script_create_kingdom_party_if_below_limit", ":cur_kingdom", spt_patrol), ## (try_end),
then go to module_scripts.py and uncomment this:
Code:## (eq, ":party_type", spt_patrol), ## (assign, ":party_count_limit", 1), ## (else_try),
and this
Code:## (eq, ":party_type", spt_patrol), ## (assign, ":party_template", "pt_patrol_party"), # (assign, ":party_name_str", "str_s7_patrol"), <---- keep this outcommented ## (else_try),
Also, uncomment this in module_constants.py:
Code:spt_patrol = 7
And you have faction patrols.
(eq, ":party_type", spt_kingdom_patrol),
(try_begin),
# (neq, ":faction_no", "fac_player_supporters_faction"),
(is_between, ":faction_no", npc_kingdoms_begin, npc_kingdoms_end),
(party_get_slot, ":reinforcement_faction", ":spawn_center", slot_center_original_faction),
(faction_get_slot, ":reinforcements_a", ":reinforcement_faction", slot_faction_reinforcements_a),
(faction_get_slot, ":reinforcements_b", ":reinforcement_faction", slot_faction_reinforcements_b),
(try_end),
(party_add_template, ":result", ":reinforcements_a"),
(party_add_template, ":result", ":reinforcements_a"),
(party_add_template, ":result", ":reinforcements_b"),
(party_set_ai_behavior,":result",ai_bhvr_patrol_party),
(else_try),
...Caravan stuff follow next
,