Posted: Sun Dec 12, 2010 2:49 pm Post subject:
Nuke Cannon
I am creating a Nuke Cannon with NCANNON of ChinaGeneralspack, but how to prevent it attack when it undeploy? I mean my NC only attack after deployed. Thank.
; Nuke Cannon
[NCANNON]
UIName=Name:NCANNON
Name=ZZZ Deployed Soviet Siege Chopper
Prerequisite=NAWEAP,TECH
Primary=none
Secondary=InfernoLauncher
Strength=300
Category=AFV
;JumpJet=yes
Armor=light
TechLevel=7
Sight=7
Speed=1
;PitchSpeed=1.1
;JumpjetSpeed=30 ;params not defined use defaults (old globals way up top)
;JumpjetClimb=10
;JumpjetCrash=40 ; Climb, but down
;JumpJetAccel=12
;JumpJetTurnRate=6
;JumpjetHeight=500
;JumpjetWobbles=.01
;JumpjetDeviation=1
Owner=Russians,Confederation,Africans,Arabs
Cost=1400
Soylent=1400
Points=15
ROT=5
Crewed=no
;ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
VoiceSelect=BruteAttackCommand
VoiceMove=BruteAttackCommand
VoiceAttack=BruteAttackCommand
;VoiceCrashing=BruteAttackCommand
CrashingSound=BruteAttackCommand
DieSound=
MoveSound=V3MoveStart
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
;Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5} ;jumpjet
MovementZone=Destroyer
DamageParticleSystems=SparkSys,SmallGreySSys
;AuxSound1=BlackOpsTakeOff ;Taking off
;AuxSound2=BlackOpsLanding ;Landing
ThreatPosed=0
SpecialThreatValue=1
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=15
SizeLimit=2
;HoverAttack=yes
AllowedToStartInMultiplayer=yes
Crashable=yes
;CanPassiveAquire=no ; Won't try to pick up own targets
;SpeedType=Hover
;MoveSound=SeigeChopperMoveLoop
EnterTransportSound=EnterTransport
LeaveTransportSound=ExitTransport
ElitePrimary=BlackHawkCannonE
EliteSecondary=160mmE
PreventAttackMove=yes
TooBigToFitUnderBridge=true
Trainable=yes
Bunkerable=no; Units default to yes, others default to no
IsSimpleDeployer=yes
UnloadingClass=NCANNON_D
;DeployingAnim=SCHPDEPL
DeployFire=yes
Turret=yes
;DeployToLand=yes
IsSelectableCombatant=yes ; TR
[NCANNON_D]
UIName=Name:NCANNON
Name=Nuke Cannon;locked
Category=AFV
Prerequisite=NAWEAP
Primary=none
Strength=200
Category=AFV
;JumpJet=yes
Armor=light
TechLevel=-1
Sight=7
Speed=1
;PitchSpeed=1.1
;JumpjetSpeed=30 ;params not defined use defaults (old globals way up top)
;JumpjetClimb=10
;JumpjetCrash=40 ; Climb, but down
;JumpJetAccel=12
;JumpJetTurnRate=6
;JumpjetHeight=500
;JumpjetWobbles=.01
;JumpjetDeviation=1
Owner=Russians,Confederation,Africans,Arabs
Cost=1000
Points=15
ROT=5
Crewed=no
;ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
VoiceSelect=BruteAttackCommand
VoiceMove=BruteAttackCommand
VoiceAttack=BruteAttackCommand
;VoiceCrashing=BruteAttackCommand
DieSound=
;CrashingSound=BlackOpsDie
;ImpactLandSound=GenAircraftCrash
;Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1} ;flying
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5} ;jumpjet
MovementZone=Destroyer
DamageParticleSystems=SparkSys,SmallGreySSys
;AuxSound1=BlackOpsTakeOff ;Taking off
;AuxSound2=BlackOpsLanding ;Landing
ThreatPosed=0
SpecialThreatValue=1
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=15
SizeLimit=2
;HoverAttack=yes
AllowedToStartInMultiplayer=no
Crashable=yes
CanPassiveAquire=no ; Won't try to pick up own targets
;SpeedType=Hover
EnterTransportSound=EnterTransport
LeaveTransportSound=ExitTransport
ElitePrimary=BlackHawkCannonE
PreventAttackMove=yes
TooBigToFitUnderBridge=true
Trainable=yes
Bunkerable=no; Units default to yes, others default to no
IsSimpleDeployer=yes
UnloadingClass=NCANNON
Turret=yes
DeployFire=yes
;DeployToLand=yes QUICK_EDIT
Set Primary to a weapon that has all 0% on its warhead, do not use none since it causes the engine to consider it an unarmed unit.
Advertisment: You may wish to use my NPatch Extended on which the DeployToFire=yes logic works with IsSimpleDeployer=yes as well. Kenosis is translating the manual and it's coming soon. _________________ Fusion Reactor upgrade is complete.
Whatever. Yesterday I found some stupid mistakes in NP and it completely annoyed me! As a result I decided to abandon NP and make my own patch that is compatible with NP but more stable. Though there is a long way, I'll keep groping until I give up. But before all, the NP Extension must be finished. _________________ Fusion Reactor upgrade is complete.
LH_Mouse ignore that scumbag FurryQueen, he is a spammer _________________ "I'll be staying strapped cuse my mac-eleven make my nuts bigger" QUICK_EDIT
Advertisment: You may wish to use my NPatch Extended on which the DeployToFire=yes logic works with IsSimpleDeployer=yes as well. Kenosis is translating the manual and it's coming soon.
Whatever that thing is man. I'm sticking my butt to Ares. _________________ Ponies are not awesome. Kill all bronies with fire. Last edited by Untrue on Tue Dec 14, 2010 10:50 am; edited 1 time in total QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum