红警mod吧 关注:1,886贴子:22,740
  • 0回复贴,共1
求助

求助,自制导弹只会无限飞行,不会俯冲攻击。有解决方法吗

只看楼主收藏回复

如题。我想自制一个独立于v3火箭和无畏导弹之外的导弹单位。但自己做出来的自制导弹发射后会随机向一个方向飞行,而且自带无限飞行(就是v3火箭和无畏导弹的无限飞行bug)。下面是详细代码。有mod高手知道是哪里出错吗?
[lbk]RMISL[rbk]
UIName=Name:DMISL
Name=Radiation Missile
Image=BSUBMISL
FireAngle=1
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=20
Owner=YuriCountry
OmniFire=yes
Cost=50
Points=18;20
ROT=4
Crewed=no
Explodes=no
GuardRange=30
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=BoomerAttack1
;AuxSound2=DROPDWN1 ;Landing
ImmuneToPsionics=yes
;VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
;EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
NoShadow=yes
Selectable=no
trainable=yes
FlyBack=true
DontScore=yes
ImmuneToRadiation=yes
Missile.Custom=yes
Missile.PauseFrames=10
Missile.TiltFrames=100
Missile.PitchInitial=1
Missile.PitchFinal=1
Missile.TurnRate=0.05
Missile.RaiseRate=1
Missile.Acceleration=1.0
Missile.Altitude=768
Missile.Damage=125
Missile.EliteDamage=150
Missile.BodyLength=128
Missile.LazyCurve=no
Missile.Warhead=DummyWarhead
Missile.EliteWarhead=DummyWarhead
Primary=RadCollision
*** Weapons ***
[lbk]RadCollision[rbk]
Damage=150
Range=1.1 ; can not be lower than this, can caused bug
Projectile=RadCollisionP
Warhead=RadBombWH
IsRadEruption=no
RadLevel=450 ; up to you (100-500)
*** Projectiles ***
[lbk]RadCollisionP[rbk]
Proximity=no
Image=BSUBMISL
Ranged=yes
SubjectToCliffs=no
SubjectToElevation=no
SubjectToWalls=no
*** Warheads ***
[lbk]RadBombWH[rbk]
Verses=200%,100%,100%,80%,65%,60%,85%,50%,15%,100%,100%
InfDeath=7
Radiation=yes
CellSpread=6
PercentAtMax=.40
WallAbsoluteDestroyer=yes
Wood=yes
Wall=yes
Sparky=no
Tiberium=yes
AnimList=MININUKE
ShakeXlo=1
ShakeXhi=1
ShakeYlo=5
ShakeYhi=5
ProneDamage=70%


IP属地:美国来自Android客户端1楼2024-11-24 18:06回复