lfnetwork.com mark read register faq members calendar

Thread: Destroyable jetpack
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 05-28-2010, 03:01 PM   #1
Neon
Veteran
 
Neon's Avatar
 
Join Date: Mar 2004
Location: Belgium
Posts: 980
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

Grtz


Neon is offline   you may: quote & reply,
Old 05-28-2010, 04:14 PM   #2
Kimberly
Rookie
 
Join Date: Mar 2010
Posts: 11
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 :P
Kimberly is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Coding > Destroyable jetpack

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


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

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