PDA

View Full Version : This unit seems to CTD the game when it gets into combat. Any ideas??



Nerouin
10-16-2004, 21:32
Here it is; it only seems to happen when they hit the enemy.. it might be when they pull out their swords.

It is just modified greek cav.


type greek medium cavalry
dictionary greek_medium_cavalry ; Greek Cavalry
category cavalry
class light
voice_type Medium_1
soldier greek_medium_cavalry, 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 7, 15, no, 0, 0, melee, blade, piercing, spear, 25 ,1
stat_pri_attr no
stat_sec 9, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 0, 5, 0, leather
stat_sec_armour 0, 0, flesh
stat_heat 1
stat_ground 0, 0, -6, 0
stat_mental 6, normal, trained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 370, 140, 40, 60, 370
ownership greek, slave

TigerVX
10-16-2004, 21:40
Sounds like a texture problem, can you post the texture lines?

Nerouin
10-16-2004, 21:45
I'm using the Greek Cities.

This was a CA texture. Maybe something is wrong with the modifications I made to its stats??



type greek_medium_cavalry
skeleton fs_hc_spearman ; combat spear
indiv_range 40
texture macedon, data/models_unit/textures/unit_greek_medium_cavalry_macedon.tga
texture seleucid, data/models_unit/textures/unit_greek_medium_cavalry_seleucid.tga
texture greek_cities, data/models_unit/textures/unit_greek_medium_cavalry_greek.tga
texture thrace, data/models_unit/textures/unit_greek_medium_cavalry_thrace.tga
texture slave, data/models_unit/textures/unit_greek_medium_cavalry_slave.tga
model_flexi data/models_unit/unit_greek_medium_cavalry_high.cas, 15
model_flexi data/models_unit/unit_greek_medium_cavalry_med.cas, 30
model_flexi data/models_unit/unit_greek_medium_cavalry_low.cas, 40
model_flexi data/models_unit/unit_greek_medium_cavalry_lowest.cas, max
model_sprite slave, 60.0, data/sprites/slave_greek_medium_cavalry_sprite.spr
model_sprite thrace, 60.0, data/sprites/thrace_greek_medium_cavalry_sprite.spr
model_sprite greek_cities, 60.0, data/sprites/greek_cities_greek_medium_cavalry_sprite.spr
model_sprite seleucid, 60.0, data/sprites/seleucid_greek_medium_cavalry_sprite.spr
model_sprite macedon, 60.0, data/sprites/macedon_greek_medium_cavalry_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f

khelvan
10-16-2004, 21:45
Also, I haven't played around with this much, but isn't the secondary attack attribute used for the mount, when mounted?

Nerouin
10-16-2004, 21:47
mmm.. I may have caught it. I added a sword to the file, but I don't have the sword down as a skeleton.

TigerVX
10-16-2004, 22:07
Thats probably it, I can't think of anything else.