《纪元1404》旗舰FlagShip修改详细方法

单机攻略      更新:2017-08-18

anno1404发布了一段时间了,可能是汉化没出的原因吧,大家的关注还在沉船和东印度上,每次登陆论坛总要看看有没有最新的心得和左贤王汉化,但每次都失望而归。

经过不断的摸索,我发一个旗舰“FlagShip”的修改,希望抛砖引玉,能看到更多的好贴。
如果有不正确的地方,或者大家觉得太小儿科了敬请谅解。

修改文件\data\config\game\assset.xml

说明:修改的是游戏开始时就有的旗舰,特征是生命600,攻击6点,货仓4格,宝物栏2个
                   大家使用时将“//”和之后的注释去掉

查找关键字“<GUID>15912</GUID>”,15912就是旗舰的编号

<Asset>
                 <Template>WarShip</Template>
                 <Values>
                   <AIInfos>
                     <SeaStrength>20</SeaStrength>//新添加的,原句采用默认设置
                   </AIInfos>
                   <BuildCost>
                     <MoneyCost>3500</MoneyCost>//制造价格,因为没有定义制造地方,设了也没用
                   </BuildCost>
                   <Hitpoints>
                     <MaxHitpoints>1000</MaxHitpoints>//生命值,原来是600
                   </Hitpoints>
                   <InfoLayer />
                   <ItemContainer>
                     <Sockets>
                       <Ship>2</Ship>//宝物栏,改成3也可以,但是显示不出来,而且宝物放上去就拿不下来
                     </Sockets>
                   </ItemContainer>
                   <KIModule />
                   <MaintenanceCost />
                   <Mesh>
                     <ShowGlyph>1</ShowGlyph>
                   </Mesh>
                   <Object>
                     <Variations>
                       <Item>
                         <Filename>data\graphics\units\ships\north\flagship\n_flagship.cfg</Filename>
                       </Item>
                     </Variations>
                     <NamePool>OccidentShip</NamePool>
                   </Object>
                   <ObjectSpawner />
                     <RepairShips>
                       <SelfHealingPointsPerMinute>50</SelfHealingPointsPerMinute>//新添加的,自动修理功能,每分钟50点,借鉴海盗船
                     </RepairShips>
                   <Selection />
                   <Ship>
                     <VisionRadius>40</VisionRadius>//视野,没必要修改
                     <DestructionConfig>data\graphics\units\ships\north\flagship\n_flagship_damaged.cfg</DestructionConfig>
                     <ShipClaimNeeded>0</ShipClaimNeeded>
                     <LoadFactor>819</LoadFactor>
                     <DamageFactor>3072</DamageFactor>
                     <ShipMoveSound>2607</ShipMoveSound>
                     <ShipIdleSound>2610</ShipIdleSound>
                     <ShipTurnSound>2628</ShipTurnSound>
                     <ShipDestroySound>2633</ShipDestroySound>
                   </Ship>
                   <ShipCombat>
                     <AttackRange>15</AttackRange>//攻击距离,没必要修改
                     <DamagePerSecond>10</DamagePerSecond>//伤害,原来是6
                     <AttackAngle>90</AttackAngle>
                     <ShipProjectileGUID>11501</ShipProjectileGUID>
                     <PursuitAttackRangePercentage>60</PursuitAttackRangePercentage>//估计是命中率,没有修改
                   </ShipCombat>
                   <Standard>
                     <Name>Flagship</Name>//船类型,这里是旗舰
                     <GUID>15912</GUID>//船ID号,如果你要修改船坞能制造的船,就要留意这个
                   </Standard>
                   <TradingPrice>
                     <BaseGoldPrice>4600</BaseGoldPrice>//NPC出售价,没有关注过,改高了自己买不起
                     <MinTradingPrice>4600</MinTradingPrice>//同上
                     <MaxTradingPrice>4600</MaxTradingPrice>//同上
                   </TradingPrice>
                   <Transport>
                     <SlotCount>4</SlotCount>//船舱数量,没有修改,可以改成6
                     <SlotCapacity>100</SlotCapacity>//新添加的,定义每个舱室装载量为100                      
                   </Transport>
                   <Walking>
                     <WalkingSpeed>16000</WalkingSpeed>//速度,原来是14500
                     <TurnRadiusMinimum>256</TurnRadiusMinimum>
                     <TurnDeceleration>2300</TurnDeceleration>
                   </Walking>
                 </Values>
               </Asset>
