Hello. I was hoping I could get a little help with putting mounted units in the game. Every time I try, it crashes on start up. Here is what I have done. I hope one of you can identify what I am doing wrong!
First I put the .cas file in model_unit and the .tgs.dds file in the textures folder
then in text/export_units
in Data/export_descr_unit_enums¬----------------
{greek_hippeis} Greek Hippeis
{greek_hippeis_descr}
Can Form Wedge\n\nGreek cavalry are fast moving horsemen armed with spears for maximum impact in a charge. They are not heavily armoured, and do not have shields for protection, relying instead on the old maxim of 'speed is armour' for protection. As a result, they are best used as a hit-and-run force, rather than as soldiers who can indulge in hand-to-hand combat. That said, they are excellent for breaking up skirmishers, attacking lighter infantry such as missile troops and pursuing already broken enemies to prevent them rallying and rejoining a battle.
{greek_hippeis_descr_short}
Greek cavalry are fast moving horsemen armed with spears for maximum impact in a charge.
¬----------------
Data/export_decr_unitgreek_hippeis
greek_hippeis_descr
greek_hippeis_descr_short
Date/descr_model_battletype greek hippeis
dictionary greek_hippeis ; Greek Hippeis
category cavalry
class light
voice_type Medium_1
soldier greek_hippeis, 27, 0, 1
mount medium horse
mount_effect elephant -8, camel -4
attributes sea_faring, hide_forest
formation 1.5, 4, 3, 6, 4, square, wedge
stat_health 1, 0
stat_pri 6, 5, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 3, 5, 0, leather
stat_sec_armour 0, 0, flesh
stat_heat 1
stat_ground 0, 0, -6, 0
stat_mental 4, normal, trained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 330, 120, 40, 50, 330
ownership greek_cities
sprite_scripttype greek_hippeis
skeleton fs_hc_spearman ; combat spear
indiv_range 40
texture greek_cities, data/models_unit/textures/unit_greek_hippeis.tga
model_flexi data/models_unit/greek_hippeis.cas, 15
model_flexi data/models_unit/greek_hippeis.cas, 30
model_flexi data/models_unit/greek_hippeis.cas, 40
model_flexi data/models_unit/greek_hippeis.cas, max
model_sprite greek_cities, 60.0, data/sprites/greek_hippeis_sprite.scr
model_tri 400, 0.5f, 0.5f, 0.5f
greek_hippeis greek_cities medium horse
this has worked with all infantry units. It just will not work for cavalry. I'm stumped! Hope one of you can figure it out!




Reply With Quote







