20.03.2007, 11:46:26
I added the addition info to the rocket but everytime I order it to attack I get a IE
heres the code
heres the code
Quote:[SCUDROCKET]
UIName=Name:SCUDROCKET
Name=SCUD missile
Image=SCUDROCKET
FireAngle=1
Strength=100 ;50
Category=AirPower
Armor=special_2
Spawned=yes
MissileSpawn=yes
TechLevel=-1
Sight=1
RadarInvisible=no
Landable=yes
MoveToShroud=yes
Ammo=1 ;Aircraft are hard wired to require ammo
Speed=14
Owner=Russians,Confederation,Africans,Arabs,China,Nkorea
Cost=50
Points=25
ROT=3
Crewed=no
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
;Explodes=no
;MaxDebris=2
Explodes=yes
MaxDebris=20 ;150
MinDebris=16 ;100
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS7LG,DBRIS8SM
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=V3Attack ;Taking off
;AuxSound2=DROPDWN1 ;Landing
ImmuneToPsionics=yes
;VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
;EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
NoShadow=yes
Selectable=no
Trainable=no
DontScore=yes
Explodes=yes
MaxDebris=20 ;150
MinDebris=16 ;100
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS7LG,DBRIS8SM
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=V3Attack ;Taking off
;AuxSound2=DROPDWN1 ;Landing
ImmuneToPsionics=yes
;VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
;EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
NoShadow=yes
Selectable=no
Trainable=no
DontScore=yes
IsCustomMissile=yes ;this tells the game that this AircraftType is a custom missile type
MissileWarhead=V3WH
MissileEliteWarhead=V3EWH
MissilePauseFrames=20 ;How many frames the rocket pauses on the launcher before tilting
MissileAcceleration=0.8 ;This much is added to the missile's velocity each frame during launch
MissileAltitude=900 ;Cruising altitude in leptons: at this height missile BEGINS leveling off