您的位置: 单机 > 攻略 > 游戏秘籍 > 攻略详情

伊多:破碎世界的主人 修改单位属性教程

时间:2013-05-13 10:38:42
  • 来源:3DM论坛-asnm555
  • 作者:fcz1234
  • 编辑:ChunTian
0

感谢sunsol兄提供的工具,传送门:

http://bbs.3dmgame.com/thread-3839292-1-1.html

物品修改教程及代码:

http://bbs.3dmgame.com/thread-3840173-1-1.html

解压data.000.pak后用UE打开data\game\var\unit.cfg文件,然后看到如下代码:(最好还是解压data.006.pak,然后修改unit文件,应该是最新补丁的数据吧,000估计是1.0.0游戏的数据)

section.begin

   UnitList : struct.begin

      : struct.begin

         UnitID = 0

      struct.end

      : struct.begin

         UnitID = 1                                                          单位ID

         Name = rebel                                                      名称

         Hint = 物铍麇礤?                                                

         Rank = 1                                                            阶级(兵种等级)

         Life = 17                                                             生命

         Attack = 4                                                          攻击

         CounterAttack = 5                                             反击

         Defence = 0                                                       近防

         RangedDefence = 0                                           远防

         Resist = 0                                                           魔抗

         Speed = 2                                                          移动速度

         RangedAttack = 0                                              远程攻击(不知道给近程添加远程相关的属性后,远程攻击会不会跳出)

         ShootingRange = 0                                            射击距离

         Ammo = 0                                                          弹药

         Stamina = 10                                                      耐力

         Moral = 9                                                            士气

         Exp = 10                                                            经验(我猜是击杀后所得经验)

         ExpMod = 70                                                     经验(升级需要经验??)

         PointPrice = 10                                                   得分??

         LevelPrice = 2                                                     等级奖励的得分??

         GoldPrice = 10                                                    招募金币花费

         GemPrice = 0                                                      招募水晶花费

         GoldPayment = 2                                                金币维护费

         GemPayment = 0                                                水晶维护费

         Race = 1                                                             种族ID

         UnitType = 1                                                       单位类型ID

         UnitClass = 1                                                       单位种类ID??(我猜是分中立和善恶的)

         Karma = 0

         SoundHit = 29                                                    近战打击声效ID

         SoundShoot = 0                                                 ...

         SoundShootHit = 5                                             ...

         SoundDeath = 30                                               ...

         Missile = 0                                                           投射物ID

           UnitUpgrades : struct.begin                              技能            : struct.begin

               Level = 1                                             

               Upgrades : struct.begin

                  : struct.begin

                     UpgradeID = 1                               技能ID

                     Possibility = 4                                  获取可能性

                  struct.end

                  : struct.begin

                     UpgradeID = 30

                     Possibility = 4

                  struct.end

                  : struct.begin

                     UpgradeID = 33

                     Possibility = 3

                  struct.end

                  : struct.begin

                     UpgradeID = 7

                     Possibility = 1

                  struct.end

               struct.end

            struct.end

            : struct.begin

               Level = 2

               Upgrades : struct.begin

                  : struct.begin

                     UpgradeID = 1

                     Possibility = 4

                  struct.end

                  : struct.begin

                     UpgradeID = 16

                     Possibility = 3

                  struct.end

                  : struct.begin

                     UpgradeID = 7

                     Possibility = 2

                  struct.end

               struct.end

            struct.end

如果我想改民兵初始带有技能:可以在加入这段代码

       ............

         UnitType = 1

         UnitClass = 1

         Karma = 0

         SoundHit = 29

         SoundShoot = 0

         SoundShootHit = 5

         SoundDeath = 30

         Missile = 0

         StartUpgrades : struct.begin

           .UpgradeID = 81

           .UpgradeID = 153

         struct.end

         UnitUpgrades : struct.begin

            : struct.begin

               Level = 1

               Upgrades : struct.begin

                  : struct.begin

                     UpgradeID = 1

                     Possibility = 4

                  struct.end

                  : struct.begin

                     UpgradeID = 30

                     Possibility = 4

                  struct.end

                  : struct.begin

                     UpgradeID = 33

                     Possibility = 3

                  struct.end

                  : struct.begin

                     UpgradeID = 7

                     Possibility = 1

                  struct.end

               struct.end

            struct.end

           ..............

就初始获得了技能81和153了,这些代码靠自己摸索了,比如81是局部毁灭打击,153是死亡之地学8,希望有人整理出来具体含义吧!最后改完了将文件 保存在...\Eador Masters of the Broken World\data\game\var里(自己建个文件夹),

附上试验小白鼠

111.jpg

5.5
已有3人评分 您还未评分!
  • 类型:策略游戏
  • 发行:Snowbird Games
  • 发售:2013-04-19
  • 开发:Snowbird Games
  • 语言:简中 | 英文
  • 平台:PC
  • 标签:回合制战棋

玩家点评 0人参与,0条评论)

收藏
违法和不良信息举报
分享:

热门评论

全部评论

3DM自运营游戏推荐 更多+