我们来看一个简单的添加兵种修改例子。
嗯,大家都知道奥斯曼有一种强大的重骑兵,可惜这种骑兵只能通过卡片从主城运输而不能自己训练。
遗憾吗?别急,接下来我会让你的马厩训练这种强大的骑兵。
我们先用记事本(用写字板也可以)打开l,用搜索功能寻stable一词,于是你可以到如下命令:
<Unit id ='298' name ='Stable'>
<DBID>25</DBID>
<DisplayNameID>22919</DisplayNameID>
<ObstructionRadiusX>3.0000</ObstructionRadiusX>
<ObstructionRadiusZ>5.0000</ObstructionRadiusZ>
<MaxVelocity>0.0000</MaxVelocity>
<MovementType>land</MovementType>
<AnimFile>buildings\l</AnimFile>
<DeadReplacement>BuildingRubble5x3</DeadReplacement>
<DeadReplacementLifespan>15</DeadReplacementLifespan>
<ImpactType>Wood</ImpactType>
<PhysicsInfo>stable</PhysicsInfo>
<PlacementFile&l</PlacementFile>
<Icon>buildings\stables\stables_icon</Icon>
<PortraitIcon>buildings\stables\stables_portrait</PortraitIcon>
<RolloverTextID>22918</RolloverTextID>
<ShortRolloverTextID>25727</ShortRolloverTextID>
<InitialHitpoints>2500.0000</InitialHitpoints>
<MaxHitpoints>2500.0000</MaxHitpoints>
<LOS>14.0000</LOS>
<BuildPoints>30.0000</BuildPoints>
<Bounty>40.0000</Bounty>
<BuildBounty>20.0000</BuildBounty>
<Cost resourcetype ='Wood'>200.0000</Cost>
<BuildingWorkRate>1.0000</BuildingWorkRate>
<AllowedAge>1</AllowedAge>
<Armor type ='Siege' value ='0.0000'></Armor>
<BuilderLimit>8</BuilderLimit>
<UnitType>LogicalTypeValidSabotage</UnitType>
<UnitType>LogicalTypeHandUnitsAutoAttack</UnitType>
<UnitType>LogicalTypeBuildingsNotWalls</UnitType>
<UnitType>LogicalTypeRangedUnitsAutoAttack</UnitType>
<UnitType>LogicalTypeVillagersAttack</UnitType>
<UnitType>LogicalTypeHandUnitsAttack</UnitType>
<UnitType>LogicalTypeShipsAndBuildings</UnitType>
<UnitType>LogicalTypeRangedUnitsAttack</UnitType>
<UnitType>LogicalTypeBuildingsNotWallsOrGroves</UnitType>
<UnitType>LogicalTypeMinimapFilterMilitary</UnitType>
<UnitType>ConvertsHerds</UnitType>
<UnitType>AbstractStables</UnitType>
<UnitType>CountsTowardMilitaryScore</UnitType>
<UnitType>HasBountyValue</UnitType>
<UnitType>Building</UnitType>
<UnitType>BuildingClass</UnitType>
<UnitType>MilitaryBuilding</UnitType>
<Train row ='0' page ='0' column ='0'>Uhlan</Train>
<Train row ='0' page ='0' column ='1'>Oprichnik</Train>
<Train row ='0' page ='0' column ='2'>CavalryArcher</Train>
<Train row ='0' page ='0' column ='0'>Hussar</Train>
<Train row ='0' page ='0' column ='1'>WarWagon</Train>
<Train row ='0' page ='0' column ='1'>Ruyter</Train>
<Train row ='0' page ='0' column ='2'>Dragoon</Train>
<Train row ='0' page ='0' column ='1'>Lancer</Train>
<Train row ='0' page ='0' column ='1'>Cuirassier</Train>
<Train row ='0' page ='0' column ='0'>Cossack</Train>
游戏xml文件修改<Tech row ='0' page ='1' column ='1'>ImperialOprichniks</Tech>
<Tech row ='0' page ='1' column ='1'>ImperialCarabineer</Tech>
<Tech row ='0' page ='1' column ='0'>ImperialCossack</Tech>
<Tech row ='0' page ='1' column ='2'>ImperialCavalryArchers</Tech>
<Tech row ='0' page ='1' column ='2'>ImperialDragoons</Tech>
<Tech row ='0' page ='1' column ='0'>ImperialHussars</Tech>
<Tech row ='0' page ='1' column ='2'>ImperialJinetes</Tech>
<Tech row ='0' page ='1' column ='0'>ImperialCzapkaUhlans</Tech>
<Tech row ='0' page ='1' column ='0'>RGCzapkaUhlans</Tech>
<Tech row ='0' page ='1' column ='2'>RGTartarLoyalists</Tech>
<Tech row ='0' page ='1' column ='1'>RGGarrochista</Tech>
<Tech row ='0' page ='1' column ='1'>GuardRuyters</Tech>
<Tech row ='0' page ='1' column ='0'>RGGardener</Tech>
<Tech row ='0' page ='1' column ='0'>GuardCossacks</Tech>
<Tech row ='0' page ='1' column ='0'>VeteranCossacks</Tech>
<Tech row ='0' page ='1' column ='1'>GuardWarWagons</Tech>
<Tech row ='0' page ='1' column ='2'>GuardCavalryArchers</Tech>
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论