Alright I was being dumb, got it to work pretty easily. But now I'm getting a weird error... whenever I go into battle with greek militia. Generic error: Failed to find texture 'data/models_unit/textures/greek_militia.psd
I have 3 files in textures for this...GREEK_MILITIA.TGA.dds, GREEK_MILITIA_GLOSS.TGA.DDS, GREEK_MILITIA_GLOSS. Below is the code for my EDU and DMB.
EDU:
Code:
type greek hoplite militia
dictionary rtr_greek_hoplite_militia
category infantry
class spearmen
voice_type Light_1
soldier GREEK_MILITIA, 60, 0, 1
attributes sea_faring,hide_forest,can_sap,hardy,can_swim,mercenary_unit
formation 0.9, 1, 2, 2, 8,square, phalanx
stat_health 1, 0
stat_pri 8, 6, no, 0, 0, melee, simple, piercing, spear, 0 , 0.4
stat_pri_attr light_spear, short_pike
stat_sec 0, 0, no, 0, 0, no, no, no, no, 25 , 1
stat_sec_attr no
stat_pri_armour 2, 15, 6, flesh
stat_sec_armour 0, 0, flesh
stat_heat 1
stat_ground -4, 0, -8, 0
stat_mental 12, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 414, 225, 104, 112, 360
ownership greek_cities, dacia
DMB:
Code:
type GREEK_MILITIA
skeleton fs_s1_hoplite, fs_swordsman
indiv_range 40
texture dacia, data/RTR/models_unit/textures/dacia_hoplitemilitia.tga
texture greek_cities, data/RTR/models_unit/textures/GREEK_MILITIA.tga
texture greek_cities, data/RTR/models_unit/textures/GREEK_MILITIA.tga
model_flexi data/models_unit/GREEK_MILITIA.cas, 15
model_flexi data/models_unit/GREEK_MILITIA.cas, 30
model_flexi data/models_unit/GREEK_MILITIA.cas, 40
model_flexi data/models_unit/GREEK_MILITIA.cas, max
model_sprite dacia, 60.0, data/RTR/sprites/dacia_greek_hoplite_militia_sprite.spr
model_sprite greek_cities, 60.0, data/RTR/sprites/greek_cities_greek_hoplite_militia_sprite.spr
Not sure why I'm getting an error at all...everything is fine. I've never even seen a psd file in TW before.