1.打开文件data里的兵种文件(export_descr_unit),查找将军卫队名称(对应国家的有自己对应的将军卫队),
2.然后在data文件里的建筑文件(export_descr_buildings),将该兵种让一种建筑可以招募。
以罗马全面战争原版1.5为例
先在 export_descr_unit 查找:roman generals guard cavalry early
该兵种为罗马马略改革以前的将军卫队资料,如下
type roman generals guard cavalry early
dictionary roman_generals_guard_cavalry_early ; Roman General
category cavalry
class heavy
voice_type General_1
soldier roman_medium_cavalry, 12, 0, 1
mount generals horse
mount_effect elephant -8, camel -4
attributes sea_faring, general_unit, hide_forest, hardy
formation 1.5, 4, 3, 6, 3, square
stat_health 2, 0
stat_pri 11, 6, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr no
stat_sec 12, 5, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 3, 7, 4, leather
stat_sec_armour 0, 1, flesh
stat_heat 1
stat_ground 0, 0, -6, 0
stat_mental 10, disciplined, highly_trained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 790, 80, 80, 120, 790
ownership romans_julii,romans_brutii,romans_scipii,romans_senate
以上各个属性就不介绍了
然后进入 export_descr_buildings
找到总督府的代码,如下
governors_house requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, }
{
capability
{
recruit "carthaginian peasant" 0 requires factions { spain, }
recruit "barb peasant briton" 0 requires factions { britons, }
recruit "barb peasant dacian" 0 requires factions { dacia, }
recruit "barb peasant gaul" 0 requires factions { gauls, }
recruit "barb peasant german" 0 requires factions { germans, }
recruit "barb peasant scythian" 0 requires factions { scythia, }
recruit "carthaginian peasant" 0 requires factions { carthaginian, }
recruit "east peasant" 0 requires factions { eastern, }
recruit "egyptian peasant" 0 requires factions { egyptian, }
recruit "greek peasant" 0 requires factions { greek, }
recruit "roman peasant" 0 requires factions { roman, }
在此处添加代码
}
construction 1
cost 400
settlement_min village
upgrades
{
governors_villa
}
然后添加一条代码
recruit "roman generals guard cavalry earlyt" 0 requires factions { roman, } and not marian_reforms
添加后为
governors_house requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, }
{
capability
{
recruit "carthaginian peasant" 0 requires factions { spain, }
recruit "barb peasant briton" 0 requires factions { britons, }
recruit "barb peasant dacian" 0 requires factions { dacia, }
recruit "barb peasant gaul" 0 requires factions { gauls, }
recruit "barb peasant german" 0 requires factions { germans, }
recruit "barb peasant scythian" 0 requires factions { scythia, }
recruit "carthaginian peasant" 0 requires factions { carthaginian, }
recruit "east peasant" 0 requires factions { eastern, }
recruit "egyptian peasant" 0 requires factions { egyptian, }
recruit "greek peasant" 0 requires factions { greek, }
recruit "roman peasant" 0 requires factions { roman, }
recruit "roman generals guard cavalry earlyt" 0 requires factions { roman, } and not marian_reforms
}
construction 1
cost 400
settlement_min village
upgrades
{
governors_villa
}
在游戏中就可以招募将军了。但是没有后代,无法在你的家族中查看。
还有点要注意,罗马有点特殊。他有马略改革。所以可以在刚才的
recruit "roman generals guard cavalry earlyt" 0 requires factions { roman, }
后面要加and not marian_reforms ,表示是马略改革前可以招募。
加and marian_reforms,表示马略改革后可以招募。注意格式,加空格。
关于各个国家将军卫队名称就自己找吧,只要在文件里查找
stat_health 2, 0
基本就可以判断。该代码为单位的生命为2.
温馨提示:答案为网友推荐,仅供参考