文明6长城修改教程 文明6怎么修改长城
- 来源:槑喵王
- 作者:槑喵王
- 编辑:槑喵王
3.长城相邻加成修改
这个比较复杂,要修改两处,首先要向<Improvement_Adjacencies>标签内添加加成ID。
然后要根据每个ID设置加成及生效科技,单纯添加两者中的一个都无效
第一处:邻接ID添加到<Improvement_Adjacencies>标签,相似的结构都可以添加,只是加成的条件不同罢了,当然,必须是条件类标签。
<Improvement_Adjacencies>
<Row ImprovementType="IMPROVEMENT_FARM" YieldChangeId="Farms_MedievalAdjacency"/>
<Row ImprovementType="IMPROVEMENT_FARM" YieldChangeId="Farms_MechanizedAdjacency"/>
<Row ImprovementType="IMPROVEMENT_GREAT_WALL" YieldChangeId="GreatWall_Gold"/>
<Row ImprovementType="IMPROVEMENT_GREAT_WALL" YieldChangeId="GreatWall_Culture"/>
<Row ImprovementType="IMPROVEMENT_KURGAN" YieldChangeId="Kurgan_Faith"/>
<Row ImprovementType="IMPROVEMENT_COLOSSAL_HEAD" YieldChangeId="ColossalHead_FaithForest"/>
<Row ImprovementType="IMPROVEMENT_COLOSSAL_HEAD" YieldChangeId="ColossalHead_FaithJungle"/>
</Improvement_Adjacencies>
第二处:根据ID设置加成与生效科技
<Adjacency_YieldChanges>标签与上边的<Improvement_Adjacencies>呼应。
<Adjacency_YieldChanges>
<Row ID="Farms_MedievalAdjacency" Description="Placeholder" YieldType="YIELD_FOOD" YieldChange="1" TilesRequired="2" AdjacentImprovement="IMPROVEMENT_FARM" PrereqCivic="CIVIC_FEUDALISM" ObsoleteTech="TECH_REPLACEABLE_PARTS"/>
<Row ID="Farms_MechanizedAdjacency" Description="Placeholder" YieldType="YIELD_FOOD" YieldChange="1" TilesRequired="1" AdjacentImprovement="IMPROVEMENT_FARM" PrereqTech="TECH_REPLACEABLE_PARTS"/>
<Row ID="GreatWall_Gold" Description="Placeholder" YieldType="YIELD_GOLD" YieldChange="1" TilesRequired="1" AdjacentImprovement="IMPROVEMENT_GREAT_WALL" PrereqTech="TECH_MASONRY"/>
<Row ID="GreatWall_Culture" Description="Placeholder" YieldType="YIELD_CULTURE" YieldChange="1" TilesRequired="1" AdjacentImprovement="IMPROVEMENT_GREAT_WALL" PrereqTech="TECH_CASTLES"/>
<Row ID="Kurgan_Faith" Description="Placeholder" YieldType="YIELD_FAITH" YieldChange="1" TilesRequired="1" AdjacentImprovement="IMPROVEMENT_PASTURE"/>
<Row ID="ColossalHead_FaithForest" Description="Placeholder" YieldType="YIELD_FAITH" YieldChange="1" TilesRequired="2" AdjacentFeature="FEATURE_FOREST"/>
<Row ID="ColossalHead_FaithJungle" Description="Placeholder" YieldType="YIELD_FAITH" YieldChange="1" TilesRequired="2" AdjacentFeature="FEATURE_JUNGLE"/>
</Adjacency_YieldChanges>
<Modifiers>
红字为长城相邻加成ID内容
Description="Placeholder" 此加成的种类,简单的修改可以不用管,提一句给爱研究的玩家。
YieldType="YIELD_GOLD" YieldChange="1" 加成资源,加成数量
TilesRequired="1" 邻接需求数量,几个相邻的建筑可以进行加成。
PrereqTech="TECH_MASONRY" 生效科技
<Improvement_>标签下还有很多关于长城的设置,例如观光加成,简单改动就没必要细说了。
玩家点评 (0人参与,0条评论)
热门评论
全部评论