Check the Modopedia V2.
(24,
[
(store_current_day, ":cur_day"),
(try_for_range, ":village_no", "p_pretender_spawn_point_1", "p_pretender_spawn_point_1"),
(eq, ":cur_day", 2),
(call_script, "script_create_kingdom_hero_party", "trp_kingdom_1_pretender", ":village_no"),
(troop_set_slot, "trp_kingdom_1_pretender", slot_troop_wealth, 8000),
(call_script, "script_diplomacy_start_war_between_kingdoms", "fac_kingdom_1_rebels", "fac_kingdom_1", 1),
(try_for_range, ":troop_no", "trp_knight_1r_1", "trp_knight_1r_4"),
(troop_slot_eq, ":troop_no", slot_troop_occupation, slto_kingdom_hero),
#(troop_slot_eq, ":troop_no", slot_troop_is_prisoner, 0),
(neg|troop_slot_ge, ":troop_no", slot_troop_prisoner_of_party, 0),
(neg|troop_slot_ge, ":troop_no", slot_troop_leaded_party, 1),
(call_script, "script_create_kingdom_hero_party", ":troop_no", ":village_no"),
(troop_set_slot, ":troop_no", slot_troop_wealth, 4000),
(try_end),
]),
(try_begin),
(neq, ":troop_no", "trp_player"),
(neg|is_between, ":troop_faction", kingdoms_begin, kingdoms_end),
(neg|is_between, ":troop_no", companions_begin, companions_end),
(neg|is_between, ":troop_no", pretenders_begin, pretenders_end),
(try_begin),
(eq, ":note_index", 0),
(str_store_string, s0, "str_s54_has_left_the_realm"),
(set_trigger_result, 1),
(else_try),
(str_clear, s0),
(this_or_next|eq, ":note_index", 1),
(eq, ":note_index", 2),
(set_trigger_result, 1),
(try_end),
Somebody said:The relevant code portion is here
Either modify the range check above, or just make their notes unavailable (troop_set_note_available) until they actually appear.Code:(try_begin), (neq, ":troop_no", "trp_player"), (neg|is_between, ":troop_faction", kingdoms_begin, kingdoms_end), (neg|is_between, ":troop_no", companions_begin, companions_end), (neg|is_between, ":troop_no", pretenders_begin, pretenders_end), (try_begin), (eq, ":note_index", 0), (str_store_string, s0, "str_s54_has_left_the_realm"), (set_trigger_result, 1), (else_try), (str_clear, s0), (this_or_next|eq, ":note_index", 1), (eq, ":note_index", 2), (set_trigger_result, 1), (try_end),
(try_begin),
(ge, ":item_id", 0), #might be -1 for horses etc.
(store_sub, ":item_slot", ":i_item", slot_player_cur_selected_item_indices_begin),
(player_add_spawn_item, ":player_no", ":item_slot", ":item_id"),
(try_begin),
(eq, ":item_slot", ek_body), #ek_body is the slot for armor
(assign, ":armor_bought", 1),
(else_try),
(eq, ":item_slot", ek_gloves), #ek_body is the slot for armor
(assign, ":gloves_bought", 1),
(else_try),
(eq, ":item_slot", ek_foot), #ek_body is the slot for armor
(assign, ":foot_bought", 1),
(else_try),
(eq, ":item_slot", ek_head), #ek_body is the slot for armor
(assign, ":head_bought", 1),
(try_end),
(try_end),
(try_end),
(try_begin),
(eq, ":armor_bought", 0),
(assign, ":end_cond", all_items_end),
(try_for_range, ":i_new_item", all_items_begin, ":end_cond"),
(this_or_next|item_slot_eq, ":i_new_item", slot_item_multiplayer_item_class, multi_item_class_type_light_armor),
(this_or_next|item_slot_eq, ":i_new_item", slot_item_multiplayer_item_class, multi_item_class_type_medium_armor),
(item_slot_eq, ":i_new_item", slot_item_multiplayer_item_class, multi_item_class_type_heavy_armor),
(call_script, "script_cf_multiplayer_is_item_default_for_troop", ":i_new_item", ":player_troop"),
(assign, ":end_cond", 0), #break
(player_add_spawn_item, ":player_no", ek_body, ":i_new_item"), #ek_body is the slot for armor
(try_end),
(try_end),
(try_begin),
(eq, ":head_bought", 0),
(assign, ":end_cond", all_items_end),
(try_for_range, ":i_new_item", all_items_begin, ":end_cond"),
(this_or_next|item_slot_eq, ":i_new_item", slot_item_multiplayer_item_class, multi_item_class_type_heavy_helm),
(item_slot_eq, ":i_new_item", slot_item_multiplayer_item_class, multi_item_class_type_light_helm),
(call_script, "script_cf_multiplayer_is_item_default_for_troop", ":i_new_item", ":player_troop"),
(assign, ":end_cond", 0), #break
(player_add_spawn_item, ":player_no", ek_head, ":i_new_item"), #ek_body is the slot for armor
(try_end),
(try_end),
(try_begin),
(eq, ":gloves_bought", 0),
(assign, ":end_cond", all_items_end),
(try_for_range, ":i_new_item", all_items_begin, ":end_cond"),
(item_slot_eq, ":i_new_item", slot_item_multiplayer_item_class, multi_item_class_type_glove),
(call_script, "script_cf_multiplayer_is_item_default_for_troop", ":i_new_item", ":player_troop"),
(assign, ":end_cond", 0), #break
(player_add_spawn_item, ":player_no", ek_gloves, ":i_new_item"), #ek_body is the slot for armor
(try_end),
(try_end),
(try_begin),
(eq, ":foot_bought", 0),
(assign, ":end_cond", all_items_end),
(try_for_range, ":i_new_item", all_items_begin, ":end_cond"),
(this_or_next|item_slot_eq, ":i_new_item", slot_item_multiplayer_item_class, multi_item_class_type_heavy_foot),
(item_slot_eq, ":i_new_item", slot_item_multiplayer_item_class, multi_item_class_type_light_foot),
(call_script, "script_cf_multiplayer_is_item_default_for_troop", ":i_new_item", ":player_troop"),
(assign, ":end_cond", 0), #break
(player_add_spawn_item, ":player_no", ek_foot, ":i_new_item"), #ek_body is the slot for armor
(try_end),
(try_end),
Patta said:At least you have messed up something, yes. For me i had for example once that the bandit attacking me at the beginning was a swadian knight... he was hard to beat So just undo your last changes and take a look at what you did wrong.
Presuming you mean that it works now, many things might affect what sort of value local variables start as; I would guess that it was just random chance, seeming to work one time and not the other.Patta said:no, i forgot that. But well, why did it work on a local host without that?
TheWhiteHand said:how does one add a custom made map to the native lists of maps?
(without removing any of the other custom made maps made by other people)
Probably you mean a scene by map?TheWhiteHand said:how does one add a custom made map to the native lists of maps?
(without removing any of the other custom made maps made by other people)
Nameless Warrior said:Hopefully the heroes on here can help me with my last final issue.
On the last page I was talking about a compilation problem on about 5000 new lines of code. After a few hours of checking and changing and some good advice on here I got it sorted. I now compiles perfectly but when I try and load it up I get an unspecific RGL Error when the loadup bar reaches "Load game settings".
Here is the rgl log
Processing Ini File {
Module_name = Calradia
Num Hints = 12
Setting Map Min X = -200.000000
Setting Map Max X = 200.000000
Setting Map Min Y = -199.022522
Setting Map Max Y = 199.971085
Setting Time Multiplier = 0.250000
Setting Seeing Range Multiplier = 6.500000
Setting Track Spotting Multiplier = 0.800000
Setting player_wounded_treshold = 5.000000
Setting hero_wounded_treshold = 15.000000
Setting Skill Prisoner Management Bonus = 5
Setting Skill Leadership Bonus = 3
Setting Base Companion Limit = 20
Setting player_xp_multiplier = 2.000000
Setting hero_xp_multiplier = 2.000000
Setting regulars_xp_multiplier = 3.000000
Setting damage_interrupt_attack_treshold = 3.000000
Setting damage_interrupt_attack_treshold_mp = 1.000000
Setting armor_soak_factor_against_cut = 0.800000
Setting armor_soak_factor_against_pierce = 0.650000
Setting armor_soak_factor_against_blunt = 0.500000
Setting armor_reduction_factor_against_cut = 1.000000
Setting armor_reduction_factor_against_pierce = 0.500000
Setting armor_reduction_factor_against_blunt = 0.750000
Setting horse_charge_damage_multiplier = 1.000000
Setting couched_lance_damage_multiplier = 0.650000
Setting fall_damage_multiplier = 1.000000
Setting shield_penetration_offset = 30.000000
Setting shield_penetration_factor = 3.000000
Setting missile_damage_speed_power = 1.900000
Setting melee_damage_speed_power = 2.000000
Setting multiplayer_walk_enabled = 0
Scan Module Textures = 1
Scan Module Sounds = 1
Loading Resource test
Loading Resource textures_face_gen
Loading Resource shaders
Loading Resource textures
Loading Resource materials
Loading Resource materials_face_gen
Loading Resource uimeshes
Loading Resource meshes_face_gen
Loading Resource helpers
Loading Resource map_tree_meshes
Loading Resource map_icon_meshes
Loading Resource particle_meshes
Loading Resource skeletons
Loading Resource tree_meshes
Loading Resource xtree_meshes
Loading Resource grass_meshes
Loading Resource plant_meshes
Loading Resource body_meshes
Loading Resource object_meshes
Loading Resource object_bodies
Loading Resource goods_meshes
Loading Resource item_meshes1
Loading Resource horse_a
Loading Resource arabian_horses
Loading Resource arabian_castle
Loading Resource food
Loading Resource beards
Loading Resource armors_b
Loading Resource armors_c
Loading Resource armors_d
Loading Resource armors_e
Loading Resource armors_f
Loading Resource armors_g
Loading Resource armors_h
Loading Resource armors_i
Loading Resource boots_b
Loading Resource boots_c
Loading Resource helmets
Loading Resource helmets_b
Loading Resource village_houses
Loading Resource village_houses_a
Loading Resource village_houses_b
Loading Resource hair
Loading Resource deneme
Loading Resource interiors_a
Loading Resource interiors_b
Loading Resource interiors_c
Loading Resource arena
Loading Resource map_icons_b
Loading Resource castle_a
Loading Resource dungeon
Loading Resource stone_houses
Loading Resource snowy_houses
Loading Resource snowy_castle
Loading Resource helmets_d
Loading Resource helmets_e
Loading Resource helmets_f
Loading Resource castle_b
Loading Resource square_keep
Loading Resource anim_b
Loading Resource shields
Loading Resource shields_b
Loading Resource weapon_meshes_c
Loading Resource xtree_meshes_b
Loading Resource map_icons_c
Loading Resource pictures
Loading Resource user_interface_b
Loading Resource user_interface_c
Loading Resource scene_encounter_spot
Loading Resource interior_thirsty_lion
Loading Resource scene_small_tavern
Loading Resource weapon_meshes1
Loading Resource weapon_meshes_b
Loading Resource houses1
Loading Resource wall_meshes1
Loading Resource town_houses
Loading Resource doors
Loading Resource churches
Loading Resource town_houses_b
Loading Resource castle_c
Loading Resource castle_d
Loading Resource castle_e
Loading Resource castle_f
Loading Resource castle_g
Loading Resource castle_h
Loading Resource castle_i
Loading Resource gatehouse
Loading Resource viking_houses
Loading Resource fake_houses
Loading Resource town_houses_c
Loading Resource banners
Loading Resource map_flags
Loading Resource map_flags_b
Loading Resource map_flags_c
Loading Resource map_flags_d
Loading Resource particles_2
Loading Resource prisons
Loading Resource prisons_b
Loading Resource interiors_d
Loading Resource costumes_b
Loading Resource costumes_c
Loading Resource arena_costumes
Loading Resource boots_a
Loading Resource terrain_borders
Loading Resource terrain_borders_b
Loading Resource skyboxes
Loading Resource object_b
Loading Resource tree_e_meshes
Loading Resource destroy
Loading Resource xtree_meshes_c
Loading Resource grass_meshes_b
Loading Resource interiors_steppe
Loading Resource grooming_horse
Loading Resource town_houses_d
Loading Resource horses_b
Loading Resource ani_horse_mounted
Loading Resource deneme2
Loading Resource horse_skeleton
Loading Resource steppe_fake_houses
Loading Resource weapon_meshes_d
Loading Resource tableau_shields
Loading Resource heraldic_armors
Loading Resource spear
Loading Resource weapons_e
Loading Resource weapons_f
Loading Resource instruments
Loading Resource sarranid_armors
Loading Resource custom_banner
Loading Resource simple_primitives
Loading Resource ani_man_walk
Loading Resource ani_twohanded
Loading Resource ani_onehanded
Loading Resource ani_death
Loading Resource ani_stand_guardsman
Loading Resource ani_human_mounted
Loading Resource ani_lady_stand
Loading Resource ani_poses
Loading Resource ani_stand_shopkeeper
Loading Resource ani_man_cheer
Loading Resource ani_stand_onhorse
Loading Resource ani_throw_stone
Loading Resource ani_strikes
Loading Resource ani_equip_arms
Loading Resource ani_run_p
Loading Resource ani_run_forward_left_right
Loading Resource uni_strikes3
Loading Resource ani_walk_sideways
Loading Resource ani_run_sideways
Loading Resource ani_stand
Loading Resource ani_crouch_down
Loading Resource ani_low_walk
Loading Resource ani_turn_man
Loading Resource ani_attacks_single
Loading Resource ani_lancer
Loading Resource ani_attacks
Loading Resource ani_kicks
Loading Resource ani_parry_attack
Loading Resource ani_walk_backward
Loading Resource ani_run_lookingsides
Loading Resource ani_defends
Loading Resource ani_walk_lookingsides
Loading Resource ani_jump
Loading Resource ani_wedding
Loading Resource arabian_props
Loading Resource uni_jump
Loading Resource uni_stances
Loading Resource uni_equip
Loading Resource uni_strike
Loading Resource uni_throws
Loading Resource uni_fistswing
Loading Resource uni_lord_stand
Loading Resource uni_defence
Loading Resource uni_sideways
Loading Resource dart
Loading Resource armors_new_a
Loading Resource armors_new_b
Loading Resource armors_new_heraldic
Loading Resource armors_new_arena
Loading Resource crossbows
Loading Resource arabian_armors
Loading Resource rock
Loading Resource costumes_d
Loading Resource nordic_helmets
Loading Resource sarranid_helmets
Loading Resource sarranid_armor
Loading Resource raw_materials
Loading Resource khergit_lady_dress
Loading Resource vaegir_helmets
Loading Resource gauntlets_new
Loading Resource sarranid_lady_dress
Loading Resource sarranid_boots
Loading Resource bride_dress
Loading Resource full_plate_armor
Loading Resource weapon_meshes_e
Loading Resource fur_armors_a
Loading Resource ui_server_filter
Loading Resource warhorse_new
Loading Resource ship
Loading Resource arabian_houses
Loading Resource object_c
Loading Resource tree_f
Loading Resource interiors_arabian
Loading Resource arabian_village
Loading Resource valleyProps
Loading Resource workshops
Loading Resource barrier_primitives
Loading Resource town_houses_e
Loading Module Resource caba_order
Loading Module Resource animations_a
Loading Module Resource custom_animations
Loading Module Resource skel_dwarf
Loading Module Resource elf
Loading Module Resource dwarf_body
Loading Module Resource lizard
Loading Module Resource new_lizard
Loading Module Resource bannerswar
Loading Module Resource orc
Loading Module Resource darkelf
Loading Module Resource tombkings
Loading Module Resource amazon
Loading Module Resource gob
Loading Module Resource firearms1
Loading Module Resource firearms2
Loading Module Resource zombie
Loading Module Resource nippon
Loading Module Resource nippon_weapons
Loading Module Resource pirate
Loading Module Resource hats_new
Loading Module Resource swords_a
} //Processing Ini File Finished
Loading Music...
Loading Textures...
Finished Loading Textures...
L8 Format is unsupported
Any ideas? I really want this all to work as it took me months.
Jezze said:TheWhiteHand said:how does one add a custom made map to the native lists of maps?
(without removing any of the other custom made maps made by other people)
http://forums.taleworlds.com/index.php/topic,112508.0.html
TheWhiteHand said:Jezze said:TheWhiteHand said:how does one add a custom made map to the native lists of maps?
(without removing any of the other custom made maps made by other people)
http://forums.taleworlds.com/index.php/topic,112508.0.html
yes i know, but I've made a scene in my own module (just so i dont screw the native up), but when im trying to play this online only I can join because only i've got this module. Therefore I'd like to add it to the native (or if its possible to cRPG) and play it with other people, but im not sure how. Any idea how to do so?