I trying create some new units. I have read Mythic_Commodore A Beginner's Guide to the Export_Descr_Unit and How to make new units. I have some confuse about export_descr_unit.text. There are bit different between RoTK mod file and other mod
Unit_info line defines something?Code:type Swiss Pikemen dictionary Swiss_Pikemen ; Swiss Pikemen category infantry class spearmen voice_type Heavy accent German banner faction main_spear banner holy crusade soldier Swiss_Pikemen, 60, 0, 1 attributes sea_faring, hide_forest, very_hardy, can_withdraw, pike formation 1.2, 1.2, 2.4, 2.4, 8, square, phalanx stat_health 1, 0 stat_pri 14, 4, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1 ;stat_pri_ex 0, 0, 0 stat_pri_attr spear, long_pike, spear_bonus_8 stat_sec 13, 3, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1 ;stat_sec_ex 0, 0, 0 stat_sec_attr no stat_pri_armour 0, 5, 0, flesh ;stat_armour_ex 0, 0, 0, 0, 5, 0, 0, flesh stat_sec_armour 0, 0, flesh stat_heat 2 stat_ground 1, -2, 3, 2 stat_mental 11, impetuous, highly_trained stat_charge_dist 40 stat_fire_delay 0 stat_food 60, 300 stat_cost 1, 470, 185, 115, 90, 470, 4, 110 armour_ug_levels 0 armour_ug_models Swiss_Pikemen ownership slave ;unit_info 14, 0, 5
And code in RoTK mod
Example:
Some unit have recruit_priority_offset's value, Some unit don't.Code:type JiangJun_ZhongYuan_Aa_0112-GuoJiadictionary JiangJun_ZhongYuan_Aa_0112-GuoJia category cavalry class missile voice_type Light banner faction main_cavalry banner holy crusade_cavalry soldier ZYgongqibing, 15, 0, 1 officer ZYgongqibing mount hanxuema mount_effect elephant -4, camel -4 attributes sea_faring, hide_forest, hardy, can_withdraw, horse_archers, cantabrian_circle, general_unit, no_custom move_speed_mod 1.0 formation 2, 4.4, 3, 6, 3, square stat_health 2, 3 stat_pri 7, 2, cav_composite_arrow, 130, 40, missile, missile_mechanical, piercing, none, 0, 1 stat_pri_attr no stat_sec 6, 5, no, 0, 0, melee, melee_blade, piercing, sword, 60, 1 stat_sec_attr no stat_pri_armour 7, 5, 0, flesh stat_sec_armour 0, 0, flesh stat_heat 1 stat_ground 0, -1, -2, 1 stat_mental 12, disciplined, highly_trained stat_charge_dist 20 stat_fire_delay 0 stat_food 60, 300 stat_cost 1, 2000, 0, 200, 200, 555, 1, 100 armour_ug_levels 0, 5, 6 armour_ug_models ZYgongqibing, ZYgongqibing, ZYgongqibing ownership england era 0 england era 1 england recruit_priority_offset 0
Please explain it to me
Thanks & best regard




Reply With Quote








































