Automatic Jet-Pack Thrust
Posted: Wed Jan 26, 2011 7:05 am
I am trying to make the RocketPack [Jet Pack from Secret Weapons of WWII] have automatic thrust instead of the player having to hit the space button a thousand times to fly ten feet. Plus, hitting the spacebar that much can wear out the space button.
What do I do to make it have automatic thrust [Just hold the space bar and the thrust will stay on]?
I believe the scripting is edited here:
What do I do to make it have automatic thrust [Just hold the space bar and the thrust will stay on]?
I believe the scripting is edited here:
Code: Select all
ObjectTemplate.create ActiveKitPart GermanElite_RocketPack
ObjectTemplate.geometry GermanElite_rocketpack
ObjectTemplate.setBoneName backpack
ObjectTemplate.setCopyLinksCount 0
ObjectTemplate.setActiveAcceleration 0/72/0
ObjectTemplate.setPassiveAcceleration 0/7.7/0
ObjectTemplate.setInAirAnimOverride GrenadeAxisFire
ObjectTemplate.burstFrequency 30
ObjectTemplate.Damping 0.0
ObjectTemplate.setTrigger PIAction
ObjectTemplate.addToNegativeMask Climbing
ObjectTemplate.addToNegativeMask Crouching
ObjectTemplate.addToNegativeMask Swiming
ObjectTemplate.addToNegativeMask Lying
ObjectTemplate.addTemplate e_RocketPack
ObjectTemplate.addTemplate e_RocketPackDefault
ObjectTemplate.DefaultEffectTemplate e_RocketPackDefault
rem ObjectTemplate.startEffectTemplate e_MustangFire
ObjectTemplate.ActiveHeatIncrement 0.001
rem ** I think PassiveHeatIncrement should be kept to 0.0 **
ObjectTemplate.PassiveHeatIncrement 0.0
ObjectTemplate.CoolingFactor 1.0
ObjectTemplate.ActiveEffectPersistancePerFrame 0
ObjectTemplate.loadSoundScript Sounds/RocketPack.ssc
ObjectTemplate.setInAirAnims Lb_RocketeeringIdle Empty
ObjectTemplate.OverrideAirMovementInhibitations 1