当前位置:首页文章详情

太阳帝国的原罪2修改教程 数据修改方法详解

发布时间:2024-08-19 13:30作者:silasa

  太阳帝国的原罪2如何修改游戏数据呢?很多玩家还不太清楚,下面给大家分享的是太阳帝国的原罪2数据修改方法详解,感兴趣的玩家可以一起来看一看。

  太阳帝国的原罪2修改教程

  以下是格式

  XXXXX表示分类,如帝国,行星,单位,武器,等等 silasa

  xxxxx表示项目,如武器类别下的射程,伤害,装填率,等等 silasa

  YYYYY表示运算方式,如scalar(标量,即乘法),additive(加法)等等 silasa

  yyyyy表示数据,如1,2,3,4,0.5,-0.5等等

  "XXXXX_modifiers": [

  {

  "modifier_type": "xxxxx",

  "value_behavior": "YYYYY",

  "value": yyyyy

  },

  这就是一个基本的单元格,

  以下是各种参数:

  帝国(empire_modifier):

  "build_exotic_price": "建造异域价格",

  "credit_income_rate": "信用收入",

  "crystal_income_rate": "水晶收入",

  "influence_points_recharge_rate": "影响力增长速率",

  "max_influence_points": "影响力点数",

  "metal_income_rate": "金属收入", silasa

  "percentage_of_other_players_total_credit_income": "其他玩家收入",

  "research_time": "研究时间",

  "trade_credits_income_rate": "贸易信贷收入",

  "trade_crystal_income_rate": "水晶贸易收入",

  "trade_metal_income_rate": "金属贸易收入",

  异域工厂(exotic_factory_modifier):

  "build_time": "异域建造时刻",

  中立势力(npc_modifier):

  "auction_bid_bonus_influence_points": "拍卖出价奖励",

  "buy_crystal_credits_cost": "购买水晶价格",

  "buy_metal_credits_cost": "金属购买价格",

  "reputation_ability_cooldown_duration": "小型派系技能冷却时间",

  "sell_crystal_credits_received": "出售水晶信用额", silasa

  "sell_exotic_credits_received": "出售异域信用点数",

  "sell_metal_credits_received": "出售金属信用点数收入",

  "send_raid_supply": "小型派系袭击规模",

  行星(planet_modifier):

  "any_development_track_build_price": "行星开发价格",

  "any_development_track_build_time": "行星开发建造时间",

  "bombing_damage_taken": "轰炸伤害承受",

  "civilian_research_points": "民用研究",

  "civilian_research_track_build_price": "民用研究设施升级价格",

  "civilian_research_track_build_time": "民用研究设施升级时间", silasa

  "commerce_track_build_price": "商业升级价格",

  "commerce_track_build_time": "商业升级建造时间",

  "commerce_track_credit_income_rate": "商业信贷收入率",

  "crystal_extraction_rate": "表面采矿速率(晶体)",

  "culture_rate": "文化扩张速率",

  "culture_resistance_rate": "文化阻力",

  "defense_track_build_price": "防御升级价格",

  "defense_track_build_time": "防御设施升级建造时间",

  "excavation_track_build_price": "挖掘价格",

  "excavation_track_build_time": "挖掘时间",

  "factory_exotic_build_time": "异域工厂建造时间",

  "factory_unit_build_price": "工厂单位价格",

  "factory_unit_build_time": "工厂单位建造时间",

  "gravity_well_radius": "引力井半径",

  "health_points_restore_rate": "行星健康再生",

  "logistics_track_build_price": "后勤升级费用",

  "logistics_track_build_time": "物流升级建造时间",

  "max_civilian_structure_slots": "额外的平民轨道槽", silasa

  "max_garrison_supply": "驻防补给",

  "max_health_points": "最大生命值",

  "max_influence_points": "影响力点数",

  "max_military_structure_slots": "额外的军事轨道插槽",

  "max_planet_component_slots": "行星物品槽",

  "max_shield_points": "最大行星护盾",

  "metal_extraction_rate": "地表采矿速率(金属)",

  "military_research_points": "军事研究",

  "military_research_track_build_price": "军事研究设施升级价格",

  "military_research_track_build_time": "军事研究设施升级时间",

  "mining_track_build_price": "采矿升级价格",

  "mining_track_build_time": "采矿升级建造时间",

  "orbital_extraction_crystal_income_rate": "轨道提取率(水晶)",

  "orbital_extraction_metal_income_rate": "轨道提取率(金属)", silasa

  "planet_component_price": "星球物品价格",

  "research_time": "研究时间",

  "shield_points_restore_rate": "行星护盾再生",

  "structure_build_price": "轨道建筑价格",

  "structure_build_time": "轨道结构建造时间",

  "structure_builder_count": "结构建造者",

  小飞机(strikecraft_modifier): "squadron_size": "编队规模",

  船厂(unit_factory_modifier):

  "build_time": "舰船建造时间",

  单位(unit_modifier):

  "ability_antimatter_cost": "技能反物质消耗",

  "ability_armor_cost": "护盾护甲成本",

  "ability_cooldown_duration": "技能冷却时间",

  "ability_hull_cost": "舰体成本",

  "ability_range": "技能范围", silasa

  "ability_shields_cost": "护盾能力消耗", silasa

  "antimatter_restore_rate": "反物质再生",

  "phase_resonance_bonus_duration": "共振持续时间"

  "armor_point_restore_cooldown_duration_after_damage_taken": "护甲再生冷却时间",

  "armor_point_restore_rate": "装甲再生",

  "armor_strength": "装甲强度",

  "civilian_research_points": "民用研究点数",

  "credit_income_rate": "信用收入",

  "crystal_income_rate": "水晶收入",

  "culture_rate": "文化扩散率",

  "culture_resistance_rate": "文化抵抗",

  "damage_taken": "受到的伤害",

  "experience_gained_from_loot_collection": "废弃太空船捕获经验",

  "experience_gained_from_planet_bombing": "行星轰炸经验",

  "experience_gained_from_unit_death": "击毁飞船经验",

  "experience_given_on_death": "经验奖励",

  "hull_crippled_percentage": "残破船体", silasa

  "hull_point_restore_cooldown_duration_after_damage_taken": "舰体再生冷却时间",

  "hull_point_restore_rate": "船体再生",

  "hyperspace_charge_time": "相位跳跃充能时间",

  "hyperspace_speed": "相位跳跃速度",

  "loot_collection_duration": "遗弃捕获时间",

  "max_angular_speed": "最大转向速度",

  "max_antimatter": "最大反物质",

  "max_armor_points": "最大装甲值",

  "max_hull_points": "最大船体点数",

  "max_linear_acceleration": "最大加速度",

  "max_linear_speed": "最高速度", silasa

  "max_shield_points": "最大护盾点数",

  "max_squadron_capacity": "最大编队插槽数",

  "metal_income_rate": "金属收入",

  "military_research_points": "军事研究点数",

  "self_build_time": "建造时间",

  "shield_burst_restore_cooldown_duration": "护盾冲击波恢复冷却时间",

  "shield_burst_restore_points": "护盾爆发恢复点",

  "shield_point_restore_cooldown_duration_after_damage_taken": "护盾再生冷却时间",

  "shield_point_restore_rate": "护盾再生",

  "ship_component_price": "商品价格",

  "strikecraft_build_time": "战机建造时间",

  "trade_export_credits_points": "贸易商品出口",

  "trade_export_crystal_points": "贸易水晶出口",

  "trade_export_metal_points": "金属出口贸易",

  "trade_import_points": "贸易出口点数",

  "unity": "团结",

  武器(weapon_modifier):

  "bypass_shields_chance": "绕过护盾几率",

  "cooldown_duration": "武器装填",

  "damage": "武器伤害", silasa

  "planet_bombing_cooldown_duration": "行星轰炸装填",

  "planet_bombing_damage": "行星轰炸伤害",

  "planet_bombing_range": "行星轰炸射程",

  "range": "武器射程",

  "tracking_speed": "武器跟踪速度",

  主力舰和泰坦修改满技能点其实是用了一个取巧的办法,即将它们的等级上限提高到14级,每一级一个技能点,于是便足够了。

  修改需要动用多个文件,因为主力舰和泰坦都分别有自己独立的文件,所以就是10个主力舰文件和4个泰坦文件

  具体修改过程如下:

  以trader_battle_capital_ship(科尔战舰)为例,用文本编辑器打开该文件,搜索"durability":,上方有一片连续的数据,一共有10片,代表10级中每一级的数据,复制最后一段,然后以相同的格式复制4次,于是你就有了14级的舰船数据

  接着"build":,上方同样有10片数据,那是每一级升级的数据,也是复制最后一段,再以同样的格式复制4次,就有了14级的升级数据。

  这里多说一句,同样的格式并不是说就只需要复制粘贴了,由于你是插入数据,原本结尾的格式要改成中间的格式,最后一段要改成结尾的格式,说白了就是有些地方要加逗号,有些地方要去掉逗号,有些语句要删,有些语句要增添。

  关于主力舰满插槽

  在每个主力舰文件的最后,找到如下语句:

  "items":

  {

  "levels": [

  {

  "max_ship_component_count": 4

  }]

  这是舰船插槽的语句,主力舰是4,修改成8即可满插槽了。

  以下是科尔战舰原版文件中health第十级数据的内容:

  {

  "max_shield_points": 2245.0,

  "shield_point_restore_rate": 11.4,

  "shield_burst_restore":

  {

  "cooldown_duration": 40,

  "restore_percentage": 0.5

  },

  "max_hull_points": 4730.0,

  "hull_point_restore_rate": 9.5,

  "hull_crippled_percentage": 1.0,

  "max_armor_points": 2605.0,

  "armor_point_restore_rate": 4.2,

  "armor_strength": 150.0,

  "experience_given_on_death": 640.0,

  "hull_point_restore_cooldown_duration_after_damage_taken": 60,

  "armor_point_restore_cooldown_duration_after_damage_taken": 60,

  "shield_point_restore_cooldown_duration_after_damage_taken": 20

  }],

  "durability": 500.0

  而以下是科尔战舰修改后health第十级到第十四级数据的内容:

  {

  "max_shield_points": 2245.0,

  "shield_point_restore_rate": 11.4,

  "shield_burst_restore":

  {

  "cooldown_duration": 40,

  "restore_percentage": 0.5

  },

  "max_hull_points": 4730.0,

  "hull_point_restore_rate": 9.5,

  "hull_crippled_percentage": 1.0,

  "max_armor_points": 2605.0,

  "armor_point_restore_rate": 4.2,

  "armor_strength": 150.0,

  "experience_given_on_death": 640.0,

  "hull_point_restore_cooldown_duration_after_damage_taken": 60,

  "armor_point_restore_cooldown_duration_after_damage_taken": 60,

  "shield_point_restore_cooldown_duration_after_damage_taken": 20

  },

  {

  "max_shield_points": 2245.0,

  "shield_point_restore_rate": 11.4,

  "shield_burst_restore":

  {

  "cooldown_duration": 40,

  "restore_percentage": 0.5

  },

  "max_hull_points": 4730.0,

  "hull_point_restore_rate": 9.5,

  "hull_crippled_percentage": 1.0,

  "max_armor_points": 2605.0,

  "armor_point_restore_rate": 4.2,

  "armor_strength": 150.0,

  "experience_given_on_death": 640.0,

  "hull_point_restore_cooldown_duration_after_damage_taken": 60,

  "armor_point_restore_cooldown_duration_after_damage_taken": 60,

  "shield_point_restore_cooldown_duration_after_damage_taken": 20

  },

  {

  "max_shield_points": 2245.0,

  "shield_point_restore_rate": 11.4,

  "shield_burst_restore":

  {

  "cooldown_duration": 40,

  "restore_percentage": 0.5

  },

  "max_hull_points": 4730.0,

  "hull_point_restore_rate": 9.5,

  "hull_crippled_percentage": 1.0,

  "max_armor_points": 2605.0,

  "armor_point_restore_rate": 4.2,

  "armor_strength": 150.0,

  "experience_given_on_death": 640.0,

  "hull_point_restore_cooldown_duration_after_damage_taken": 60,

  "armor_point_restore_cooldown_duration_after_damage_taken": 60,

  "shield_point_restore_cooldown_duration_after_damage_taken": 20

  },

  {

  "max_shield_points": 2245.0,

  "shield_point_restore_rate": 11.4,

  "shield_burst_restore":

  {

  "cooldown_duration": 40,

  "restore_percentage": 0.5

  },

  "max_hull_points": 4730.0,

  "hull_point_restore_rate": 9.5,

  "hull_crippled_percentage": 1.0,

  "max_armor_points": 2605.0,

  "armor_point_restore_rate": 4.2,

  "armor_strength": 150.0,

  "experience_given_on_death": 640.0,

  "hull_point_restore_cooldown_duration_after_damage_taken": 60,

  "armor_point_restore_cooldown_duration_after_damage_taken": 60,

  "shield_point_restore_cooldown_duration_after_damage_taken": 20

  },

  {

  "max_shield_points": 2245.0,

  "shield_point_restore_rate": 11.4,

  "shield_burst_restore":

  {

  "cooldown_duration": 40,

  "restore_percentage": 0.5

  },

  "max_hull_points": 4730.0,

  "hull_point_restore_rate": 9.5,

  "hull_crippled_percentage": 1.0,

  "max_armor_points": 2605.0,

  "armor_point_restore_rate": 4.2,

  "armor_strength": 150.0,

  "experience_given_on_death": 640.0,

  "hull_point_restore_cooldown_duration_after_damage_taken": 60,

  "armor_point_restore_cooldown_duration_after_damage_taken": 60,

  "shield_point_restore_cooldown_duration_after_damage_taken": 20

  }],

  "durability": 500.0

  以下是科尔战舰原版文件里第九级到第十级的升级数据:

  {

  "experience_to_next_level": 7800.0,

  "unit_modifiers":

  {

  "additive_values":

  {

  "max_antimatter": 385.0,

  "antimatter_restore_rate": 1.39

  },

  "scalar_values":

  {}

  },

  "weapon_modifiers":

  {

  "additive_values":

  {},

  "scalar_values":

  {

  "damage": 0.48,

  "cooldown_duration": -0.12

  }

  }

  },

  {

  "unit_modifiers":

  {

  "additive_values":

  {

  "max_antimatter": 405.0,

  "antimatter_restore_rate": 1.47

  },

  "scalar_values":

  {}

  },

  "weapon_modifiers":

  {

  "additive_values":

  {},

  "scalar_values":

  {

  "damage": 0.54,

  "cooldown_duration": -0.135

  }

  }

  }]

  而以下是科尔战舰第九级到第十四级的升级数据:

  {

  "experience_to_next_level": 7800.0,

  "unit_modifiers":

  {

  "additive_values":

  {

  "max_antimatter": 385.0,

  "antimatter_restore_rate": 1.39

  },

  "scalar_values":

  {}

  },

  "weapon_modifiers":

  {

  "additive_values":

  {},

  "scalar_values":

  {

  "damage": 0.48,

  "cooldown_duration": -0.12

  }

  }

  },

  {

  "experience_to_next_level": 7800.0,

  "unit_modifiers":

  {

  "additive_values":

  {

  "max_antimatter": 405.0,

  "antimatter_restore_rate": 1.47

  },

  "scalar_values":

  {}

  },

  "weapon_modifiers":

  {

  "additive_values":

  {},

  "scalar_values":

  {

  "damage": 0.54,

  "cooldown_duration": -0.135

  }

  }

  },

  {

  "experience_to_next_level": 7800.0,

  "unit_modifiers":

  {

  "additive_values":

  {

  "max_antimatter": 405.0,

  "antimatter_restore_rate": 1.47

  },

  "scalar_values":

  {}

  },

  "weapon_modifiers":

  {

  "additive_values":

  {},

  "scalar_values":

  {

  "damage": 0.54,

  "cooldown_duration": -0.135

  }

  }

  },

  {

  "experience_to_next_level": 7800.0,

  "unit_modifiers":

  {

  "additive_values":

  {

  "max_antimatter": 405.0,

  "antimatter_restore_rate": 1.47

  },

  "scalar_values":

  {}

  },

  "weapon_modifiers":

  {

  "additive_values":

  {},

  "scalar_values":

  {

  "damage": 0.54,

  "cooldown_duration": -0.135

  }

  }

  },

  {

  "experience_to_next_level": 7800.0,

  "unit_modifiers":

  {

  "additive_values":

  {

  "max_antimatter": 405.0,

  "antimatter_restore_rate": 1.47

  },

  "scalar_values":

  {}

  },

  "weapon_modifiers":

  {

  "additive_values":

  {},

  "scalar_values":

  {

  "damage": 0.54,

  "cooldown_duration": -0.135

  }

  }

  },

  {

  "unit_modifiers":

  {

  "additive_values":

  {

  "max_antimatter": 405.0,

  "antimatter_restore_rate": 1.47

  },

  "scalar_values":

  {}

  },

  "weapon_modifiers":

  {

  "additive_values":

  {},

  "scalar_values":

  {

  "damage": 0.54,

  "cooldown_duration": -0.135

  }

  }

  }]

复制本文链接 文章为极星岛下载站所有,未经允许不得转载。

上一篇:太阳帝国的原罪2a族前期过渡思路分享 下一篇:太阳帝国的原罪2高级版有什么 豪华版和普通版区别介绍

相关攻略
查看更多 ...
热门文章
...
热门专题
...
热门游戏
...
游戏更新
...