2016-12-27
来源:网络
作者:不可描述
游侠会员:goodren<原创>
何谓单位活剐?--单位可被村民活生生当资源收集而死,当资源耗尽时不管生命是否为零,他都得去天堂报到。
以下以龙骑兵这个单位为例讲解: 1:用记事本或者ultraedit(推荐)编辑“游戏目录”\ DATA \ protox.xml 2:搜索所需单位-- 3:在这个单位信息中的任意 ??? 语段下加入以下语段。 500.0000 meat Food Resource AbstractResourceCrate DoNotDieAtZeroHitpoints DieAtZeroResources DoNotValidateResourceInventory DoNotCreateUnitGroupAutomatically NoBloodOnDeath
例(未添加时): CollidesWithProjectiles ApplyHandicapTraining CorpseDecays ShowGarrisonButton DontRotateObstruction ObscuredByUnits ConstrainOrientation OrientUnitWithGround Tracked ---------------------------- 例(添加后): CollidesWithProjectiles ApplyHandicapTraining CorpseDecays ShowGarrisonButton DontRotateObstruction ObscuredByUnits ConstrainOrientation OrientUnitWithGround Tracked 500.0000 meat Food Resource AbstractResourceCrate DoNotDieAtZeroHitpoints DieAtZeroResources DoNotValidateResourceInventory DoNotCreateUnitGroupAutomatically NoBloodOnDeath
4:大功告成,不过注意这三行数据,这是决定资源种类和数量的,要对应得起哦。 500.0000 ( Food =食物 500.0000=食物数量) ( Wood =木材 ( Gold =钱币 meat (meat 食物 wood 木材 gold 钱币) Food (Food 食物 Wood 木材 Gold 钱币)