以上就是我的修改,这样一来,旗舰就更好用了。
但是,当随着隐藏的SilverShip和GoldShip被解开,我们可以使用这两种船开局时,上面的设置就不起作用了,
因为他们的配置文件是不同的,以下就是“Achievementship”(金船)和“Preordership”(银船)。

<Asset>
                 <Template>WarShip</Template>
                 <Values>
                   <AIInfos>
                     <SeaStrength>40</SeaStrength>
                   </AIInfos>
                   <BuildCost>
                     <MoneyCost>3500</MoneyCost>
                   </BuildCost>
                   <Hitpoints>
                     <MaxHitpoints>2000</MaxHitpoints>
                   </Hitpoints>
                   <InfoLayer />
                   <ItemContainer>
                     <Sockets>
                       <Ship>2</Ship>
                     </Sockets>
                   </ItemContainer>
                   <KIModule />
                   <MaintenanceCost />
                   <Mesh>
                     <ShowGlyph>1</ShowGlyph>
                   </Mesh>
                   <Object>
                     <Variations>
                       <Item>
                         <Filename>data\graphics\units\ships\north\achievement_ship\n_achievement_ship.cfg</Filename>
                       </Item>
                     </Variations>
                     <NamePool>OccidentShip</NamePool>
                   </Object>
                   <ObjectSpawner />
                   <RepairShips>
                     <SelfHealingPointsPerMinute>200</SelfHealingPointsPerMinute>
                   </RepairShips>
                   <Selection />
                   <Ship>
                     <VisionRadius>40</VisionRadius>
                     <DestructionConfig>data\graphics\units\ships\north\achievement_ship\n_achievement_ship_damaged.cfg</DestructionConfig>
                     <ShipClaimNeeded>0</ShipClaimNeeded>
                     <LoadFactor>819</LoadFactor>
                     <DamageFactor>3072</DamageFactor>
                     <ShipMoveSound>2607</ShipMoveSound>
                     <ShipIdleSound>2610</ShipIdleSound>
                     <ShipTurnSound>2628</ShipTurnSound>
                     <ShipDestroySound>2633</ShipDestroySound>
                   </Ship>
                   <ShipCombat>
                     <AttackRange>15</AttackRange>
                     <DamagePerSecond>20</DamagePerSecond>
                     <AttackAngle>90</AttackAngle>
                     <ShipProjectileGUID>11501</ShipProjectileGUID>
                     <PursuitAttackRangePercentage>80</PursuitAttackRangePercentage>
                   </ShipCombat>
                   <Standard>
                     <Name>Achievementship</Name>
                     <GUID>15923</GUID>
                     <Versions>Anno1404;Beta01;Beta02;Demo01;Demo02;Addon01;Addon02;BETA_TEXTURE_NONE</Versions>
                   </Standard>
                   <TradingPrice>
                     <BaseGoldPrice>4600</BaseGoldPrice>
                     <MinTradingPrice>4600</MinTradingPrice>
                     <MaxTradingPrice>4600</MaxTradingPrice>
                   </TradingPrice>
                   <Transport>
                     <SlotCount>6</SlotCount>
                     <SlotCapacity>500</SlotCapacity>
                   </Transport>
                   <Walking>
                     <WalkingSpeed>24000</WalkingSpeed>
                     <TurnRadiusMinimum>256</TurnRadiusMinimum>
                     <TurnDeceleration>2300</TurnDeceleration>
                   </Walking>
                 </Values>
               </Asset>
               <Asset>
                 <Template>WarShip</Template>
                 <Values>
                   <AIInfos>
                     <SeaStrength>30</SeaStrength>
                   </AIInfos>
                   <BuildCost>
                     <MoneyCost>3500</MoneyCost>
                   </BuildCost>
                   <Hitpoints>
                     <MaxHitpoints>1500</MaxHitpoints>
                   </Hitpoints>
                   <InfoLayer />
                   <ItemContainer>
                     <Sockets>
                       <Ship>2</Ship>
                     </Sockets>
                   </ItemContainer>
                   <KIModule />
                   <MaintenanceCost />
                   <Mesh>
                     <ShowGlyph>1</ShowGlyph>
                   </Mesh>
                   <Object>
                     <Variations>
                       <Item>
                         <Filename>data\graphics\units\ships\north\preorder_ship\n_preorder_ship.cfg</Filename>
                       </Item>
                     </Variations>
                     <NamePool>OccidentShip</NamePool>
                   </Object>
                   <ObjectSpawner />
                     <RepairShips>
                       <SelfHealingPointsPerMinute>100</SelfHealingPointsPerMinute>
                     </RepairShips>
                   <Selection />
                   <Ship>
                     <VisionRadius>40</VisionRadius>
                     <DestructionConfig>data\graphics\units\ships\north\preorder_ship\n_preorder_ship_damaged.cfg</DestructionConfig>
                     <ShipClaimNeeded>0</ShipClaimNeeded>
                     <LoadFactor>819</LoadFactor>
                     <DamageFactor>3072</DamageFactor>
                     <ShipMoveSound>2607</ShipMoveSound>
                     <ShipIdleSound>2610</ShipIdleSound>
                     <ShipTurnSound>2628</ShipTurnSound>
                     <ShipDestroySound>2633</ShipDestroySound>
                   </Ship>
                   <ShipCombat>
                     <AttackRange>15</AttackRange>
                     <DamagePerSecond>15</DamagePerSecond>
                     <AttackAngle>90</AttackAngle>
                     <ShipProjectileGUID>11501</ShipProjectileGUID>
                     <PursuitAttackRangePercentage>70</PursuitAttackRangePercentage>
                   </ShipCombat>
                   <Standard>
                     <Name>Preordership</Name>
                     <GUID>15951</GUID>
                     <Versions>Anno1404;Beta01;Beta02;Demo01;Demo02;Addon01;Addon02;BETA_TEXTURE_NONE</Versions>
                   </Standard>
                   <TradingPrice>
                     <BaseGoldPrice>4600</BaseGoldPrice>
                     <MinTradingPrice>4600</MinTradingPrice>
                     <MaxTradingPrice>4600</MaxTradingPrice>
                   </TradingPrice>
                   <Transport>
                     <SlotCount>5</SlotCount>
                     <SlotCapacity>200</SlotCapacity>
                   </Transport>
                   <Walking>
                     <WalkingSpeed>20000</WalkingSpeed>
                     <TurnRadiusMinimum>256</TurnRadiusMinimum>
                     <TurnDeceleration>2300</TurnDeceleration>
                   </Walking>
                 </Values>
               </Asset>
               
