想用基洛夫发射导弹,按照导弹车写的,但是进游戏攻击没反应,求助。
这是代码:
[AIRCENTER]
UIName=Name:ZEP
Name=Kirov Airship
Prerequisite=NAWEAP
Primary=SmallMissileLauncher
Spawns=SmallMissile
SpawnsNumber=8
SpawnRegenRate=140
SpawnReloadRate=0 ; missile spawn don't come back
NoSpawnAlt=no ; alternate voxel for out of spawns: xxxxWO (DREDWO)
FireAngle=32
Strength=2000
Category=AirPower
Armor=medium
TechLevel=10
Sight=8
RadarInvisible=no
MoveToShroud=yes
BalloonHover=yes ; ie never land
;OmniFire=yes ;GEF moving to weapon
Speed=5
JumpjetSpeed=5 ;params not defined use defaults (old globals way up top called Jumpjet controls)
JumpjetClimb=6 ; SJM increased from 2 so Kirov can get out of factory before doors close
JumpjetCrash=12 ; Climb, but down
JumpJetAccel=10
JumpJetTurnRate=2
JumpjetHeight=750
;JumpjetWobbles=.01 ; ! value of zero stop wobbles? NO! Wobbles of zero means div by 0 crash. "How many wobbles would you like?" "0" "You must have wobbles!!! I kill you!"
;JumpjetDeviation=1
JumpjetNoWobbles=yes ; Really small numbers on two lines above don't actually slow down the wobbling since it is the amplitude of a sinusoidal curve
Crashable=yes ; JJ plummets down like aircraft
PitchSpeed=.9
PitchAngle=0
Owner=Russians,Confederation,Africans,Arabs
Cost=2000
Soylent=2000
Points=100
ROT=10
SpeedType=Hover
Crewed=no
ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=14
IsSelectableCombatant=yes
VoiceSelect=KirovSelect
VoiceMove=KirovMove
VoiceAttack=KirovAttackCommand
VoiceFeedback=
VoiceCrashing=KirovVoiceDie
DieSound=
CreateSound=KirovCreated
CrashingSound=KirovDie
ImpactLandSound=KirovCrash
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5} ;Jumpjet
MovementZone=Fly
ThreatPosed=30 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=Dummy ;Taking off
AuxSound2=Dummy ;Landing
AllowedToStartInMultiplayer=no
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
SelfHealing=Yes
MoveSound=KirovMoveLoop
Parasiteable=no
Size=50
Bunkerable=no; Units default to yes, others default to no
[SmallMissileLauncher]
Damage=25 ;35
ROF=90
Burst=1
Range=25
MinimumRange=6; the missiles need time to align
Spawner=yes
Projectile=InvisibleAG
Speed=25
Warhead=Special
OmniFire=yes
Report=BoomerAttack1
[InvisibleAG]
Inviso=yes
Image=none
ROT=3
AA=no
AG=yes
SubjectToElevation=yes
[SmallMissile]
UIName=Name MISL
Name=Dread Missile
Image=SMALLMISSILE
FireAngle=0
Strength=50
Category=AirPower
Armor=special_2
Spawned=yes
MissileSpawn=yes
TechLevel=-1
Sight=0
RadarInvisible=no
Landable=yes
MoveToShroud=yes
Ammo=1 ;Aircraft are hard wired to require ammo
Speed=16;20
Owner=Russians,Confederation,Africans,Arabs
Cost=50
Points=20
ROT=4
Crewed=no
Explodes=no
GuardRange=45
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=2
Locomotor={B7B49766-E576-11d3-9BD9-00104B972FE8}
MovementZone=Fly
ThreatPosed=10 ; This value MUST be 0 for all building addons
DamageParticleSystems=SmallGreySSys ; Sparks don't work well here. SJM
AuxSound1=DreadnoughtAttack ;Taking off
;AuxSound2=DROPDWN1 ;Landing
ImmuneToPsionics=yes
;VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
;EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
NoShadow=no
Selectable=no
Trainable=no
FlyBack=true
DontScore=yes
Missile.Custom=yes
Missile.PauseFrames=0
Missile.TiltFrames=0
Missile.PitchInitial=1
Missile.PitchFinal=1
Missile.TurnRate=0.35
Missile.RaiseRate=1
Missile.Acceleration=1.0
Missile.Altitude=900
Missile.Damage=100
Missile.EliteDamage=200
Missile.BodyLength=128
Missile.LazyCurve=no
Missile.Weapon=Missle-Nuke
Missile.EliteWeapon=Missle-NukeE
Missile.Homing=yes |