battle_model entry exists only in descr_strat and descr_characters - in descr_strat it will only occur in a line starting with 'character', example from teutonic campaign below, blue the term, red the model:
descr_strat
Code:
character Gunther von Schwarzenburg, named character, male, leader, age 45, battle_model Teutonic_Hochmeister, x 60, y 36
descr_characters - green is the faction reference
Code:
type named character
actions moving_normal, moving_quickmarch, garrison, assault, attack, besiege, entrench, ambush, diplomacy, bribe, exchange, building_fort, building_watchtower
wage_base 200
starting_action_points 120
faction teutonic_order
dictionary 2
strat_model teutonic_general
strat_model teutonic_general ; heir
strat_model teutonic_grand_master ; leader
strat_model northern_general_fra ; crusading noble (french model)
strat_model northern_general_eng ; crusading noble (england model)
battle_model Teutonic_General
battle_equip gladius, chainmail shirt helmet and rectangular shield
change_battle_model is a command syntax and only present in the script, not descr_strat and there are no preceding words before this command in a line, you can therefore simply check for lines starting with that command. Example from teutonic campaign script, blue being the faction and red the model, note that 'leader' can be replaced by 'heir'.
I cannot recall that I have ever seen a show_me script that uses the syntax, given that these scripts are hardly used in a mod other then for AI scripts.
Code:
monitor_event BecomesFactionLeader FactionType teutonic_order
change_battle_model teutonic_order leader Teutonic_Hochmeister
end_monitor
officer - that entry requires the same check as the armour_ug_models entry as the officer model has to have the relevant faction's texture. These are up to 3 separate 'units' (individual soldiers) attached to the main unit. Example from 1648:
Code:
type Buergerwehr
dictionary Buergerwehr ; Halberd Militia
category infantry
class spearmen
voice_type Heavy
banner faction main_spear
banner holy crusade
soldier buergerwehr, 100, 0, 1
officer Drummer_Helm
officer Flagger_Hat
officer 1648_officer
attributes sea_faring, hide_forest, can_withdraw, pike, free_upkeep_unit
formation 1.2, 1.2, 1.8, 1.8, 10, schiltrom, square
stat_health 1, 0
stat_pri 5, 2, no, 0, 0, melee, melee_blade, piercing, axe, 25, 1
.../...