我的步兵航母一次就成了,我以为很简单吖,下面是代码
@qqqqqp987; 鲍里斯 Boris
[BORIS]
UIName=Name:Boris
Name=Boris
Category=Soldier
Prerequisite=NAHAND,NATECH
Primary=AKM
Secondary=HornetLauncher1
Spawns=HORNET2
SpawnsNumber=1
SpawnRegenRate=300
SpawnReloadRate=300
OpenTransportWeapon=0;defaults to -1 (decide normally) What weapon should I use in a Battle Fortress
NavalTargeting=4
LeadershipRating=8
Assaulter=no ; I clear out UC buildings
CrushSound=InfantrySquish
Crushable=no
TiberiumProof=yes
ImmuneToVeins=yes
Strength=300
Armor=flak
TechLevel=7
Pip=red
Sight=12
Speed=6
Owner=Russians,Confederation,Africans,Arabs
AllowedToStartInMultiplayer=no
Cost=1500
Soylent=750
Points=50
IsSelectableCombatant=yes
VoiceSelect=BorisSelect
VoiceMove=BorisMove
VoiceAttack=BorisAttackCommand
VoiceFeedback=BorisFear
VoiceSecondaryWeaponAttack=BorisAirstrikeVoice
DieSound=BorisDie
CreateSound=BorisCreated
EnterWaterSound=TanyaEntersWater
LeaveWaterSound=TanyaLeavesWater
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
SpeedType=Amphibious;两栖移动方式 需要ART有两栖移动代码
MovementZone=AmphibiousDestroyer;运动地域=两栖
;MovementZone=Infantry
PhysicalSize=1
ThreatPosed=25; This value MUST be 0 for all building addons
SpecialThreatValue=1
ImmuneToPsionics=yes
ImmuneToPsionicWeapons=no
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
EliteAbilities=STRONGER,FIREPOWER,ROF,SELF_HEAL,FASTER
ElitePrimary=AKME
Size=1
Sensors=yes
SensorsSight=5
DetectDisguise=yes
DetectDisguiseRange=5
IFVMode=4
UseOwnName=true
SelfHealing=yes
BuildLimit=1
[AKM]
Damage=160
ROF=20
Range=7
Projectile=InvisibleLow
Speed=100
Warhead=BORISWH
Report=BorisAttack
AssaultAnim=UCBLOOD
[BORISWH]
Verses=100%,100%,100%,30%,25%,20%,0%,0%,0%,100%,100%
ProneDamage=70%
InfDeath=1
AnimList=PIFFPIFF,PIFFPIFF
;Bullets=yes
[AKME]
Damage=200
ROF=20
Range=9
Projectile=InvisibleLow
Speed=100
Warhead=BORISWH
Report=BorisAttack
AssaultAnim=UCBLOOD
;鲍里斯招飞机
[HornetLauncher1]
Damage=1
ROF=60
Range=12
Spawner=yes
Projectile=Invisible
Speed=10
Warhead=Special
;OmniFire=yes
FireOnce=yes
; Carrier Fighter
[HORNET2];黄蜂 鲍里斯飞机
Image=HORNET
UIName=Name:HORNET
Name=Hornet
Primary=HornetBomb2
Secondary=HornetCollision
Strength=150
Category=AirPower
Armor=light
Spawned=yes
TechLevel=-1
Sight=4
RadarInvisible=no
Landable=yes
MoveToShroud=yes
;Dock=NAHPAD,GAHPAD
;Dock=GAAIRC,AMRADR,GAAIRC2,CARADR,NAHPAD
PipScale=Ammo
Speed=20
PitchSpeed=.9
PitchAngle=0
Owner=British,French,Germans,Americans,Alliance
Cost=100
Points=0
ROT=3
Ammo=1
Crewed=no
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
Maxdebris=2
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
DieSound=
CrashingSound=HornetDie
ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
MovementRestrictedTo=Water ; See if this will affect landing only
ThreatPosed=10; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=HornetTakeoff ;Taking off
AuxSound2=HornetLanding ;Landing
ImmuneToPsionics=yes
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=STRONGER,FIREPOWER,SELF_HEAL
;Selectable=no; SJM: this should be here but is commented out because bug prevents aircraft from landing
ElitePrimary=HornetBomb2E
DontScore=yes
[HornetBomb2]
Damage=500
ROF=3
Range=5
Projectile=NormalBomb
Speed=50
Warhead=ORCAAP
Report=HornetAttack
[HornetBomb2E]
Damage=1000
ROF=3
Range=5
Projectile=NormalBomb
Speed=50
Warhead=ORCAAP
Report=HornetAttack
鲍里斯和鲍里斯AKM弹头 以及新子机需要注册
下面是ART代码
;鲍里斯
[BORIS] ; Boris
Sequence=BorisSequence
Cameo=BRISICON
AltCameo=BRISUICO
Crawls=yes
Remapable=yes
FireUp=3
PrimaryFireFLH=100,0,100
SecondaryFireFLH=100,0,100
[BorisSequence]
Ready=0,1,1
Guard=0,1,1
Prone=86,1,6
Walk=8,6,6
FireUp=169,6,6
Down=265,2,2
Crawl=91,6,6
Up=281,2,2
FireProne=217,6,6
Idle1=56,15,0,S
Idle2=71,20,0,E
Die1=139,15,0
Die2=154,15,0
Die3=0,1,1
Die4=0,1,1
Die5=0,1,1
Cheer=297,8,0,E
Paradrop=292,1,0
Panic=8,6,6
SecondaryFire=401,1,1;305,12,12
SecondaryProne=217,6,6;401,1,1;305,12,12
Tread=0,1,1
Swim=8,6,6
WetAttack=169,6,6
WetIdle=169,6,6
WetDie=169,6,6
ART代码里修复了鲍里斯不能匍匐的问题
而且配合rules两栖代码可以实现水上行走