王權2擁王者 mod技術初探

發佈日期

一、先將遊戲目錄下\resource\resource.pak內檔案全部解壓縮到當前目錄,並將檔案resource.pak更名
以下分號後為註釋,請請注意本人並未針對以下每項進行測試,具體效果請自己測試

二、 esource\entity\
資料和定義主要都存放在*.def檔案中

以 esource\entity\buildings\castle\castle.def為例


 

;#line 18:         (include "extenders/upgrades.inc")
;#line 18: /entity/buildings/castle/extenders/upgrades.inc BEGIN
{"Upgrades"        ;升級部分
        {available
                {;1升第一級
                        {money 75}
                        {health 1000}                                ;升級增加的生命
                        {building_value 1}
                        {cost                                        ;升級消耗的金幣
                        "money" 2000
                        }
                }
                {;2?囡沭彘?
                        {money 150}
                        {health 1500} ;念徉愴

相關攻略文章

最新攻略