Check this out.
(5, 0, 0, [
(store_mission_timer_a,":mission_time"),
(ge,":mission_time",3),
(call_script, "script_battle_tactic_apply"),
], []), #applying battle tactic
##################################################
##### troop_ratio_bar
##################################################
(0, 0, ti_once, [], [(start_presentation, "prsnt_troop_ratio_bar")]),
##################################################
##### troop_ratio_bar
##################################################
common_battle_order_panel,
common_battle_order_panel_tick,
You can ask in this forum. If I know that, I will answer you the question. Or maybe anyone can help you.
af_castle_lord = af_override_horse | af_override_weapons| af_require_civilian
player_sit = (
...
...
...
...
(30,mtef_visitor_source,af_override_horse,0,1,[]),
(31,mtef_visitor_source,af_override_horse,0,1,[]),
],
[
player_sit,
(1, 0, ti_once, [],
...
...
That's my problem, I can't explain clearly for the tutorial.
player_sit = (
0, 0, 2,
[
(key_clicked, key_x),
(get_player_agent_no, ":player_agent"),
(agent_is_alive, ":player_agent"),
(agent_is_human, ":player_agent"),
(agent_get_horse, ":horse", ":player_agent"),
(le, ":horse", 0),
(try_begin),
(agent_get_slot, ":sitting", ":player_agent", slot_agent_sitting),
(eq, ":sitting", 0),
(agent_set_animation, ":player_agent", "anim_stand_to_sit"), # sit animation
(agent_set_slot, ":player_agent", slot_agent_sitting, 1),
(else_try),
(agent_set_animation, ":player_agent", "anim_sit_to_stand"), # stand up animation
(agent_set_slot, ":player_agent", slot_agent_sitting, 0),
(try_end)], [])
Thank you, Seems easy to add.
(else_try),
(is_between, ":item_no", reference_books_begin, reference_books_end),
(try_begin),
(eq, ":extra_text_id", 0),
(try_begin),
(eq, ":item_no", "itm_book_wound_treatment_reference"),
(str_store_string, s1, "@wound treament"),
(else_try),
(eq, ":item_no", "itm_book_training_reference"),
(str_store_string, s1, "@trainer"),
(else_try),
(eq, ":item_no", "itm_book_surgery_reference"),
(str_store_string, s1, "@surgery"),
(try_end),
(set_result_string, "@+1 to {s1} while in inventory"),
(set_trigger_result, 0xFFEEDD),
(try_end),
########## This part ##########
(else_try),
(item_has_property, ":item_no", itp_is_pike),
(try_begin),
(eq, ":extra_text_id", 0),
(set_result_string, "@can brace"),
(set_trigger_result, 0xFFEEDD),
(try_end),
########## This part ##########
(try_end),
]),
Thank you so much. I'm glad this OSP pack can rebirth, it has so many beautiful weapons and armors.