版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領
文檔簡介
1、你可以手動修改protoy.xml(data目錄下)來改變兵種的戰(zhàn)斗力,具體如下:=兵種代碼=ypChukonu中國連弩兵yoQiangpikeman中國長槍兵ypArquebuiser火繩槍手ypChangdao長刀手ypkeshik怯薛ypStepperider草原騎兵ypIronflail連枷騎兵ypmeteorhammer流星錘騎兵ypmonkchinese中國和尚ypFlameThrower火焰噴射器ypHandMortar虎蹲炮ypFlyingCrow神火飛鴉(PS:這個好像改了也造不出來,你還需要修改techtreey.xml)ypSettlerasian中國農(nóng)民ypCastle
2、城堡-MOD最簡易的教程-右鍵單擊protoy.xml,選擇“編輯”進入“編輯”查找“,查找”ypChangdao"這個就是我們這一次的試驗兵種:長刀手。長刀手的資料如下<Unit id ='912' name ='ypChangdao'><DBID>1336</DBID><DisplayNameID>60164</DisplayNameID><EditorNameID>60165</EditorNameID>以上不要改<PopulationCount>1&
3、lt;/PopulationCount>占用人口數(shù)<ObstructionRadiusX>0.4900</ObstructionRadiusX><ObstructionRadiusZ>0.4900</ObstructionRadiusZ><FormationCategory>Body</FormationCategory>身體類型<MaxVelocity>5.0000</MaxVelocity>最低移動速度<MaxRunVelocity>7.0000</MaxRunVeloc
4、ity>最高移動速度,通常掉隊時才有<MovementType>land</MovementType>目標類型,要是改成AIR就成飛的了,不要改<TurnRate>18.0000</TurnRate>轉(zhuǎn)身速度<AnimFile>unitsasianschinesechangdaochangdao.xml</AnimFile>動畫檔案1,所有的動畫檔案一起改<ImpactType>Flesh</ImpactType><PhysicsInfo>dude</PhysicsInfo&
5、gt;<Icon>unitsasianschinesechangdaochangdao_icon_64</Icon>動畫檔案2(圖標),所有的動畫檔案一起改<PortraitIcon>unitsasianschinesechangdaochangdao_icon_portrait</PortraitIcon>動畫檔案3,所有的動畫檔案一起改<RolloverTextID>60163</RolloverTextID><ShortRolloverTextID>60162</ShortRolloverTextI
6、D>說明文編號,以上這兩個暫時不要改,因為我還沒弄太明白<InitialHitpoints>120.0000</InitialHitpoints>可以提高的最大血量(比如后帝王時代科技全升級就是120+120=240)<MaxHitpoints>120.0000</MaxHitpoints>原始血量<LOS>12.0000</LOS><UnitAIType>HandCombative</UnitAIType>戰(zhàn)斗類型(HandCombative是肉搏戰(zhàn))<TrainPoints>2
7、7.0000</TrainPoints>訓練時間<Bounty>10.0000</Bounty><BuildBounty>10.0000</BuildBounty><Cost resourcetype ='Food'>95.0000</Cost>價格(可以在下面加上Food=食物,Gold=黃金,Wood=木材)<AllowedAge>2</AllowedAge>可以建造的時代(1是時代2,2是時代3,3是時代4,4是時代5)<Armor type ='Ha
8、nd' value ='0.2000'></Armor>裝甲類型(其中Hand是近戰(zhàn)防御,Ranged是遠防)<UnitType>LogicalTypeHealed</UnitType><UnitType>LogicalTypeValidSharpshoot</UnitType><UnitType>LogicalTypeNeededForVictory</UnitType><UnitType>LogicalTypeHandUnitsAutoAttack</Unit
9、Type><UnitType>LogicalTypeLandMilitary</UnitType><UnitType>LogicalTypeScout</UnitType><UnitType>LogicalTypeValidSPCUnitsDeadCondition</UnitType><UnitType>LogicalTypeGarrisonInShips</UnitType><UnitType>LogicalTypeRangedUnitsAutoAttack</UnitT
10、ype><UnitType>LogicalTypeVillagersAttack</UnitType><UnitType>LogicalTypeHandUnitsAttack</UnitType><UnitType>LogicalTypeRangedUnitsAttack</UnitType><UnitType>LogicalTypeMinimapFilterMilitary</UnitType><UnitType>AbstractHeavyInfantry</UnitTyp
11、e><UnitType>AbstractInfantry</UnitType><UnitType>Unit</UnitType><UnitType>Military</UnitType><UnitType>UnitClass</UnitType><UnitType>CountsTowardMilitaryScore</UnitType><UnitType>AbstractCavalryInfantry</UnitType><UnitType
12、>HasBountyValue</UnitType><UnitType>AbstractHandInfantry</UnitType><UnitType>ConvertsHerds</UnitType><Flag>CollidesWithProjectiles</Flag><Flag>ApplyHandicapTraining</Flag><Flag>CorpseDecays</Flag><Flag>ShowGarrisonButton</
13、Flag><Flag>DontRotateObstruction</Flag><Flag>ObscuredByUnits</Flag><Flag>Tracked</Flag><Command page ='10' column ='1'>Stop</Command>可控制按扭,不要更改<Command page ='10' column ='0'>Garrison</Command><Command
14、page ='10' column ='2'>Delete</Command><Tactics>handInfantrySplash.tactics</Tactics>兵種一般邏輯。記住,你把兵種的動畫檔案改成什么,兵種一般邏輯就改成什么,連攻擊方式也要對應改成什么。比如我把長刀手的外觀(三項動畫檔案)改為ypArquebuiser(火繩槍手),就必須同時修改<Tactics>和下面的攻擊方式,否則會造成不能攻擊的局面。<ProtoAction><Name>BuildingAttack
15、</Name>建筑物攻擊<Damage>21.000000</Damage>傷害<DamageType>Siege</DamageType>傷害類型<ROF>3.000000</ROF>攻擊間隔,越快攻擊越迅速,傷害越高,改成0.100000那就是超人</ProtoAction><ProtoAction><Name>CoverBuildingAttack</Name>守護建筑物攻擊<Damage>11.000000</Damage>傷害&l
16、t;DamageType>Siege</DamageType><ROF>3.000000</ROF></ProtoAction><ProtoAction><Name>CoverHandAttack</Name>守護攻擊<Damage>7.000000</Damage><DamageType>Hand</DamageType>傷害類型<ROF>1.500000</ROF><DamageBonus type ='Abstra
17、ctCavalry'>2.000000</DamageBonus>攻擊獎勵,AbstractCavalry是反騎兵,后面是加成數(shù)值,當然也能改成減成。<DamageBonus type ='AbstractLightInfantry'>1.500000</DamageBonus>攻擊獎勵AbstractLightInfantry是反輕裝步兵</ProtoAction><ProtoAction><Name>DefendHandAttack</Name><Damage>13
18、.000000</Damage><DamageType>Hand</DamageType><ROF>1.500000</ROF><DamageBonus type ='AbstractCavalry'>2.000000</DamageBonus><DamageBonus type ='AbstractLightInfantry'>1.500000</DamageBonus></ProtoAction><ProtoAction><
19、;Name>GuardianAttack</Name><Damage>13.000000</Damage><DamageType>Hand</DamageType><ROF>1.500000</ROF></ProtoAction><ProtoAction><Name>MeleeHandAttack</Name><Damage>13.000000</Damage><DamageType>Hand</DamageType
20、><ROF>1.500000</ROF><DamageBonus type ='AbstractCavalry'>2.000000</DamageBonus><DamageBonus type ='AbstractLightInfantry'>1.500000</DamageBonus></ProtoAction></Unit>中國探險家請查找Monkchinese找到<Unit id ='918' name ='ypMonkChi
21、nese'>下面是中國和尚的資料<Unit id ='918' name ='ypMonkChinese'><DBID>1345</DBID><DisplayNameID>60200</DisplayNameID><EditorNameID>60201</EditorNameID><ObstructionRadiusX>0.4900</ObstructionRadiusX><ObstructionRadiusZ>0.4900<
22、;/ObstructionRadiusZ><FormationCategory>Mobile</FormationCategory><MaxVelocity>4.5000</MaxVelocity><MaxRunVelocity>6.5000</MaxRunVelocity><MovementType>land</MovementType><TurnRate>18.0000</TurnRate><AnimFile>unitsasianschinesemonk
23、monk.xml</AnimFile><ImpactType>Flesh</ImpactType><Icon>unitsasianschineseshaolin_discipleshaolin_master_icon_64</Icon><MinimapIcon>uiminimaphero</MinimapIcon><PortraitIcon>unitsasianschineseshaolin_discipleshaolin_master_icon_portrait</PortraitIcon&
24、gt;<SelectionPriority>5</SelectionPriority><RolloverTextID>60199</RolloverTextID><ShortRolloverTextID>69907</ShortRolloverTextID><InitialHitpoints>450.0000</InitialHitpoints><MaxHitpoints>450.0000</MaxHitpoints><LOS>18.0000</LOS>
25、;<ProjectileProtoUnit>ypShuriken</ProjectileProtoUnit><AutoAttackRange>16.0000</AutoAttackRange><UnitAIType>RangedCombative</UnitAIType><TrainPoints>30.0000</TrainPoints><BuildLimit>1</BuildLimit>建造限制<Bounty>90.0000</Bounty><
26、Cost resourcetype ='Gold'>300.0000</Cost>造價<AllowedAge>0</AllowedAge><Armor type ='Ranged' value ='0.1000'></Armor>護甲<UnitType>LogicalTypeHealed</UnitType><UnitType>LogicalTypeNeededForVictory</UnitType><UnitType>
27、LogicalTypeHandUnitsAutoAttack</UnitType><UnitType>LogicalTypeLandMilitary</UnitType><UnitType>LogicalTypeScout</UnitType><UnitType>LogicalTypeValidSPCUnitsDeadCondition</UnitType><UnitType>LogicalTypeGarrisonInShips</UnitType><UnitType>Log
28、icalTypeRangedUnitsAutoAttack</UnitType><UnitType>LogicalTypeVillagersAttack</UnitType><UnitType>LogicalTypeHandUnitsAttack</UnitType><UnitType>LogicalTypeRangedUnitsAttack</UnitType><UnitType>LogicalTypeMinimapFilterMilitary</UnitType><UnitTy
29、pe>AbstractInfantry</UnitType><UnitType>Hero</UnitType><UnitType>Unit</UnitType><UnitType>Military</UnitType><UnitType>UnitClass</UnitType><UnitType>AbstractCavalryInfantry</UnitType><UnitType>HasBountyValue</UnitType>&
30、lt;UnitType>ConvertsHerds</UnitType><UnitType>AbstractCanSeeStealth</UnitType><UnitType>AbstractHandInfantry</UnitType><UnitType>AbstractChineseMonk</UnitType><UnitType>AbstractMonk</UnitType>這里以下是修改重點!<Train row ='0' page ='6
31、39; column ='1'>TradingPost</Train>建造貿(mào)易站<Train row ='0' page ='6' column ='0'>TownCenter</Train>城鎮(zhèn)中心<Train row ='0' page ='6' column ='3'>NatBlowgunAmbusher</Train><Train row ='0' page ='6' co
32、lumn ='2'>WarDog</Train><Train row ='0' page ='6' column ='4'>NatClubmanLoyal</Train><Train row ='0' page ='6' column ='2'>PetJaguar</Train><Train row ='0' page ='6' column ='0'>YPP
33、etPanda</Train>以上沒用,因為是外國探險家的科技<Train row ='0' page ='6' column ='2'>ypMonkDisciple</Train>建造弟子注意!我們在這里修改一下加入一行“<Train row ='0' page ='0' column ='0'>Factory</Train>”好了,您的探險家可以制造工廠了加入“<Train row ='0' page ='
34、0' column ='0'>ypArquebuiser</Train>”您的探險家可以建造火繩槍手了加入“<Train row ='0' page ='0' column ='0'>ypConsulateZweihander</Train>”您的探險家可以建造領事館近衛(wèi)德國雙手劍士了<Tech row ='0' page ='11' column ='5'>ypMonkMakeDisciple</Tech>教
35、化弟子<Flag>CollidesWithProjectiles</Flag><Flag>ApplyHandicapTraining</Flag><Flag>CorpseDecays</Flag><Flag>ShowGarrisonButton</Flag><Flag>DontRotateObstruction</Flag><Flag>ObscuredByUnits</Flag><Flag>HeroName2</Flag><
36、;Flag>RotateInPlace</Flag><Flag>ForceBuildingData</Flag><Flag>KnockoutDeath</Flag><Flag>NotDeleteable</Flag><Flag>CanAutoHeal</Flag><Flag>Tracked</Flag><Command page ='10' column ='0'>Garrison</Command>&
37、lt;Command page ='10' column ='2'>Stop</Command><Command page ='11' column ='0'>Abilities</Command><Tactics>ypchinesemonk.tactics</Tactics><ProtoAction><Name>Build</Name><Rate type ='TradingPost'>3.00000
38、0</Rate><Rate type ='TownCenter'>1.000000</Rate></ProtoAction><ProtoAction><Name>BuildingAttack</Name><Damage>15.000000</Damage><DamageType>Siege</DamageType><ROF>3.000000</ROF><DamageBonus type ='Building
39、39;>1.000000</DamageBonus></ProtoAction><ProtoAction><Name>CoverBuildingAttack</Name><Damage>8.000000</Damage><DamageType>Siege</DamageType><ROF>3.000000</ROF><DamageBonus type ='Building'>1.000000</DamageBonus>
40、</ProtoAction><ProtoAction><Name>CoverHandAttack</Name><Damage>4.000000</Damage><DamageType>Hand</DamageType><ROF>1.500000</ROF><DamageBonus type ='Guardian'>3.000000</DamageBonus>反怪攻擊,3倍加成<DamageBonus type ='Abst
41、ractVillager'>0.250000</DamageBonus>反村民,只有0.25倍傷害<DamageBonus type ='Hero'>0.750000</DamageBonus>反英雄,只有0.75倍傷害注意! 這里加入“<DamageArea>2.000000</DamageArea>”就會使該單位的攻擊擁有2格范圍!這個修改適用于所有單位的攻擊!</ProtoAction><ProtoAction><Name>HandAttack</Name&
42、gt;<Damage>7.000000</Damage><DamageType>Hand</DamageType><ROF>1.500000</ROF><DamageBonus type ='Guardian'>3.000000</DamageBonus><HitPercent>20.000000</HitPercent><DamageMultiplier>2.000000</DamageMultiplier><HitPercen
43、tType>CriticalAttack</HitPercentType><DamageBonus type ='AbstractVillager'>0.250000</DamageBonus><DamageBonus type ='Hero'>0.750000</DamageBonus></ProtoAction><ProtoAction><Name>Heal</Name>奇觀治療能力<Type>Heal</Type><
44、;Rate type ='LogicalTypeHealed'>6.000000</Rate>改為66是飛速治療,660是</ProtoAction><ProtoAction><Name>RoundhouseAttack</Name><Damage>170.000000</Damage><DamageType>Hand</DamageType><ROF>2.000000</ROF><DamageCap>200.000000<
45、/DamageCap><DamageBonus type ='AbstractVillager'>0.250000</DamageBonus><DamageArea>3.000000</DamageArea><DamageFlags>GAIAEnemy</DamageFlags><DamageBonus type ='MercType2'>0.250000</DamageBonus></ProtoAction><ProtoAction>&
46、lt;Name>Stun</Name>打昏<Damage>30.000000</Damage><DamageType>Ranged</DamageType><MinRange>0.000000</MinRange><MaxRange>16.000000</MaxRange><ROF>3.000000</ROF></ProtoAction><ProtoAction><Name>Stun2</Name>再次打昏&l
47、t;Damage>30.000000</Damage><DamageType>Hand</DamageType><MinRange>4.000000</MinRange><MaxRange>6.000000</MaxRange><ROF>3.000000</ROF></ProtoAction></Unit><Train row ='0' page ='6' column ='2'>ypMonkDis
48、ciple</Train>建造弟子注意!我們在這里修改一下加入一行“<Train row ='0' page ='0' column ='0'>Factory</Train>”好了,您的探險家可以制造工廠了加入“<Train row ='0' page ='0' column ='0'>ypArquebuiser</Train>”您的探險家可以建造火繩槍手了加入“<Train row ='0' page ='0
49、' column ='0'>ypConsulateZweihander</Train>”您的探險家可以建造領事館近衛(wèi)德國雙手劍士了<Tech row ='0' page ='11' column ='5'>ypMonkMakeDisciple</Tech>教化弟子<Flag>CollidesWithProjectiles</Flag><Flag>ApplyHandicapTraining</Flag><Flag>Corps
50、eDecays</Flag><Flag>ShowGarrisonButton</Flag><Flag>DontRotateObstruction</Flag><Flag>ObscuredByUnits</Flag><Flag>HeroName2</Flag><Flag>RotateInPlace</Flag><Flag>ForceBuildingData</Flag><Flag>KnockoutDeath</Flag>
51、;<Flag>NotDeleteable</Flag><Flag>CanAutoHeal</Flag><Flag>Tracked</Flag><Command page ='10' column ='0'>Garrison</Command><Command page ='10' column ='2'>Stop</Command><Command page ='11' column =
52、39;0'>Abilities</Command><Tactics>ypchinesemonk.tactics</Tactics><ProtoAction><Name>Build</Name><Rate type ='TradingPost'>3.000000</Rate><Rate type ='TownCenter'>1.000000</Rate></ProtoAction><ProtoAction>&
53、lt;Name>BuildingAttack</Name><Damage>15.000000</Damage><DamageType>Siege</DamageType><ROF>3.000000</ROF><DamageBonus type ='Building'>1.000000</DamageBonus></ProtoAction><ProtoAction><Name>CoverBuildingAttack</Name
54、><Damage>8.000000</Damage><DamageType>Siege</DamageType><ROF>3.000000</ROF><DamageBonus type ='Building'>1.000000</DamageBonus></ProtoAction><ProtoAction><Name>CoverHandAttack</Name><Damage>4.000000</Damage&g
55、t;<DamageType>Hand</DamageType><ROF>1.500000</ROF><DamageBonus type ='Guardian'>3.000000</DamageBonus>反怪攻擊,3倍加成<DamageBonus type ='AbstractVillager'>0.250000</DamageBonus>反村民,只有0.25倍傷害<DamageBonus type ='Hero'>0.750000</DamageBonus>反英雄,只有0.75倍傷害注意! 這里加入“<DamageArea>2.000000</DamageAre
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 物流課程設計實驗
- 種蘑菇課程設計
- 中華人民共和國民法典知識競賽題庫及答案
- 2024幼兒園安全教育工作總結(jié)結(jié)尾(31篇)
- 2024年自來水公司年終工作總結(jié)(35篇)
- 液體混合裝置plc課程設計
- 玉雕課程設計
- 食品行業(yè)客服工作總結(jié)
- 客房清潔員的工作總結(jié)
- 中醫(yī)科醫(yī)師工作總結(jié)
- 安全生產(chǎn)培訓法律法規(guī)
- 廣東省廣州市2021-2022學年高二上學期期末五校聯(lián)考生物試題
- 2024年領導干部任前廉政知識考試測試題庫及答案
- 2023-2024學年浙江省寧波市鎮(zhèn)海區(qū)四年級(上)期末數(shù)學試卷
- 舞蹈演出編導排練合同模板
- 融資合作法律意見
- 污水泵站運營維護管理方案
- 湖北省武漢市洪山區(qū)2023-2024學年六年級上學期語文期末試卷(含答案)
- 2024下半年軟考信息安全工程師考試真題-及答案-打印
- 項目經(jīng)理或管理招聘面試題與參考回答
- 中華人民共和國能源法
評論
0/150
提交評論