接下来我将给各位网友介绍帝国时代3三合一版本的兵种和建筑属性修改方法。首先用记事本打开l。还有l。每个单位称之为unit
AbstractInfantry          所有种类步兵
AbstractHeavyInfantry    重步兵(徒手)
AbstractLight Infantry      轻步兵(远程)
AbstractCavalry          所有种类骑兵
AbstractLightCavalry      轻骑兵(远程)
AbstractHeavyCavalry    重骑兵(徒手)
以最普通的欧洲长矛兵为例子
    </Unit>
    <Unit id ='285' name ='Pikeman'>
        <DBID>2</DBID>
        <DisplayNameID>22807</DisplayNameID>
        <EditorNameID>25026</EditorNameID>
        <PopulationCount>1</PopulationCount>
一个单位占有的人口,0的话就可无限造
        <ObstructionRadiusX>0.4900</ObstructionRadiusX>
        <ObstructionRadiusZ>0.4900</ObstructionRadiusZ>
        <FormationCategory>Body</FormationCategory>
        <MaxVelocity>5.0000</MaxVelocity>移动速度,越高钺快
        <MaxRunVelocity>7.0000</MaxRunVelocity>
会师时跑步跟队的速度,必须大于移动速度,否则会死机
        <MovementType>land</MovementType>
        <TurnRate>18.0000</TurnRate>
        <AnimFile>units\infantry\l</AnimFile>兵种,不能改
        <ImpactType>Flesh</ImpactType>
        <PhysicsInfo>dude</PhysicsInfo>
        <Icon>units\infantry\pikeman\pikeman_icon</Icon>
        <PortraitIcon>units\infantry\pikeman\pikeman_portrait</PortraitIcon>
        <SelectionPriority>20</SelectionPriority>
        <RolloverTextID>22813</RolloverTextID>
        <ShortRolloverTextID>25696</ShortRolloverTextID>
        <InitialHitpoints>120.0000</InitialHitpoints>出生时生命值
        <MaxHitpoints>120.0000</MaxHitpoints>能拥有的最大生命值
        <LOS>12.0000</LOS>视野
        <UnitAIType>HandCombative</UnitAIType>
        <TrainPoints>27.0000</TrainPoints>训练时间,数值越高越久
        <Bounty>8.0000</Bounty>
        <BuildBounty>8.0000</BuildBounty>
        <Cost resourcetype ='Food'>40.0000</Cost>建造所需种类和资源
        <Cost resourcetype ='Wood'>40.0000</Cost>建造所需种类和资源
        <AllowedAge>1</AllowedAge>
兵种建造的时代限制,0、1、2、3,越低越早
        <Armor type ='Hand' value ='0.1000'></Armor>
装甲及其种类。只有两种,Range和Hand,分别代表远程和徒手防御力,0.1表示减轻10%的伤害,当数值为1.0000时,受到的其中一种伤害为0。注意精确到小数点后四位。
        <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>AbstractHandInfantry</UnitType>
        <UnitType>ConvertsHerds</UnitType>
        <UnitType>AbstractCavalryInfantry</UnitType>
        <UnitType>CountsTowardMilitaryScore</UnitType>
        <UnitType>AbstractPikeman</UnitType>
        <UnitType>HasBountyValue</UnitType>
        <UnitType>AbstractHeavyInfantry</UnitType>
        <UnitType>AbstractInfantry</UnitType>
        <UnitType>UnitClass</UnitType>
        <UnitType>Military</UnitType>
        <UnitType>Unit</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 ='2'>Delete</Command>
        <Command page ='10' column ='1'>Stop</Command>
        <Command page ='10' column ='0'>Garrison</Command>
        <Tactics>pikeman.tactics</Tactics>
        <ProtoAction>
            <Name>BuildingAttack</Name>
            <Damage>32.000000</Damage>
对建筑物扔火把的伤害
            <DamageType>Siege</DamageType>
            <ROF>3.000000</ROF>
发动一次攻击的时间,越低,攻击速度越快
        </ProtoAction>
        <ProtoAction>
            <Name>CoverBuildingAttack</Name>
            <Damage>16.000000</Damage>
            <DamageType>Siege</DamageType>
            <ROF>3.000000</ROF>
        </ProtoAction>
        <ProtoAction>
            <Name>CoverHandAttack</Name>
            <Damage>4.000000</Damage>
            <DamageType>Hand</DamageType>
            <ROF>1.500000</ROF>
            <DamageBonus type ='AbstractCavalry'>5.000000</DamageBonus>
            <DamageBonus type ='AbstractLightInfantry'>3.500000</DamageBonus>
        </ProtoAction>
        <ProtoAction>
            <Name>DefendHandAttack</Name>
            <Damage>8.000000</Damage>
徒手攻击力数值,必须配合所有徒手攻击数值,否则会死机
            <DamageType>Hand</DamageType>
            <ROF>1.500000</ROF>
徒手攻击速度(公式上面前面已给出)
            <DamageBonus type ='AbstractCavalry'>5.000000</DamageBonus>
伤害加成:对所有骑兵有五倍伤害,自己理解
            <DamageBonus type ='AbstractLightInfantry'>3.500000</DamageBonus>
伤害加成:对所有轻步兵(远程)3.5倍伤害
        </ProtoAction>
        <ProtoAction>
            <Name>MeleeHandAttack</Name>
            <Damage>8.000000</Damage>
徒手攻击力数值,必须配合所有徒手攻击数值,否则会死机
            <DamageType>Hand</DamageType>
            <ROF>1.500000</ROF>
徒手攻击速度(公式上面前面已给出)
rotate属性

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。