Here's Dz's October Sub code.
[MSUB]
UIName=Name:MSUB
Name=Oktober Sub
Prerequisite=NAYARD,NATECH
Primary=ChemLauncher2
NavalTargeting=6
LandTargeting=0
CanPassiveAquire=no
CrateGoodie=no
CanRetaliate=no
FireAngle=64
PipScale=Ammo
PipWrap=1
Ammo=1
PreventAttackMove=yes
Category=LRFS
Strength=600
Naval=yes
Armor=heavy
TechLevel=10
Underwater=yes
Sight=6
Sensors=yes
SensorsSight=6
Speed=3
Reload=768
EmptyReload=1024
Owner=Russians,Confederation,Africans,Arabs
RequiredHouses=Russians
AllowedToStartInMultiplayer=no
Cost=2500
Soylent=1250
Turret=no
Points=40
ROT=2
Crusher=no
Crewed=no
Weight=4
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN42,S_TUM U60
VoiceSelect=GenSovWaterSelect
VoiceMove=GenSovWaterMove
VoiceAttack=GenSovWaterAttackCommand
VoiceFeedback=SubFear
DieSound=GenSmallWaterDie
SinkingSound=NavalUnitSubmerge
DamageSound=NavalUnitEmerge
CreateSound=NavalUnitSubmerge
Locomotor={2BEA74E1-7CCA-11d3-BE14-00104B62A16C}
SpeedType=Float
MovementZone=Water
MoveSound=SubMove
ThreatPosed=40
Cloakable=yes
CloakingSpeed=2
DecloakToFire=yes
BuildLimit=1
TooBigToFitUnderBridge=true
Size=20
Trainable=no
[ChemLauncher2]
ROF=50
Damage=25
Speed=20
Range=30
Projectile=ChemMissile2
Warhead=V3HE
FireOnce=yes
Anim=V3TAKOFF
Report=V3Attack
DecloakToFire=yes
[ChemMissile2]
Arm=2
Proximity=yes
High=yes
VeryHigh=yes
Cluster=10
Image=EMISL
FirersPalette=yes
Airburst=yes
AirburstWeapon=V3Cluster
Ranged=yes
AA=no
ROT=4
its just projectile, not spawned unit. So the missile cant b destroyed. I never tried spawning unit rocket. Hey mmk, didnt the code for suicide plane form LaoTze's mod worked ?
|