You must be logged in to post messages.
Please login or register

Game Modification & Editor Discussion

Hop to:    
Welcome! You are not logged in. Please Login or Register.1 reply
Total War Heaven » Forums » Game Modification & Editor Discussion » Adding precursor javelins to sword units
Bottom
Topic Subject:Adding precursor javelins to sword units
jgenard
Legionary
posted 15 July 2019 08:12 EDT (US)         
Hi,
I'm probably doing something very simple wrong here on export_descr_unit,
but I'd like your opinions on this. What is my mistake here? (Game CTDs every time I start it up).
So i'd like to add the ability to throw some precursor javelins to these basic barbarian Horde Chosen Swordsmen.

type barb horde chosen swordsmen
dictionary barb_horde_chosen_swordsmen ; Horde Chosen Swordsmen
category infantry
class heavy
voice_type Heavy_1
soldier sword_heerbann, 45, 0, 1.1
officer barb_standard
attributes sea_faring, hide_improved_forest, hardy, can_horde
formation 1.2, 1.2, 2.4, 2.4, 5, square, shield_wall
stat_health 1, 0
stat_pri 8, 4, javelin, 50, 3, thrown, archery, piercing, spear, 25 ,1
stat_pri_attr prec, thrown
stat_sec 12, 6, no, 0, 0, melee, blade, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 7, 7, 6, metal
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground 1, -2, 3, 2
stat_mental 11, impetuous, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 567, 0, 70, 100, 630
ownership franks, lombardi, burgundii, saxons, alemanni
AuthorReplies:
General Sajaru
Tribunus Laticlavius
posted 15 July 2019 18:04 EDT (US)     1 / 1       
Your edit looks good. If you revert back to the original, does it work? Also, I'd try changing a unit that already throws something (like comitatanses) from pilum to javelin and see if that works. If it doesn't, there's probably an issue with the graphics and animations.

"Freedom is never more than one generation away from extinction." - Ronald Reagan
"Judge them not by the color of their skin, but by the content of their character." - Martin Luther King, Jr.
"Pick up a rifle and you change instantly from a subject to a citizen." - Jeff Cooper
"I like my enemies like James Bond likes his martinis- shaken, not stirred."
My first book, The King's Own
You must be logged in to post messages.
Please login or register

Hop to:    

Total War Heaven | HeavenGames