How about siege units and their crews? Here's a Greek Trebuchet crew's definition:
They have only a Knife for a Primary weapon animation, and no Secondary -- clearly, no match for a serious melee unit!Code:20 greek_trebuchet_crew 1 4 70 unit_models/_Units/ES_Greek_Greek_Heavy/greek_trebuchet_crew_lod0.mesh 121 70 unit_models/_Units/ES_Greek_Greek_Heavy/greek_trebuchet_crew_lod1.mesh 900 70 unit_models/_Units/ES_Greek_Greek_Heavy/greek_trebuchet_crew_lod2.mesh 2500 70 unit_models/_Units/ES_Greek_Greek_Heavy/greek_trebuchet_crew_lod3.mesh 6400 1 9 byzantium 80 unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_byzantium.texture 77 unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_normal.texture 53 unit_sprites/byzantium_Greek_Ballista_Crew_sprite.spr 1 9 byzantium 70 unit_models/AttachmentSets/Final European Light_byzantium_diff.texture 70 unit_models/AttachmentSets/Final European Light_byzantium_norm.texture 0 1 4 None 14 MTW2_Trebuchet 0 1 18 MTW2_Knife_Primary 0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
But note that their Primary weapon is listed as a Trebuchet. Hmm...![]()
Over in the export_descr_units.txt ("EDU") file, this entry references the Greek_Trebuchet_Crew:
The Trebuchet is one of the few EDU entries to have a 3rd (tertiary) weapon (the cow_carcass -- so much fun!Code:type GR Trebuchet dictionary GR_Trebuchet ; Trebuchet category siege class missile voice_type Heavy banner faction main_missile banner holy crusade soldier Greek_Trebuchet_Crew, 16, 2, 1 engine trebuchet attributes sea_faring, can_withdraw, hardy, artillery formation 1.5, 1.5, 3, 3, 3, square stat_health 1, 0 stat_pri 7, 3, no, 0, 0, melee, artillery_mechanical, piercing, knife, 25, 1.8 ;stat_pri_ex 0, 0, 0 stat_pri_attr no stat_sec 55, 3, trebuchet, 285, 30, siege_missile, artillery_mechanical, blunt, none, 25, 1 ;stat_sec_ex 0, 0, 0 stat_sec_attr ap, bp, area, launching stat_ter 12, 3, cow_carcass, 215, 3, siege_missile, artillery_mechanical, blunt, none, 25, 1 ;stat_ter_ex 0, 0, 0 stat_ter_attr ap, bp, area, launching, stat_pri_armour 2, 5, 0, leather ;stat_armour_ex 2, 0, 0, 0, 5, 0, 0, leather stat_sec_armour 0, 0, flesh stat_heat 1 stat_ground 0, 0, 0, 0 stat_mental 9, disciplined, highly_trained stat_charge_dist 30 stat_fire_delay 0 stat_food 60, 300 stat_cost 1, 430, 250, 60, 140, 430, 1, 120 armour_ug_levels 1 armour_ug_models Greek_Trebuchet_Crew).
And we have this comment in that file about the stat_pri entry:
So, apparently, the "_crew" unit type is a special case.Details of unit's primary weapon. If the unit has a missile weapon it must be the primary
Bookmarks