Log in

View Full Version : Changing Unit Weapons and Stats



President
07-14-2010, 10:06
I had some simple questions:

1) How do you change a unit's weapon/type? For example, I am trying to change Numidian Skirmisher's melee weapon from a spear to a knife, yet when I change the tech type in the expor_descr_unit txt file it does nothing, although I do believe it does change it "physically," though not visually... this is what I've done to the descr txt file:



;219
type african skirmisher javelinmen
dictionary african_skirmisher_javelinmen ; Numidian Javelinmen
category infantry
class missile
voice_type Medium_1
soldier african_missile_numidianjavelinman, 50, 0, 0.9
mount_effect elephant +2, chariot +4, horse -2
attributes sea_faring, hide_improved_forest, can_sap, very_hardy, hide_long_grass
formation 1.6, 2, 3.2, 4, 6, square
stat_health 1, 1
stat_pri 6, 2, javelin, 60.5, 6, thrown, simple, piercing, spear, 10 ,1
stat_pri_attr thrown, ap
stat_sec 7, 2, no, 0, 0, melee, blade, piercing, knife, 0 ,0.04
stat_sec_attr no
stat_pri_armour 1, 9, 2, flesh
stat_sec_armour 0, 0, flesh
stat_heat -1
stat_ground 0, 0, 1, -1
stat_mental 10, normal, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 987, 247, 20, 30, 987
ownership egypt, seleucid, slave

*I've noticed there is no space after the coma, before the lethality value...


2) Would changing the stats this way cause any CTDs? Also, is the stat_heat value really inverted?

gamegeek2
07-15-2010, 07:43
the thing is, he'll still have a spear on his model.

and making javelins AP is a really bad idea. plus, it makes the pilum pointless (negates its advantage I mean)

President
07-16-2010, 04:21
the thing is, he'll still have a spear on his model.

and making javelins AP is a really bad idea. plus, it makes the pilum pointless (negates its advantage I mean)


I quite disagree... I did a test with the numidian skirmishers and there is no difference when attacking light troops... however, when throwing javelins at heavy infantry, such Heavy Libyans, they actually kill 15-20 (using all 6 javelins) as opposed to a really unrealitic 1-2... this is, of course, when the unit is in tight mode... in loose mode the libyans only lost 8-10... quite balanced imo...

But that is my main question... how do you change the actual weapon model... I know it can be done... for the EB online tourney I know they changed the spear for some Chatti spearmen in the edu...

Or does it somehow require to make a whole new numidian skirmisher model with a knife...??? O_O

bobbin
07-19-2010, 00:29
But that is my main question... how do you change the actual weapon model... I know it can be done... for the EB online tourney I know they changed the spear for some Chatti spearmen in the edu...

Or does it somehow require to make a whole new numidian skirmisher model with a knife...??? O_O

You would need to change the model to carry a spear, so unless you know how or can find someone to do it, I'm afraid your stuck with the knife.:no:

SlickNicaG69
07-19-2010, 08:59
No Bobbin, I think he is trying to say that he is trying to change the spear to a knife...

bobbin
07-20-2010, 00:48
Ah ok, still the same problem though.