一、先将游戏目录下resourceresource.pak内文件全部解压缩到当前目录,并将文件resource.pak更名
以下分号后为注释,请请注意本人并未针对以下每项进行测试,具体效果请自己测试
二、resourceentity
数据和定义主要都存放在*.def文件中
以resourceentitybuildingscastlecastle.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} ;念徉怆弪 蹊蝻铊眚钼
{building_value 1}
{cost ;羊铊祛耱?囡疸彘溧
"money" 5000
}
}
}
}
;#line 22: (include "extenders/guard_point.inc")
;#line 22: /entity/buildings/castle/extenders/guard_point.inc BEGIN
{"guard_point" ;守卫活动范围