酋长单位『活剐』指南
何谓单位活剐?--单位可被村民活生生当资源收集而死,当资源耗尽时不管生命是否为零,他都得去天堂报到。以下以龙骑兵这个单位为例讲解:
1:用记事本或者ultraedit(推荐)编辑“游戏目录”\ DATA \ protox.xml
2:搜索所需单位--<Unit id ='254' name ='Dragoon'>
3:在这个单位信息中的任意<Flag>???</Flag>语段下加入以下语段。
<InitialResource resourcetype ='Food'>500.0000</InitialResource>
<ResourceSubType>meat</ResourceSubType>
<Decay delay ='0.0000' duration ='0.0000'></Decay>
<UnitType>Food</UnitType>
<UnitType>Resource</UnitType>
<UnitType>AbstractResourceCrate</UnitType>
<Flag>DoNotDieAtZeroHitpoints</Flag>
<Flag>DieAtZeroResources</Flag>
<Flag>DoNotValidateResourceInventory</Flag>
<Flag>DoNotCreateUnitGroupAutomatically</Flag>
<Flag>NoBloodOnDeath</Flag>
例(未添加时): <Flag>CollidesWithProjectiles</Flag>
<Flag>ApplyHandicapTraining</Flag>
<Flag>CorpseDecays</Flag>
<Flag>ShowGarrisonButton</Flag>
<Flag>DontRotateObstruction</Flag>
<Flag>ObscuredByUnits</Flag>
<Flag>ConstrainOrientation</Flag>
<Flag>OrientUnitWithGround</Flag>
<Flag>Tracked</Flag>
----------------------------
例(添加后): <Flag>CollidesWithProjectiles</Flag>
<Flag>ApplyHandicapTraining</Flag>
<Flag>CorpseDecays</Flag>
<Flag>ShowGarrisonButton</Flag>
<Flag>DontRotateObstruction</Flag>
<Flag>ObscuredByUnits</Flag>
<Flag>ConstrainOrientation</Flag>
<Flag>OrientUnitWithGround</Flag>
<Flag>Tracked</Flag>
<InitialResource resourcetype ='Food'>500.0000</InitialResource>
<ResourceSubType>meat</ResourceSubType>
<Decay delay ='0.0000' duration ='0.0000'></Decay>
<UnitType>Food</UnitType>
<UnitType>Resource</UnitType>
<UnitType>AbstractResourceCrate</UnitType>
<Flag>DoNotDieAtZeroHitpoints</Flag>
<Flag>DieAtZeroResources</Flag>
<Flag>DoNotValidateResourceInventory</Flag>
<Flag>DoNotCreateUnitGroupAutomatically</Flag>
<Flag>NoBloodOnDeath</Flag>
4:大功告成,不过注意这三行数据,这是决定资源种类和数量的,要对应得起哦。
<InitialResource resourcetype ='Food'>500.0000</InitialResource> ('Food' =食物500.0000=食物数量)
('Wood' =木材
('Gold' =钱币
<ResourceSubType>meat</ResourceSubType>
(meat 食物wood 木材gold 钱币)
<UnitType>Food</UnitType> (Food 食物Wood 木材Gold 钱币)
------------------------------------------------
请勿将此教程用于血腥及暴力方面的用途,否则后果自负。
下一期教程《尸食之狩猎对象·全员不朽》2007 / 1 /16
2007.1.1 by goodren 很喜欢这款游戏!
页:
[1]