首页 无尽空间2 无尽空间2攻略 正文

无尽空间2文件修改教程 自定义地图种族特性技能方法

写在前面:修改目标文件位置:\Endless Space 2PublicSimulation


一、派系特征文件修改:“SimulationDescriptors[FactionTrait]”

文件原文(以传奇英雄2为例):

<SimulationDescriptor Name="FactionTraitLegendaryHeroes2" Type="FactionTrait">

<Modifier TargetProperty="Upkeep" Operation="Percent" Value="-0.5" Path="ClassEmpire/ClassGarrison/ClassHero"/>

<Modifier TargetProperty="ExperiencePerTurn" Operation="Addition" Value="2" Path="ClassEmpire/ClassGarrison/ClassHero"/>

<Modifier TargetProperty="ExperiencePerTurn" Operation="Addition" Value="2" Path="ClassEmpire/ClassColonizedStarSystem/ClassHero" TooltipHidden="true"/>

<Modifier TargetProperty="Upkeep" Operation="Percent" Value="-0.5" Path="ClassEmpire/ClassColonizedStarSystem/ClassHero" TooltipHidden="true"/>

</SimulationDescriptor>


要点提示:

TargetProperty:目标属性

Value:数值

Operation:直译操作,Addition加法、Subtraction减法、Percent百分比

Path:目标路径

TooltipHidden:隐藏提示,true或者false

Priority:有限度


示例修改:

<SimulationDescriptor Name="FactionTraitLegendaryHeroes2" Type="FactionTrait">

<Modifier TargetProperty="PopulationGrowthUpkeep" Value="-0.5" Operation="Percent" Path="ClassEmpire/ClassColonizedStarSystem"/> <!-- ×人口增长维护 -->

<Modifier TargetProperty="GarrisonMoneyUpkeep" Operation="Percent" Value="-0.5" Path="ClassEmpire//ClassGarrison"/> <!-- ×舰队维护 -->

<Modifier TargetProperty="TechnologyCost" Value="-0.5" Operation="Percent" Path="ClassEmpire/ClassResearch"/> <!-- ×科技研究成本 -->

<Modifier TargetProperty="BuildingProductionCostReduction" Operation="Subtraction" Value="0.5" Path="ClassEmpire/ClassColonizedStarSystem"/> <!-- -建筑生产成本 -->

<Modifier TargetProperty="ShipProductionCostReduction" Operation="Subtraction" Value="0.5" Path="ClassEmpire/ClassColonizedStarSystem"/> <!-- -舰船生产成本 -->

<Modifier TargetProperty="RecipeCostReduction" Value="-0.5" Operation="Addition" Path="ClassEmpire" Priority="1"/> <!-- +模块费用成本 -->

<Modifier TargetProperty="PeacefulTreatyCostReduction" Value="-0.5" Operation="Addition" Path="ClassEmpire"/> <!-- +政治条约成本 -->

<Modifier TargetProperty="MaximumCommandPoints" Operation="Addition" Value="5" Path="ClassEmpire"/> <!-- +指挥点数 -->

<Modifier TargetProperty="MaximumMovement" Operation="Addition" Value="5" Path="ClassEmpire/ClassGarrison/ClassShip"/> <!-- +移动点在飞船 -->

<Modifier TargetProperty="Happiness" Operation="Addition" Value="50" Path="ClassEmpire/ClassColonizedStarSystem"/> <!-- +快乐在星系 -->

<Modifier TargetProperty="BonusPopulationFood" Operation="Addition" Value="50" Path="ClassEmpire/ClassColonizedStarSystem/ClassPlanet"/> <!-- +食物 -->

<Modifier TargetProperty="BonusPopulationIndustry" Operation="Addition" Value="50" Path="ClassEmpire/ClassColonizedStarSystem/ClassPlanet"/> <!-- +工业 -->

<Modifier TargetProperty="BonusPopulationDust" Operation="Addition" Value="50" Path="ClassEmpire/ClassColonizedStarSystem/ClassPlanet"/> <!-- +星辰 -->

<Modifier TargetProperty="BonusPopulationScience" Operation="Addition" Value="50" Path="ClassEmpire/ClassColonizedStarSystem/ClassPlanet"/> <!-- +科学 -->

<Modifier TargetProperty="ApplyShouldForceRawFood" Value="5" Operation="Addition" Path="ClassEmpire/ClassColonizedStarSystem/ClassPlanet"/> <!-- +快乐食物 -->

<Modifier TargetProperty="ApplyShouldForceRawnIndustry" Value="5" Operation="Addition" Path="ClassEmpire/ClassColonizedStarSystem/ClassPlanet"/> <!-- +快乐工业 -->

<Modifier TargetProperty="ApplyShouldForceRawDust" Value="5" Operation="Addition" Path="ClassEmpire/ClassColonizedStarSystem/ClassPlanet"/> <!-- +快乐星辰 -->