修改结果大致为:生命1500(银)2000(金),攻击15点(银)20点(金),货仓5格(银)6格(金),
舱室装载量200(银)500(金),速度2000(银)2400(金),修理100(银)200(金)。


另外说一下,当使用银船开局时,电脑使用的还是FlagShip,你可以到海盗港刷开战的那个许可书和接铉的钩子,把FlagShip抢过来。银船强大得多,可以直接挂钩。

如果实在想玩金船,可以修改小船厂和大船厂,让它们可以生产银船和金船,不过敌人也会造。

小船厂(第3个是银船)
                   <ShipProduction>
                     <Assortment>
                       <Item>
                         <ShipGUID>15913</ShipGUID>
                         <ProductionTime>45000</ProductionTime>
                         <TooltipGUID>155016</TooltipGUID>
                       </Item>
                       <Item>
                         <ShipGUID>15915</ShipGUID>
                         <ProductionTime>90000</ProductionTime>
                         <TooltipGUID>155017</TooltipGUID>
                       </item>
                       <Item>
                         <ShipGUID>15951</ShipGUID>
                         <ProductionTime>90000</ProductionTime>
                       </item>
                     </Assortment>
                   </ShipProduction>

大船厂(第3个是金船)
                   <ShipProduction>
                     <Assortment>
                       <Item>
                         <ShipGUID>15914</ShipGUID>
                         <ProductionTime>120000</ProductionTime>
                         <TooltipGUID>155018</TooltipGUID>
                       </Item>
                       <Item>
                         <ShipGUID>15916</ShipGUID>
                         <ProductionTime>150000</ProductionTime>
                         <TooltipGUID>155019</TooltipGUID>
                       </item>
                       <item>
                         <ShipGUID>15923</ShipGUID>
                         <ProductionTime>150000</ProductionTime>
                       </Item>
                     </Assortment>
                   </ShipProduction>

因为没有相关的<TooltipGUID>号码,所以看不到所需的金额和材料,不过应该可以制造。


原文地址:http://www.18pk.com/web/wen-269373.html 转载请在文首保留此行。

感兴趣的