Neon Posted May 28, 2010 Share Posted May 28, 2010 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 Grtz Link to comment Share on other sites More sharing options...
Kimberly Posted May 28, 2010 Share Posted May 28, 2010 well i think it is possible... maybe you look at this code w_force.c 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 Jetpack_Off(traceEnt); 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.