lfnetwork.com mark read register faq members calendar

Thread: New Force Speed
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 11-28-2004, 05:23 AM   #1
Styles2304
Rookie
 
Styles2304's Avatar
 
Join Date: Jan 2004
Posts: 43
New Force Speed

Does anyone know if it's possible to just slow everyone down but keep the player at normal speed instead of the way it is?


Styles2304 is offline   you may: quote & reply,
Old 11-28-2004, 05:24 PM   #2
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,176
I'm sure it's possible, you'd just have to do a lot of coding work to get it to work.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 11-29-2004, 08:40 AM   #3
Tinny
 
Tinny's Avatar
 
Join Date: Apr 2002
Posts: 1,188
Re: New Force Speed

Quote:
Originally posted by Styles2304
Does anyone know if it's possible to just slow everyone down but keep the player at normal speed instead of the way it is?

What if 2 people activate speed at different force levels?


Redeemed!

An old school mod for jedi academy.
Tinny is offline   you may: quote & reply,
Old 12-01-2004, 05:05 AM   #4
mad mapper
Rookie
 
Join Date: Aug 2004
Location: Germany
Posts: 25
you might do it like this:

everyone is slowed by the factor of strongest force speed and the one who uses the force at a lower level gets a bonus of her/his own force speed.


Excuse my bad English please.
mad mapper is offline   you may: quote & reply,
Old 12-19-2004, 09:41 AM   #5
GangsterAngel
Rookie
 
GangsterAngel's Avatar
 
Join Date: May 2004
Posts: 139
speed

speed is set in one line, in G_Active.c

could be laggy to check if anyone else is using speed.
like.

Code:
 
int i;
int speeduser;

	for ( i = 0 ; i < level.maxclients ; i++ ) {
	gentity_t *kEnt = &g_entities[i];
	if (kEnt->inuse && kEnt->client && !kEnt==ent) 
if(ent->client->ps.fd.forcePowersActive & (1>>FP_SPEED))speeduser=1; 
	}


if(ent->client->ps.fd.forcePowersActive & (1<<FP_SPEED) && speeduser) ent->client->ps.speed=250;
GangsterAngel 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 > New Force Speed

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 02:00 PM.

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