Sahran
01-15-2006, 08:37
The unit in question I am trying to add is one of ATG's Spartans.
As a test, I've not attempted to put in descriptions or unit cards, but what I have put in, is as follows:
Export_Descr_Unit
type southron spartan
dictionary southron_spartan ; Bazylian Spartan
category infantry
class heavy
voice_type Heavy_1
soldier southron_spartan, 40, 0, 1.3
attributes sea_faring, hide_forest, can_sap, hardy
formation 1, 1, 2, 2, 4, square, shield_wall
stat_health 1, 0
stat_pri 9, 2, no, 0, 0, melee, blade, piercing, spear, 25 ,0.73
stat_pri_attr spear, spear_bonus_8
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 7, 10, 6, metal
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground 1, -2, 3, 2
stat_mental 18, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 513, 220, 60, 90, 570
ownership empire_east_rebels
Model_Battle
type southron_spartan
skeleton fs_spearman
indiv_range 40
texture empire_east_rebels, bi/data/models_unit/textures/unit_greek_atg_spartan_vp.tga
model_flexi_m bi/data/models_unit/unit_greek_atg_spartan_vp_h.cas, 15
model_flexi_m bi/data/models_unit/unit_greek_atg_spartan_vp_m.cas, 30
model_flexi_m bi/data/models_unit/unit_greek_atg_spartan_vp_l.cas, 40
model_flexi bi/data/models_unit/unit_greek_atg_spartan_vp_vl.cas, max
model_sprite 60.0, bi/data/sprites/greek_hoplite_spartan_pylos_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
Now, Normally this always got me the unit in Vanilla, without a unit card or description, but this causes me to crash the moment the custom battle with the unit attempts to load.
I had heard that units or skeletons had to have a swim animation, or BI would crash. There is no error listed on the "Show_err" armed startup, nor do I have any sign of what is causing this.
As a test, I've not attempted to put in descriptions or unit cards, but what I have put in, is as follows:
Export_Descr_Unit
type southron spartan
dictionary southron_spartan ; Bazylian Spartan
category infantry
class heavy
voice_type Heavy_1
soldier southron_spartan, 40, 0, 1.3
attributes sea_faring, hide_forest, can_sap, hardy
formation 1, 1, 2, 2, 4, square, shield_wall
stat_health 1, 0
stat_pri 9, 2, no, 0, 0, melee, blade, piercing, spear, 25 ,0.73
stat_pri_attr spear, spear_bonus_8
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 7, 10, 6, metal
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground 1, -2, 3, 2
stat_mental 18, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 513, 220, 60, 90, 570
ownership empire_east_rebels
Model_Battle
type southron_spartan
skeleton fs_spearman
indiv_range 40
texture empire_east_rebels, bi/data/models_unit/textures/unit_greek_atg_spartan_vp.tga
model_flexi_m bi/data/models_unit/unit_greek_atg_spartan_vp_h.cas, 15
model_flexi_m bi/data/models_unit/unit_greek_atg_spartan_vp_m.cas, 30
model_flexi_m bi/data/models_unit/unit_greek_atg_spartan_vp_l.cas, 40
model_flexi bi/data/models_unit/unit_greek_atg_spartan_vp_vl.cas, max
model_sprite 60.0, bi/data/sprites/greek_hoplite_spartan_pylos_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
Now, Normally this always got me the unit in Vanilla, without a unit card or description, but this causes me to crash the moment the custom battle with the unit attempts to load.
I had heard that units or skeletons had to have a swim animation, or BI would crash. There is no error listed on the "Show_err" armed startup, nor do I have any sign of what is causing this.