你可以手动修改l(data目录下)来改变兵种的战斗力,具体如下:
====兵种代码====
ypChukonu中国连弩兵
yoQiangpikeman中国长兵
ypArquebuiser火绳手
游戏xml文件修改 ypChangdao长刀手
ypkeshik怯薛
ypStepperider草原骑兵
ypIronflail连枷骑兵
ypmeteorhammer流星锤骑兵
ypmonkchinese中国和尚
ypFlameThrower
ypHandMortar虎蹲炮
ypFlyingCrow神火飞鸦(PS:这个好像改了也造不出来,你还需要修改l)
ypSettlerasian中国农民
ypCastle城堡
----MOD最简易的教程----
右键单击l,选择“编辑”
进入“编辑”查“,查”ypChangdao"
这个就是我们这一次的试验兵种:长刀手。
长刀手的资料如下
<Unit id ='912' name ='ypChangdao'>
<DBID>1336</DBID>
<DisplayNameID>60164</DisplayNameID>
<EditorNameID>60165</EditorNameID>以上不要改
<PopulationCount>1</PopulationCount>占用人口数
<ObstructionRadiusX>0.4900</ObstructionRadiusX>
<ObstructionRadiusZ>0.4900</ObstructionRadiusZ>
<FormationCategory>Body</FormationCategory>身体类型
<MaxVelocity>5.0000</MaxVelocity>最低移动速度
<MaxRunVelocity>7.0000</MaxRunVelocity>最高移动速度,通常掉队时才有
<MovementType>land</MovementType>目标类型,要是改成AIR就成飞的了,不要改
<TurnRate>18.0000</TurnRate>转身速度
<AnimFile>units\asians\chinese\l</AnimFile>动画档案1,所有的动画档案一起改
<ImpactType>Flesh</ImpactType>
<PhysicsInfo>dude</PhysicsInfo>
<Icon>units\asians\chinese\changdao\changdao_icon_64</Icon>动画档案2(图标),所有的动画档案一起改
<PortraitIcon>units\asians\chinese\changdao\changdao_icon_portrait</PortraitIcon>动画档案3,所有的动画档案一起改
<RolloverTextID>60163</RolloverTextID>
<ShortRolloverTextID>60162</ShortRolloverTextID>说明文编号,以上这两个暂时不要改,因为我还没弄太明白
<InitialHitpoints>120.0000</InitialHitpoints>可以提高的最大血量(比如后帝王时代科技全
升级就是120+120=240)
<MaxHitpoints>120.0000</MaxHitpoints>原始血量
<LOS>12.0000</LOS>
<UnitAIType>HandCombative</UnitAIType>战斗类型(HandCombative是肉搏战)
<TrainPoints>27.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 ='Hand' value ='0.2000'></Armor>装甲类型(其中Hand是近战防御,Ranged是远防)
<UnitType>LogicalTypeHealed</UnitType>
<UnitType>LogicalTypeValidSharpshoot</UnitType>
<UnitType>LogicalTypeNeededForVictory</UnitType>
<UnitType>LogicalTypeHandUnitsAutoAttack</UnitType>
<UnitType>LogicalTypeLandMilitary</UnitType>
<UnitType>LogicalTypeScout</UnitType>
<UnitType>LogicalTypeValidSPCUnitsDeadCondition</UnitType>
<UnitType>LogicalTypeGarrisonInShips</UnitType>
<UnitType>LogicalTypeRangedUnitsAutoAttack</UnitType>
<UnitType>LogicalTypeVillagersAttack</UnitType>
<UnitType>LogicalTypeHandUnitsAttack</UnitType>
<UnitType>LogicalTypeRangedUnitsAttack</UnitType>
<UnitType>LogicalTypeMinimapFilterMilitary</UnitType>
<UnitType>AbstractHeavyInfantry</UnitType>
<UnitType>AbstractInfantry</UnitType>
<UnitType>Unit</UnitType>
<UnitType>Military</UnitType>
<UnitType>UnitClass</UnitType>
<UnitType>CountsTowardMilitaryScore</UnitType>
<UnitType>AbstractCavalryInfantry</UnitType>
<UnitType>HasBountyValue</UnitType>
<UnitType>AbstractHandInfantry</UnitType>
<UnitType>ConvertsHerds</UnitType>
<Flag>CollidesWithProjectiles</Flag>
<Flag>ApplyHandicapTraining</Flag>
<Flag>CorpseDecays</Flag>
<Flag>ShowGarrisonButton</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 page ='10' column ='2'>Delete</Command>
<Tactics>handInfantrySplash.tactics</Tactics>兵种一般逻辑。记住,你把兵种的动画档案改成什么,兵种一般逻辑就改成什么,连攻击方式也要对应改成什么。
比如我把长刀手的外观(三项动画档案)改为ypArquebuiser(火绳手),就必须同时修改<Tactics>和下面的攻击方式,否则会造成不能攻击的局面。
<ProtoAction>
<Name>BuildingAttack</Name>建筑物攻击
<Damage>21.000000</Damage>伤害
<DamageType>Siege</DamageType>伤害类型
<ROF>3.000000</ROF>攻击间隔,越快攻击越迅速,伤害越高,改成0.100000那就是超人……
</ProtoAction>
<ProtoAction>
<Name>CoverBuildingAttack</Name>守护建筑物攻击
<Damage>11.000000</Damage>伤害
<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 ='AbstractCavalry'>2.000000</DamageBonus>攻击奖励,AbstractCavalry是反骑兵,后面是加成数值,当然也能改成减成。。。
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论