捆绑训练
继续回顾civs.xml的语句:
<blocktrain>
<building>protoname</building>在哪个建筑或单位捆绑训练
<unit>protoname</unit>捆绑训练的单位
<count>X</count>一次性训练X个
</blocktrain>
快速复制模板:
<blocktrain>
<building></building>
<unit></unit>
<count></count>
</blocktrain>
在civs中搜索russians(俄罗斯)会见到以下语句:(省略大部分语句,只说重点。)
<blocktrain>
<building>TownCenter</building>在城镇中心训练
<unit>Settler</unit>训练对象(Settler是村民)
<count>3</count>这里是数量。
</blocktrain>
<blocktrain>
<building>Blockhouse</building>在碉堡训练
<unit>Strelet</unit>Strelet是俄罗斯散兵
<count>10</count>数量为10
</blocktrain>
<blocktrain>
<building>Blockhouse</building>
<unit>Halberdier</unit>Halberdier是戟兵
<count>4</count>数量为4
</blocktrain>
<blocktrain>
<building>Blockhouse</building>
<unit>Musketeer</unit>Musketeer是火枪手
<count>5</count>数量是5
</blocktrain>
上面这些就是俄罗斯捆绑训练的设定。你可以修改数量或者制作其他建筑、单位的捆绑训练。
如果我们要给其他国家添加捆绑训练,只要把语句复制去其他国家就可以了,例如给英国捆绑训练10个火枪手:
1. 在civs搜索British
2. 按照格式添加
<blocktrain>
<building>Barracks</building>
<unit>Musketeer</unit>
<count>10</count>
</blocktrain>
<civ>
<name>British</name>
<main>1</main>
<statsid>BR</statsid>
<portrait>objects\flags\british</portrait>
<culture>WesternEurope</culture>
<displaynameid>22861</displaynameid>
<rollovernameid>26060</rollovernameid>
<alliedid>26446</alliedid>
<alliedotherid>26445</alliedotherid>
<unalliedid>26444</unalliedid>
<agetech>
<age>Age0</age>
<tech>Age0British</tech>
</agetech>
<agetech>
<age>Age1</age>
<tech>ColonializeBritish</tech>
</agetech>
<agetech>
<age>Age2</age>
<tech>FortressizeBritish</tech>
</agetech>
<agetech>
<age>Age3</age>
<tech>IndustrializeBritish</tech>
</agetech>
<agetech>
<age>Age4</age>
<tech>ImperializeBritish</tech>
</agetech>
<postindustrialtech>PostIndustrialBritish</postindustrialtech>
<postimperialtech>PostImperialBritish</postimperialtech>
<buildingefficiency>0.3</buildingefficiency>
<gold>0</gold>
<food>0</food>
<wood>0</wood>
<startingunit>Explorer</startingunit>
<townstartingunit>Settler</townstartingunit>
<townstartingunit>Settler</townstartingunit>
<townstartingunit>Settler</townstartingunit>
<townstartingunit>Settler</townstartingunit>
<townstartingunit>Settler</townstartingunit>
<townstartingunit>Settler</townstartingunit>
<townstartingunit>CrateofFood</townstartingunit>
<townstartingunit>CrateofFood</townstartingunit>
<townstartingunit>CrateofWood</townstartingunit>
<townstartingunit>CrateofWood</townstartingunit>
<homecityfilename>homecitybritish.xml</homecityfilename>
<homecityflagtexture>objects\flags\british</homecityflagtexture>
<homecityflagbuttonset>britishFlagBtn</homecityflagbuttonset>
<homecityflagbuttonsetlarge>britishFlagBtnLarge</homecityflagbuttonsetlarge>
<postgameflagtexture>ui\ingame\ingame_ui_postgame_flag_british</postgameflagtexture>
<matchmakingtextures>
<bannertexture>ui\eso\civ_flags_quick_launch</bannertexture>
<bannertexturecoords>0 0.75 0.78125 0.875</bannertexturecoords>
<portraittexture>ui\eso\eso_quick_search_politicians_02</portraittexture>
<portraittexturecoords>0.4375 0.00390625 0.830078125 0.392578125</portraittexturecoords>
<smallportraittexture>ui\singleplayer\cpai_avatar_british</smallportraittexture>
<smallportraittexturecoords>0 0 1 1</smallportraittexturecoords>
</matchmakingtextures>
<unitregen>
<unittype>Hero</unittype>
<rate>0.25</rate>
<idletimeout>3.5</idletimeout>
</unitregen>
<unitregen>
<unittype>Minuteman</unittype>
<rate>-2.0</rate>
</unitregen>
<blocktrain>
<building>Barracks</building>
<unit>Musketeer</unit>
<count>10</count>
</blocktrain>
</civ>
(官方设定的)丢雷楼某的捆绑训练。
PS:注:捆绑训练会自己算人口、成本、经验,所以不需要你特意去增加几倍人口、资源之类的。
但是捆绑训练是不会帮你算训练时间的,需要你自己去设定好,例如俄罗斯的村民就是在techtreey.xml用科技变更了2.12倍建造时间。