Hey Guys i have a problem. I made a unit that spawns a limbolaunch aircraft (so far so good) but the unit never gets the missile back (Spawnregenrate ; spawnreloadrate) Here is the code for it
Code:
MJEEP]
UIName=Name:MJEEP
Name=Missile Buggy
Category=AFV
Prerequisite=NAWEAP,NARADR
Primary=V3Launcher
CanPassiveAquire=yes ; Won't try to pick up own targets
Spawns=MJEEPMSL
SpawnsNumber=1
SpawnRegenRate=200
SpawnReloadRate=100 ; missile spawn don't come back
NoSpawnAlt=yes ; alternate voxel for out of spawns: xxxxWO (MJEEPWO)
Strength=150
Armor=light
TechLevel=3
Turret=no
CrateGoodie=yes
Sight=9
Speed=7
Owner=Russians,Confederation,Africans,Arabs
Cost=800
Soylent=800
Points=20
ROT=6
AllowedToStartInMultiplayer=no
Crusher=yes
Crewed=yes
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=V3Select
VoiceMove=V3Move
VoiceAttack=V3AttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=V3MoveStart
CrushSound=TankCrush
MaxDdebris=3
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Destroyer
ThreatPosed=25 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
ZFudgeColumn=8
ZFudgeTunnel=13
Size=3
GuardRange=9
TooBigToFitUnderBridge=true
Bunkerable=yes; Units default to yes, others default to no
OpportunityFire=yes
Code:
[MJEEPMSL]
UIName=Name:DMISL
Name=Missile
Prerequisite=GAAIRC
Primary=MissileJump2 ;Weapon to use when it kamikaze into its target
DeathWeapon=HornetCollision ;Alternate weapon when it gets shot down
CanPassiveAquire=no
CanRetaliate=no
Strength=50
Category=AirPower
Armor=special_2
TechLevel=-1 ;3
Sight=1
RadarInvisible=no
Landable=yes
MoveToShroud=yes
Dock=GAAIRC,NAAIRC
PipScale=Ammo
Speed=16
PitchSpeed=1.1
PitchAngle=0
OmniFire=yes
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Cost=100
Points=20
ROT=3
Ammo=1
Crewed=no
ConsideredAircraft=yes
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
IsSelectableCombatant=no
VoiceSelect=ChaosDroneSelect
VoiceAttack=ChaosDroneAttackCommand
VoiceMove=ChaosDroneMove
VoiceFeedback=
VoiceCrashing=ChaosDroneDie
DieSound=
MoveSound=IntruderMoveLoop
CrashingSound=IntruderDie
ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=20
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=IntruderTakeOff
AuxSound2=IntruderLanding
Fighter=yes
AllowedToStartInMultiplayer=no
ImmuneToPsionics=yes
ImmuneToRadiation=yes
PreventAttackMove=yes
Trainable=no
Spawned=yes ; Created by another object and therefore not player controllable
Selectable=no
FlyBy=true
The only problem is that i never get a second missile (and third....).
And remember part of the code belongs to REN so i do not take credit for the missile and weapon.
Thanks Ren