LucasForums (
-   JA Coding (
-   -   Destroyable jetpack (

Neon 05-28-2010 03:01 PM

Destroyable jetpack
I'm wondering if it is possible to code the jetpack so that when you hit it, it will explode like in episode 2. This means completely disable the flying abilities and doing some minor damage to the player who is wearing it.

I have never programmed in jedi academy before. But I do know the c++ language. If this is possible then I want to try this to test my skills in c++
Also, all the help to get me started is appreciated of course :)


Kimberly 05-28-2010 04:14 PM

well i think it is possible... maybe you look at this code


just search for cloak...

* Added by Kimmy
* Disables the victim's jetpack if we fire some lightnings at him
if ( traceEnt->client->jetPackOn )
{// disable jetpack temporarily
traceEnt->client->jetPackToggleTime = level.time + Q_irand( 3000, 10000 );

If you want to expand this than strip the clients jetpack, decrease his health, play a sound and fx :P

All times are GMT -4. The time now is 07:36 PM.

Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2015 - All rights reserved.