之前已经添加好基本可玩的国家了,下边同国家加料,当然都是非必要的。
继续用前边的国家名设定哦。
三,加将领
冇将领,点玩。。。自己手加?傻的,不过好彩,有人做咗生成器,用法简单,自己努力,就唔写了。
钢铁雄心3将领生成器Mini v1.5.0--NType
http://tieba.baidu.com/p/2388504535
将领生成完之后的完整文件路径“tfh\history\leaders\ZTJ.txt”。
1 |
picture = ZM00028 |
picture同以前一样是指文件名,ZM00028.tga,SIZE系36X50,文件放系“tfh\gfx\pictures\portraits”下边。
四,加初始单位
打开“tfh\history\countries\ZTJ - ztjal.txt”,修改 oob = "ZTJ_1936.txt"
系“tfh\history\units”下边建立一个“ZTJ_1936.txt”
1 2 3 4 5 6 |
theatre= { name = "姬巫女行宫" location = 5030 regiment = { type = hq_brigade name = "姬巫女行宫" historical_model = 0 } regiment = { type = miko_brigade experience = 90 name = "姬卫队" historical_model = 2 } } |
theatre是最高指挥部,armygroup集团军群,corps军,division师,navy海军,air空军,military_construction制造中
location是所在位置
regiment是所拥有的单位
type是单位类型
experience单位经验
historical_model单位装备级别,例如单位对应的武器科技升级之后会自动生产升级单位的武器
其它自己参考“GER_1936.txt”吧,单位够多。
五,加自己的单位
添加基本数据
有冇见到上边的“type = miko_brigade”?是我的“武装巫女”,代替卫戍和宪兵,民兵类单位。
单位系“tfh\units”文件夹下,先揾个你钟意的单位做模板,查名系“tfh\localisation\units.csv”揾。
例如:
police_brigade;宪兵部队;;;;;;;;;;X,前边的“police_brigade”就是单位文件名“tfh\units\police_brigade.txt”
复制“police_brigade.txt”,改名为“miko_brigade.txt”
1 2 3 4 5 6 7 8 9 10 |
miko_brigade = { usable_by = { ZTJ } sprite = Elite can_paradrop = yes ... #limitations #minimum_of_type = 6 #max_percentage_of_type = 0.04 ... } |
usable_by是限制使用国家
sprite = Elite是指精英,如果唔系就成行去掉
can_paradrop可空降
minimum_of_type,max_percentage_of_type是限制单位数量用的,因为我是代替M用的,就唔限制了,注释佢
其它没乜好讲的,自己睇其它单位参考。
加单位中文名
打开“tfh\localisation\ztj_lang.csv”,追加
1 2 |
miko_brigade;武装巫女;;;;;;;;;;X miko_brigade_short;巫女;;;;;;;;;;X |
加单位外观
由于我用兵牌玩,兵模就唔理了。
打开“tfh\interface\avatars.gfx”,系最尾加入
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
EMFXActorType = { name = "ztjalElite" actorfile = "gfx\anims\German_Elite.xac" idle = "gfx\anims\InfantryIdleA.xsm" move = "gfx\anims\InfantryMove.xsm" attack = "gfx\anims\InfantryAttackA.xsm" animation = { name = "retreat" file = "gfx\anims\InfantryRetreat.xsm" } animation = { name = "attackmove" file = "gfx\anims\InfantryAttackMove.xsm" } scale = 1.5 } EMFXActorType = { name = "ztjalEliteGun1" actorfile = "gfx\anims\GermanGun2.xac" scale = 1.0 } |
打开“tfh\interface\counters.gfx”,系最尾果个“}”前加入
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
spriteType = { norefcount = yes name = "GFX_counter_miko_brigade" texturefile = "gfx/mapitems/counters/miko_brigade.dds" noOfFrames = 1 norefcount = yes transparencecheck = yes } spriteType = { norefcount = yes name = "GFX_map_counter_miko_brigade" texturefile = "gfx/mapitems/mapcounters/miko_brigade.dds" noOfFrames = 1 norefcount = yes } spriteType = { norefcount = yes name = "GFX_small_counter_miko_brigade" texturefile = "gfx/mapitems/smallcounters/miko_brigade.dds" noOfFrames = 1 norefcount = yes } |
dds其实我是直接复制文件夹下边其它过来改个名就是,反正都一样是指精英单位,你有爱自己DIY。
系“tfh\gfx\models”下边自己加张反映单位的图(例如虎王好YEAH的图),miko_brigade_0.tga,SIZE是192x104。
后边的“_0”是单位级别,如“miko_brigade_1”,“miko_brigade_2”,就是唔同级时显示唔同的图,当然0是最基本的,你有爱可以加多几张。
单位科技
系“tfh\technologies”目录下搜索
例如我是以宪兵为模板的,咁可以搜索“police_brigade”,揾到就系后边加。
1 2 3 4 5 6 7 8 9 |
imporved_police_brigade = { police_brigade = { suppression = 2 } miko_brigade = { suppression = 2 } ...... } |
六,加战略效果
打开“tfh\common\triggered_modifiers.txt”,效果名自己去搜索“localisation”,边个LIKE就加“TAG = ZTJ”。
七,加决议
系“tfh\decisions”下边新建“ZTJ.txt”,内容
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
diplomatic_decisions = { prepare_for_war_ztj = { potential = { tag = ZTJ government_in_exile = no AI = no NOT = { has_country_flag = prepare_for_war_ztj } } allow = { year = 1936 } effect = { manpower = 500 set_country_flag = prepare_for_war_ztj add_country_modifier = { name = "prepare_for_war_ztj" duration = 720 } } } } |
duration是持续时间,单位是“日”
1 |
set_country_flag = prepare_for_war_ztj |
prepare_for_war_ztj是事件标志,要加事件效果,打开“tfh\common\event_modifiers.txt”,系最尾加
1 2 3 4 5 6 |
prepare_for_war_ztj = { neutrality_change = -0.1 unit_recruitment_time = -0.5 research_efficiency = 0.3 industrial_efficiency = 0.5 } |
其它属性自己睇其它啦,做到呢步的应该唔会系蠢人,费事解释了,自己努力。
加事件的中文就打开“tfh\localisation\ztj_lang.csv”,追加
1 2 3 |
prepare_for_war_ztj;巫女圣域全力备战;;;;;;;;;;X prepare_for_war_ztj_title;巫女圣域全力备战;;;;;;;;;;X prepare_for_war_ztj_desc;和平是令人乏味的,只需要散布一点点谣言就可以轻易让我们的国家中立度下降,这样就可以允许我们稍稍拜访下我们的邻居……;;;;;;;;;;X |
八,加事件
系“tfh\events”下边新建一个“222222.txt”(个名你钟意),内容
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
country_event = { id = 222222 is_triggered_only = yes title = "取得核心区域" desc = "" picture = "fire" option = { name = "大地在我脚下" any_owned = { limit = { or = { owned_by = ZTJ controlled_by = ZTJ } } secede_province = ZTJ add_core = ZTJ } } } |
事件就系控制台调用就得了,按“~”之后输入“event 22222”。