简单研究与简单修改,附带示例MOD下载。更新派系特性文件。
本帖最后由 凌月书生 于 2016-10-18 14:23 编辑吐槽预留……
目标文件位置:\\Endless Space 2\Public\Simulation
派系特征文件:“SimulationDescriptors”
文件原文(以传奇英雄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="Damage" Operation="Percent" Value="0.5" Path="ClassEmpire/ClassGarrison/ClassShip/ClassSection/ClassModule,ClassModuleWeapon"/> <!-- ×伤害模块武器 -->
<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、GuiElements、ES2_Localization_Locales……几个文件可以创造新的派系特性。
特殊星球文件:“SimulationDescriptors”
文件原文(以托尔星球为例):
<SimulationDescriptor Name="UniquePlanetTor" Type="UniquePlanet" >
<Modifier TargetProperty="PlanetRawIndustry" Operation="Addition" Value="1" />
<Modifier TargetProperty="PlanetRawFood" Operation="Addition" Value="3" />
<Modifier TargetProperty="PlanetRawScience" Operation="Addition" Value="7" />
<Modifier TargetProperty="PlanetRawDust" Operation="Addition" Value="1" />
<Modifier TargetProperty="PlanetRawPrestige" Operation="Addition" Value="8" />
</SimulationDescriptor>
要点提示:
name:星球内部名称,UniquePlanetSophons(智者母星)、UniquePlanetCravers(渴望母星)、UniquePlanetVampirilis(阿尼母星)、UniquePlanetVenetians(里斯母星)
Type:星球类型,UniquePlanet(唯一)、
Modifier:修饰符,PlanetRawIndustry:工业、PlanetRawFood(食物)、PlanetRawScience(科学)、PlanetRawDust(金币)、RawMaximumPopulation(声望)、Happiness(幸福)、RawMaximumPopulation(人口)、PlanetDepletionMax(消耗)
示例修改:
<SimulationDescriptor Name="UniquePlanetCravers" Type="UniquePlanet" />
<SimulationDescriptor Name="UniquePlanetCravers" Type="UniquePlanet" >
<Modifier TargetProperty="PlanetRawIndustry" Operation="Addition" Value="100" /><!-- Addition添加数值、Percent百分比 -->
<Modifier TargetProperty="PlanetRawFood" Operation="Addition" Value="100" />
<Modifier TargetProperty="PlanetRawScience" Operation="Addition" Value="100" />
<Modifier TargetProperty="PlanetRawDust" Operation="Addition" Value="100" />
<Modifier TargetProperty="Happiness" Operation="Addition" Value="100" />
<Modifier TargetProperty="RawMaximumPopulation" Operation="Addition" Value="14" Path="ClassPlanet"/><!-- 最大14 -->
<Modifier TargetProperty="AnomalyCount" Operation="Addition" Value="1"Path="ClassPlanet"/><!-- 最大1 -->
<Modifier TargetProperty="PlanetDepletionMax" Operation="Addition" Value="5000" Path="ClassPlanet"/>
</SimulationDescriptor>
总结说明:
你可以通过只修改单个种族母星来实现作弊或加强难度。
英雄参数文件:SimulationDescriptors
<Property Name="SkillPoints" BaseValue="15"/><!-- 初始技能点 -->
<Property Name="SpecializationPoints" BaseValue="0"/><!-- 专业点数? -->
<BinaryModifier TargetProperty="SkillPoints" Operation="Addition" Left="$(Level)" BinaryOperation="Subtraction" Right="1" Path="ClassHero"/><!-- 每升多少级给予技能点 -->
<BinaryModifier TargetProperty="SpecializationPoints" Operation="Addition" Left="$(Level)" BinaryOperation="Division" Right="5" Path="ClassHero"/><!-- 每升多少级给予专业点 --> 本帖最后由 凌月书生 于 2016-10-17 14:29 编辑
根目录解压即用,注意备份:
更新说明:
1610172更新:母星添加了幸福加成和消耗上限。
示例简介:
●全种族初始母星加强
●英雄初始大量技能点
附件下载(基于α0.1.0版本):
**** Hidden Message *****
示例图片:
谢谢感激啊正需要啊 过来看看,学习学习
下载来用看看会不会更有趣
过来看看,学习学习
請問有0.13漢化消息嗎@@ 大神那你地修改器类....还有 汉化组干嘛去啦
谢谢提供
看看............. 谢谢分享!!! 顶楼主啦..希望楼主多发精品好帖啦..... 999999999999999999999999999999999
缺粮食啊啊啊 加了法律还缺粮................. 感謝修改分享~~~~~~~
dzb214092 发表于 2016-10-17 17:31
大神那你地修改器类....还有 汉化组干嘛去啦
!!!我也是玩家啊,無聊自己研究修改,跟漢化組修改器組八竿子打不著啊
LLLLLLLLLLLLLLLLLLLLLLLLLLL 好东西,谢谢楼主分享 顶楼主啦..希望楼主多发精品好帖啦..... 6666666666666666 {:3_92:}{:3_92:}
看看貌似不错啊
谢谢分享
kankan~~~~~~~~~~~~~
zhichig a啊啊啊 几乎罚款了事的积分老卡机第三方
感谢楼主分享
感谢分享!
RE: 简单研究与简单修改,附带
非常感谢楼主 赞一个,能改母星科技是吧