lll147852369 发表于 2012-9-3 13:05

天马座传说个人修改心得

本帖最后由 lll147852369 于 2012-9-4 13:34 编辑

面对LoP的超大研究数量,我个人表示很无奈,:dizzy:光是人类科技,不计附加科技树就需要大约2300回合(个人经验),网上虽然有一些修改方法,但局限性较大,于是我自己对存档做了下研究,与大家分享一下结果。
以人类任务第二关第一回合自动存档为例:
存档由上至下,大致分为存档数据、玩家数据、星球数据、飞船数据
科技修改在玩家数据区进行
      <factions>
            <faction>
                <id>0</id>
                <teamID>0</teamID>                                                玩家编号
                <name>Administrator</name>                                     玩家名
                <raceType>humans</raceType>                                  种族
                <primary>
                  <factionColor>blue</factionColor>
                </primary>
                <secondary>
                  <factionColor>white</factionColor>
                </secondary>
                <playerType>player</playerType>
                <minTechlevel>2</minTechlevel>
                <maxTechlevel>4</maxTechlevel>
                <cameraStarsystemID>4421</cameraStarsystemID>
                <position x="-5705.577148" y="747.380920" z="2468.194092" />
                <pivot x="-3898.320801" y="-0.104553" z="1640.401001" />
                <slotStatus>occupied</slotStatus>
                <teamColorPatternId>0</teamColorPatternId>
                <InvisibleForDiplomacy>false</InvisibleForDiplomacy>
                <emblemId></emblemId>
                <homeSystemID>4421</homeSystemID>
                <homePlanetID>0</homePlanetID>
                <resources>
                  <militaryBudget>1.000000</militaryBudget>                  向下四项分别是工业、研究、防御、文化贡品投入率,改大可以提高效率,但会增加开销
                  <researchBudget>1.000000</researchBudget>               1.000000为100%
                  <industryBudget>1.000000</industryBudget>
                  <cultureBudget>1.000000</cultureBudget>
                  <globalTaxRate>0.300000</globalTaxRate>
                  <globalTradeDuty>0.200000</globalTradeDuty>
                  <ore>0.000000</ore>
                  <boronium>500.000000</boronium>      矿
                  <choxid>100.000000</choxid>               水晶(看起来像)
                  <race1>1500.000000</race1>                  货币
                  <race2>121.000000</race2>                  船长(此项改了也没用,好像跟星球数有关系)
                </resources>
                <resources_on_round_start>
                  <militaryBudget>1.000000</militaryBudget>
                  <researchBudget>1.000000</researchBudget>
                  <industryBudget>1.000000</industryBudget>
                  <cultureBudget>1.000000</cultureBudget>
                  <globalTaxRate>0.300000</globalTaxRate>
                  <globalTradeDuty>0.200000</globalTradeDuty>
                  <ore>0.000000</ore>
                  <boronium>500.000000</boronium>
                  <choxid>100.000000</choxid>
                  <race1>1500.000000</race1>
                  <race2>610.000000</race2>
                </resources_on_round_start>
                <exploredStarsystems>
                  <id>5395</id>
                </exploredStarsystems>
                <researchProgress>                                                                     这一段向下是科技,用已研究全科技的存档同字段替换就就全科技了                           
                  <tech id="Humans/Electronics/Tier0" progress="0" />               建议在遭遇战建立全科技存档备用,当然有闲心大可以一项项自己改
                  <tech id="Humans/RT/Tier2" progress="800" />
                  <tech id="Humans/RT/MissileCooldown1" progress="200" />
                  <tech id="Humans/Industrial/ProductionBuilding1" progress="0" />
                  <tech id="Humans/Industrial/ProductionBonusA1" progress="200" />
                  …………………………………………………………
                  <tech id="Humans/Support/RemoteMaintenanceSystems1" progress="800" />
                  <tech id="Humans/Support/Tier0" progress="0" />
                  <tech id="Humans/Support/Tier1" progress="200" />
                  <tech id="Humans/Support/Tier2" progress="800" />
                </researchProgress>
                <technologies>
                  <id>Humans/RT/Tier2</id>
                  <id>Humans/RT/MissileCooldown1</id>
                  <id>Humans/Industrial/MediumProductionBuilding1</id>
                  <id>Humans/Engine/ImpulseDrive1</id>
                  <id>Humans/Engine/ImpulseDrive2</id>
                  <id>Humans/Electronics/SmallSignatureDetection2</id>
                  …………………………………………………………
                  <id>Humans/Special/PopulationTransport1</id>
                  <id>Humans/Special/Tier0</id>
                  <id>Humans/Special/Tier2</id>
                  <id>Humans/Support/RemoteMaintenanceSystems1</id>
                  <id>Humans/Support/Tier0</id>
                  <id>Humans/Support/Tier1</id>
                  <id>Humans/Support/Tier2</id>
                </technologies>                                                                            到这为止
                <actualResearch></actualResearch>

