注册 | 登录

游侠NETSHOW论坛





查看: 15518|回复: 8
打印 上一主题 下一主题

[讨论] 纪元1404旗舰FlagShip修改详细方法 [复制链接]

帖子
152
精华
0
积分
76
金钱
1962
荣誉
0
人气
0
评议
0
跳转到指定楼层
楼主
发表于 2010-7-14 21:22:21 |只看该作者 |倒序浏览
我发现游侠网找不到了,就发一个

修改文件\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(金)。

使用道具 举报

帖子
87
精华
0
积分
44
金钱
382
荣誉
0
人气
0
评议
0
沙发
发表于 2010-7-15 10:12:19 |只看该作者
很早就有了.只是这个修改不会放在精华的.属于达人玩的

一年前的链接.
http://game1.ali213.net/thread-2857742-1-9.html

[ 本帖最后由 cqh0614 于 2010-7-15 10:14 编辑 ]

使用道具 举报

帖子
251
精华
0
积分
126
金钱
561
荣誉
0
人气
0
评议
0
板凳
发表于 2011-11-3 19:45:51 |只看该作者
本帖最后由 bigufo 2 于 2011-11-3 19:51 编辑

按照楼主的方法修改完了以后进入自定游戏里面用旗舰开局, 但是一艘船都没有,npc也是直接退出...
之后我仔细核对了修改的地方确认没有填错数值或者项目, 那么这个修改的assset.xml要怎么用?

assset.xml在原来的\data\config\game\路径里没有, 我去其它的修改贴里找了一个未修改的assset.xml 来修改之后放进去,结果有bug啊~

(我用的是圣城汉化版的1.02)

使用道具 举报

帖子
251
精华
0
积分
126
金钱
561
荣誉
0
人气
0
评议
0
地板
发表于 2011-11-5 14:13:19 |只看该作者
<DamagePerSecond>10</DamagePerSecond> 这个值似乎有误, 我这里的显示是24576(大约是24的伤血)
版本不一样的原因吗?

使用道具 举报

帖子
286
精华
0
积分
154
金钱
787
荣誉
1
人气
0
评议
0
5#
发表于 2011-11-11 17:34:40 |只看该作者
回复 bigufo 2 的帖子

威尼斯版本数值有变化,好像4096代表1。如果要改成20就需要写成81920

使用道具 举报

dbtpee573 该用户已被删除
6#
发表于 2011-11-14 13:32:10 |只看该作者

acreage investigation

提示: 作者被禁止或删除 内容自动屏蔽

使用道具 举报

帖子
48
精华
0
积分
24
金钱
267
荣誉
0
人气
0
评议
0
7#
发表于 2013-12-11 22:43:17 |只看该作者
威尼斯版本数值有变化,好像4096代表1。  

我自己測試    好像連原版也要用4096當基底了..

使用道具 举报

帖子
43
精华
0
积分
22
金钱
360
荣誉
0
人气
0
评议
0
8#
发表于 2014-8-5 06:24:15 |只看该作者
我的版本找不以这个文件乍办

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

手机版|Archiver|游侠NETSHOW论坛 ( 苏ICP备2023007791号 )

GMT+8, 2025-7-18 18:47 , Processed in 0.309676 second(s), 12 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

分享到