PDA

View Full Version : Modding Unit Names



Baiae
01-01-2007, 12:46
Sorry if this seems like a basic question but I've tried searching through the forums and I can't find an answer.

Basically I just want to change unit names. Specifically I want to rename Dismounted Feudal Knights to Feudal Foot Knights (and so on).

I've made these changes to export_descr_unit:



type Dismounted Feudal Knights
dictionary Dismounted_Feudal_Knights ; Feudal Foot Knights
category infantry
class heavy
voice_type Heavy
banner faction main_infantry
banner holy crusade
soldier Dismounted_Feudal_Knights, 48, 0, 1.2
attributes sea_faring, hide_forest, hardy, can_withdraw
formation 1.2, 1.2, 2.4, 2.4, 3, square
stat_health 1, 0
stat_pri 13, 3, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 7, 8, 6, metal
;stat_armour_ex 7, 8, 0, 0, 8, 6, 6, metal
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground 1, -2, 3, 2
stat_mental 9, normal, trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 570, 225, 90, 70, 570, 4, 140
armour_ug_levels 3, 4
armour_ug_models Dismounted_Feudal_Knights, Dismounted_Feudal_Knights_ug1
ownership england, scotland, france, hre, denmark, spain, portugal, milan, venice, papal_states, hungary
era 0 england, france, hre, denmark, spain, portugal, milan, venice, papal_states, hungary
era 1 scotland
;unit_info 13, 0, 21


The unit is still showing up under it's old name. What else do I have to do to get it to work?

Dol Guldur
01-01-2007, 12:53
what you have changed is merely a reference for those reading the files. You need to change the name as found in data\taxt\export_units.txt . Look it up by searching for the dictionary name as found under the dictionary line in edu.