If you added a sword stat for a secondary weapon {I did} , then you might have forgotten to give the unit a Swordsman Skeleton {in the descr_model_battle.txt file} .Originally Posted by Lord SkyKnight
Here is the data from the files I altered making the Triarii a Phalanx unit :
From export_descr_unit.txt :
type roman triarii
dictionary roman_triarii ; Triarii
category infantry
class spearmen
voice_type Medium_1
soldier roman_triarii, 40, 0, 1.3
officer roman_early_centurion
officer roman_early_standard
mount_effect horse +4, chariot +4, camel +4
attributes sea_faring, hide_forest, can_sap, very_hardy
formation 1, 1, 2, 2, 4, square, phalanx
stat_health 1, 0
stat_pri 8, 7, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr spear
stat_sec 8, 2, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 8, 5, 5, metal
stat_sec_armour 0, 0, flesh
stat_heat 4
stat_ground 2, 0, 0, 0
stat_mental 10, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 500, 250, 50, 80, 500
ownership romans julii,romans brutii,romans scipii,romans senate
From descr_model_battle.txt :
type roman_triarii
skeleton fs_spearman, fs_swordsman ; combat spear
indiv_range 40
texture romans_julii, data/models_unit/textures/unit_roman_triarii_julii.tga
texture romans_brutii, data/models_unit/textures/unit_roman_triarii_brutii.tga
texture romans_scipii, data/models_unit/textures/unit_roman_triarii_scipii.tga
texture romans_senate, data/models_unit/textures/unit_roman_triarii_senate.tga
model_flexi_m data/models_unit/unit_roman_triarii_high.cas, 15
model_flexi_m data/models_unit/unit_roman_triarii_med.cas, 30
model_flexi_m data/models_unit/unit_roman_triarii_low.cas, 40
model_flexi data/models_unit/unit_roman_triarii_lowest.cas, max
model_sprite romans_senate, 60.0, data/sprites/romans_senate_roman_triarii_sprite.spr
model_sprite romans_scipii, 60.0, data/sprites/romans_scipii_roman_triarii_sprite.spr
model_sprite romans_brutii, 60.0, data/sprites/romans_brutii_roman_triarii_sprite.spr
model_sprite romans_julii, 60.0, data/sprites/romans_julii_roman_triarii_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
The FS_Swordsman skeleton tripped up a few people doing this {me , some bloke wanting to do it from my description where I forgot to mention it and I'm sure a horde of others} , so I mention it .
Perhaps it was simply a syntax spelling error or ; instead of a , or suchlike ?
Bookmarks