<Modifier TargetProperty="ApplyShouldForceRawScience" Value="5" Operation="Addition" Path="ClassEmpire/ClassColonizedStarSystem/ClassPlanet"/> <!-- +快乐科学 -->

<Modifier TargetProperty="RawMaximumPopulation" Operation="Addition" Value="5" Path="ClassEmpire/ClassColonizedStarSystem/ClassColonizedPlanet,PlanetSizeTiny"/> <!-- +人口在微型行星 -->

<Modifier TargetProperty="RawMaximumPopulation" Operation="Addition" Value="5" Path="ClassEmpire/ClassColonizedStarSystem/ClassColonizedPlanet,PlanetSizeSmall"/> <!-- +人口在小型行星 -->

<Modifier TargetProperty="RawMaximumPopulation" Operation="Addition" Value="5" Path="ClassEmpire/ClassColonizedStarSystem/ClassColonizedPlanet,PlanetSizeMedium"/> <!-- +人口在中型行星 -->

<Modifier TargetProperty="RawMaximumPopulation" Operation="Addition" Value="5" Path="ClassEmpire/ClassColonizedStarSystem/ClassColonizedPlanet,PlanetSizeLarge"/> <!-- +人口在大型行星 -->

<Modifier TargetProperty="RawMaximumPopulation" Operation="Addition" Value="5" Path="ClassEmpire/ClassColonizedStarSystem/ClassColonizedPlanet,PlanetSizeHuge"/> <!-- +人口在巨型行星 -->

<Modifier TargetProperty="MaximumShipProbeStock" Operation="Addition" Value="5" Path="ClassEmpire/ClassGarrison/ClassShip,ShipRoleExploration"/> <!-- +节点分析 -->

<Modifier TargetProperty="GroundBattleDefenderTroopsMaxHealthMultiplier" Operation="Percent" Value="0.5" Path="ClassEmpire/ColonizedStarSystemStateColony,ClassColonizedStarSystem"/> <!-- ×驻防部队生命值在星系 -->

<Modifier TargetProperty="Upkeep" Operation="Percent" Value="-0.5" Path="ClassEmpire/ClassGarrison/ClassHero"/> <!-- ×英雄维护成本 -->

<Modifier TargetProperty="ExperiencePerTurn" Operation="Addition" Value="5" Path="ClassEmpire/ClassGarrison/ClassHero"/> <!-- +英雄经验每回合 -->

<Modifier TargetProperty="ExperiencePerTurn" Operation="Addition" Value="5" Path="ClassEmpire/ClassColonizedStarSystem/ClassHero" TooltipHidden="true"/> <!-- +英雄经验每回合在系统 -->

<Modifier TargetProperty="Upkeep" Operation="Percent" Value="-0.5" Path="ClassEmpire/ClassColonizedStarSystem/ClassHero" TooltipHidden="true"/> <!-- ×英雄维护成本在系统 -->

</SimulationDescriptor>

总结说明:

你可以交替修改Operation、Path、TargetProperty来实现不同加成;

配合FactionTraits[Major]、GuiElements[FactionTraits]、ES2_Localization_Locales……几个文件可以创造新的派系特性。


点击进入 无尽空间2 专区

相关信息

无尽空间2种族介绍 全种族特点解析
无尽空间2不落族玩法 无尽空间2不落族攻略思路分享
无尽空间2飞船在哪解锁 无尽空间2飞船科技解锁位置一览
无尽空间2沃狄亚尼怎么玩 无尽空间2沃狄亚尼族新手攻略一览
无尽空间2战舰怎么快速运输 战舰快运技巧心得分享
无尽空间2行星系怎么撤离 行星系撤离方法详解
无尽空间2联合帝国种田流怎么开局 联合帝国种田流玩法详解
无尽空间2人口过剩怎么办 无尽空间2过度殖民解决方法
无尽空间2怎么刷星尘 无尽空间2刷钱方法介绍
无尽空间2卡准备就绪怎么办 卡准备就绪解决方法介绍
无尽空间2不落族怎么玩 无尽空间2不落族玩法介绍
无尽空间2开发者模式进入方法 无尽空间2怎么进开发者模式
无尽空间2什么政体好 无尽空间2政体推荐
无尽空间2怎么送走不要的人群 送走人群方法介绍
无尽空间2怎么打造运输船队 无尽空间2战舰太慢怎么办
无尽空间2何瑞修任务怎么做 无尽空间2何瑞修随机任务攻略
无尽空间2地面部队怎么补充 无尽空间2飞船地面部队补充方法
无尽空间2虫族怎么玩 无尽空间2虫族征服胜利攻略
无尽空间2舰队战怎么打 无尽空间2虫族舰队战技巧攻略
无尽空间2人口满了怎么办 无尽空间2提高行星人口上限方法