向下好像是舰船蓝图,我并没细看

继续向下是星球数据
                <starsystem>
                  <dead>false</dead>
                  <position x="-1839.439575" y="5.876701" z="868.948608" />
                  <lastPosition x="60.041527" y="6.128212" z="103.923340" />
                  <face x="0.000000" y="0.000000" z="-1.000000" />
                  <up x="0.000000" y="1.000000" z="0.000000" />
                  <mass>0.000000</mass>
                  <rotation x="0.000000" y="0.000000" z="0.000000" />
                  <friction>0.000000</friction>
                  <roll>0.000000</roll>
                  <movementDirection x="0.000000" y="0.000000" z="-1.000000" />
                  <velocity>0.000000</velocity>
                  <id>4421</id>
                  <name>Alpha-02</name>
                  <aliasName>M3</aliasName>
                  <unitType>starsystem</unitType>
                  <factionID>-1</factionID>
                  <locationID>-1</locationID>
                  <locationType>galaxymap</locationType>
                  <hitpoints>0</hitpoints>
                  <hitpointsmax>0</hitpointsmax>
                  <destroyed>false</destroyed>
                  <communicationID></communicationID>
                  <selectable>true</selectable>
                  <ignored>false</ignored>
                  <skyboxId>Skybox/General/01</skyboxId>
                  <sunColorType>YELLOW</sunColorType>
                  <sunColor r="1.000000" g="1.000000" b="1.000000" a="1.000000" />
                  <primaryColor r="0.596000" g="0.596000" b="0.596000" a="1.000000" />
                  <secondaryColor r="1.000000" g="0.996000" b="0.756000" a="1.000000" />
                  <scale>6</scale>
                  <stargateOrbit>8</stargateOrbit>
                  <active>true</active>
                  <planet>                                                                                                             以上是星系描述,向下时星球描述
                        <dead>false</dead>
                        <position x="-1893.347046" y="0.000000" z="-2327.063232" />                这是星球坐标
                        <lastPosition x="-1890.193237" y="0.000000" z="-2329.625732" />
                        <face x="0.000000" y="0.000000" z="-1.000000" />
                        <up x="0.000000" y="1.000000" z="0.000000" />
                        <mass>0.000000</mass>
                        <rotation x="0.000000" y="0.000000" z="0.000000" />
                        <friction>0.000000</friction>
                        <roll>0.000000</roll>
                        <movementDirection x="0.000000" y="0.000000" z="-1.000000" />
                        <velocity>0.000000</velocity>
                        <id>10567</id>                                                                     星球编号,涉及引用时用的是这个
                        <name>Alpha-02 - 4</name>                                                星球名称,你看的的那个,注意空格,找星球这里最方便
                        <aliasName></aliasName>
                        <unitType>planet</unitType>
                        <factionID>-1</factionID>
                        <locationID>4421</locationID>
                        <locationType>starsystem</locationType>
                        <hitpoints>0</hitpoints>
                        <hitpointsmax>0</hitpointsmax>
                        <destroyed>false</destroyed>
                        <communicationID></communicationID>
                        <selectable>true</selectable>
                        <ignored>false</ignored>
                        <atmosphere1>2</atmosphere1>
                        <atmosphere2>3</atmosphere2>
                        <pollutionCleaningValue>0</pollutionCleaningValue>
                        <planetConsistency>GAS</planetConsistency>                  星球类型可改(gas是气体行星,不可殖民,改动后需添置地格才行)
                        <model>
                            <modelGas>
                              <size>11815</size>
                              <temperature>0.490000</temperature>
                              <rotationSpeed>0</rotationSpeed>
                              <atmosphereColor r="0.900000" g="0.760000" b="0.890000" a="1.000000" />
                              <gasRingDensity>0.965064</gasRingDensity>
                              <offsetRingLayer0>0.211521</offsetRingLayer0>
                              <offsetRingLayer1>0.055008</offsetRingLayer1>
                            </modelGas>
                        </model>
                        <dynamics>
                            <nativePopulation>319</nativePopulation>
                            <additionalPopulation>0</additionalPopulation>
                            <populationGrowth>0.000000</populationGrowth>
                            <maxPopulationActual>0</maxPopulationActual>
                            <urbanDensity>0.000000</urbanDensity>
                            <mainPlanet>false</mainPlanet>
                            <culturePoints>0</culturePoints>
                            <cultureNeed>0</cultureNeed>
                            <moral>0.000000</moral>
                            <targetMoral>0.000000</targetMoral>
                            <pollutionValue>0</pollutionValue>
                            <pollutionTrend>0</pollutionTrend>
                            <productivity>0.000000</productivity>
                            <taxrateShift>0.000000</taxrateShift>
                            <cultureBudgetShift>0.000000</cultureBudgetShift>
                            <researchBudgetShift>0.000000</researchBudgetShift>
                            <industryBudgetShift>0.000000</industryBudgetShift>
                            <militaryBudgetShift>0.000000</militaryBudgetShift>
                            <productionPoints>0</productionPoints>
                            <productionBoost>0</productionBoost>
                            <researchPoints>0</researchPoints>
                            <orbitRadius>100</orbitRadius>
                            <sensorRadius>2000</sensorRadius>
                            <weaponRadius>400</weaponRadius>
                            <defensePoints>0</defensePoints>
                            <droppedTroops>0</droppedTroops>
                            <droppedEnemyTroops>0</droppedEnemyTroops>
                            <invasionEnemyFactionId>-1</invasionEnemyFactionId>
                        </dynamics>
                        <planetSlots />
                        <terraformingActive>false</terraformingActive>
                        <guildType>unknown</guildType>
                        <invasionInProgress>false</invasionInProgress>
                  </planet>
                  <planet>
                        <dead>false</dead>
                        <position x="-1633.957275" y="0.000000" z="1153.334595" />
                        <lastPosition x="-1634.026611" y="0.000000" z="1153.236206" />
                        <face x="0.000000" y="0.000000" z="-1.000000" />
                        <up x="0.000000" y="1.000000" z="0.000000" />
                        <mass>0.000000</mass>
                        <rotation x="0.000000" y="0.000000" z="0.000000" />
                        <friction>0.000000</friction>
                        <roll>0.000000</roll>
                        <movementDirection x="0.000000" y="0.000000" z="-1.000000" />
                        <velocity>0.000000</velocity>
                        <id>10568</id>
                        <name>Alpha-02 - 3</name>                                                                  这是任务初始行星
                        <aliasName></aliasName>
                        <unitType>planet</unitType>
                        <factionID>-1</factionID>
                        <locationID>4421</locationID>
                        <locationType>starsystem</locationType>
                        <hitpoints>0</hitpoints>
                        <hitpointsmax>0</hitpointsmax>
                        <destroyed>false</destroyed>
                        <communicationID></communicationID>
                        <selectable>true</selectable>
                        <ignored>false</ignored>
                        <atmosphere1>0</atmosphere1>
                        <atmosphere2>2</atmosphere2>
                        <pollutionCleaningValue>0</pollutionCleaningValue>
                        <planetConsistency>SOLID</planetConsistency>                              solid为可殖民固体行星
                        <model>
                            <modelSolid>
                              <size>3786</size>
                              <temperature>0.720000</temperature>
                              <rotationSpeed>2</rotationSpeed>
                              <atmosphereColor r="0.500000" g="0.500000" b="0.900000" a="1.000000" />
                              <water>0.291391</water>
                              <ice>0.000000</ice>
                              <vegetation>0.728477</vegetation>
                              <rock>0.000000</rock>
                              <height>0.275164</height>
                            </modelSolid>
                        </model>
                        <surfaceset>                                                    下为地表描述,就是给你看的,没啥用
                            <surfaceSet>
                              <water>1</water>
                              <desert1>7</desert1>
                              <desert2>0</desert2>
                              <forest1>2</forest1>
                              <forest2>1</forest2>
                              <ice>0</ice>
                              <rock>1</rock>
                              <offsetHeight>0.752734</offsetHeight>
                              <offsetClima>0.300940</offsetClima>
                              <offsetSurface>0.954164</offsetSurface>
                              <offsetNormal>0.279940</offsetNormal>
                              <offsetClouds>0.937297</offsetClouds>
                              <offsetHeightLayer1>0.693146</offsetHeightLayer1>
                              <offsetHeightLayer2>0.387242</offsetHeightLayer2>
                              <offsetClimaLayer1>0.645613</offsetClimaLayer1>
                              <offsetClimaLayer2>0.560151</offsetClimaLayer2>
                            </surfaceSet>
                        </surfaceset>
                        <dynamics>
                            <nativePopulation>928</nativePopulation>
                            <additionalPopulation>0</additionalPopulation>
                            <populationGrowth>0.000000</populationGrowth>
                            <maxPopulationActual>0</maxPopulationActual>
                            <urbanDensity>0.000000</urbanDensity>
                            <mainPlanet>false</mainPlanet>
                            <culturePoints>0</culturePoints>
                            <cultureNeed>0</cultureNeed>
                            <moral>0.000000</moral>
                            <targetMoral>0.000000</targetMoral>
                            <pollutionValue>0</pollutionValue>
                            <pollutionTrend>0</pollutionTrend>
                            <productivity>0.000000</productivity>
                            <taxrateShift>0.000000</taxrateShift>
                            <cultureBudgetShift>0.000000</cultureBudgetShift>
                            <researchBudgetShift>0.000000</researchBudgetShift>
                            <industryBudgetShift>0.000000</industryBudgetShift>
                            <militaryBudgetShift>0.000000</militaryBudgetShift>
                            <productionPoints>0</productionPoints>
                            <productionBoost>0</productionBoost>
                            <researchPoints>0</researchPoints>
                            <orbitRadius>100</orbitRadius>
                            <sensorRadius>2000</sensorRadius>
                            <weaponRadius>400</weaponRadius>
                            <defensePoints>0</defensePoints>
                            <droppedTroops>0</droppedTroops>
                            <droppedEnemyTroops>0</droppedEnemyTroops>
                            <invasionEnemyFactionId>-1</invasionEnemyFactionId>
                        </dynamics>
                        <planetSlots>                                                                                       这里开始是地格数据
                            <planetSlot>
                              <id>0</id>                                                                   地格编号,好像可以决定地格位置,在添加地格时不要重复
                              <industrialBonus>0.000000</industrialBonus>            下三项分别为地格对工业、社会、研究加成,调高此项不会提高维
                              <socialBonus>0.000000</socialBonus>                         护费用,大可尽情修改
                              <researchBonus>0.000000</researchBonus>
                              <buildingFinished>false</buildingFinished>                      建筑状态,在有建筑是会变化
                              <constructionQueueId>-1</constructionQueueId>
                              <planetID>10568</planetID>                                        所在星球
                              <type>16</type>                                                          地格类型(1为绿,2为红,4为蓝,16为白,32为轨道地格)
                            </planetSlot>                                                                      通过添加以上字段可以增加地格数目
                            <planetSlot>
                              <id>1</id>
                              <industrialBonus>0.000000</industrialBonus>
                              <socialBonus>0.000000</socialBonus>
                              <researchBonus>0.000000</researchBonus>
                              <buildingFinished>false</buildingFinished>
                              <constructionQueueId>-1</constructionQueueId>
                              <planetID>10568</planetID>
                              <type>16</type>
                            </planetSlot>



有建筑的地格会多出以下字段
                              <componentInstance>
                                    <componentType>planetcomponent</componentType>
                                    <specialComponentType>colony</specialComponentType>                   这是建筑类型
                                    <remainingProductionPoints>0.000000</remainingProductionPoints>
                                    <productionpoints>0.000000</productionpoints>
                                    <componentID>Humans/Internal/OrbitalModule/Colony1</componentID>
                                    <lastComponentID></lastComponentID>
                                    <planetID>10568</planetID>
                                    <planetSlotID>2</planetSlotID>
                              </componentInstance>

舰船我试着修改过,但只有位置成功了,没什么应用价值,在下就暂不赘述,如果以后弄明白怎么修改,我会添加上。

另外有一点要注意,绿色地格的社会加成好像是针对文化贡品而不是人口上限

以上,转帖时请附原帖链接






善良的蚂蚁 发表于 2015-7-11 20:58

首先……存档在哪……

ancientdoom 发表于 2019-9-17 22:06

:loveliness:
页: [1]
查看完整版本: 天马座传说个人修改心得