lfnetwork.com mark read register faq members calendar

Thread: Basic Brainstorming: Default Cvar Values
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 12-02-2003, 06:43 AM   #1
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,187
Basic Brainstorming: Default Cvar Values

I've been thinking, why don't we change so of the annoying defaults for some of the cvars to improve things a bit?

Increasing the sv_fps and related network cvars would make the saber collision improvement (by boosting the server fps) transparent and work for everyone right out of the box.


---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 12-02-2003, 06:52 AM   #2
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
How about re-implementing arm breakage too. I really like what is proposed in the code.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-02-2003, 07:06 AM   #3
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,187
I saw a tiny reference to that but I didn't know what it did. Could you please explain what it is suppose to do and where in the code it is?


---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 12-02-2003, 07:11 AM   #4
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
aw man, I was going through it all this morning. Its scattered throughout the saber and force code. It states that when a limb is broken it affects everything done with said limb. force powers (ie no two-handed lightning), sabering (strenght of attacks and parries) etc.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-02-2003, 07:23 AM   #5
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,187
Does it have some visual component or is it just a internal thing?


---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 12-02-2003, 07:26 AM   #6
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
I've seen no visual components to indicate so. But you could tie it to the unused bashed animation. I'm not sure where all its linked.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-02-2003, 07:32 AM   #7
Marker0077
 
Marker0077's Avatar
 
Join Date: Jul 2002
Posts: 510
There's like 5 other master server CVars for sending the heartbeat to & only one of them gets used. You should default sv_master to master0.gamespy.com & I'll see if I can find out some other master servers to send heartbeats to as well.


Cool Links
Star Wars Funnies
Cool Mods for Medal of Honor
Cool Mods for the Jedi Knight Series
Don't want to wait for Star Wars 3? Well here ya go!

In-Game Names
Marker0077 (normal name)
Obi-wannabe (practice name)
Bar Upstairs from AA Building (drinking name)

Contact Info
ICQ: 16442029
AOL, Yahoo, Jabber, & IRC (QuakeNet): Marker0077
Cool Mods E-Mail: MoH @ Cool-Mods.com or JK @ Cool-Mods.com
E-Mail & MSN IM: Marker0077 @ Hotmail.com (*** anywhere in subject or won't get email)
Marker0077 is offline   you may: quote & reply,
Old 12-02-2003, 09:13 AM   #8
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,187
Quote:
Originally posted by keshire
I've seen no visual components to indicate so. But you could tie it to the unused bashed animation. I'm not sure where all its linked.
And how do you suggest that would work? I can't really see having broken arms work without a constant visual indicator....unless it's in the traditional movie style where the hero pops it back into place.


---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 12-02-2003, 09:34 AM   #9
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
Quote:
And how do you suggest that would work?
A nice decal?

/shrugs


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-02-2003, 10:05 AM   #10
GothiX
Ocean Soul
 
GothiX's Avatar
 
Join Date: Aug 2003
Location: Just a journey away
Posts: 1,906
Some blood sprites, maybe?


GothiX is offline   you may: quote & reply,
Old 12-02-2003, 11:46 AM   #11
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
if (arm == BROKENLIMB_LARM)
{
if (ent->client->saber[1].model[0] &&
ent->client->ps.weapon == WP_SABER &&
!ent->client->ps.saberHolstered &&
ent->client->saber[1].soundOff)
{ //the left arm shuts off its saber upon being broken
G_Sound(ent, CHAN_AUTO, ent->client->saber[1].soundOff);
}
}



//Do a pain anim based on the side. Since getting your arm broken does tend to hurt.
if (arm == BROKENLIMB_LARM)
{
anim = BOTH_PAIN2;
}
else if (arm == BROKENLIMB_RARM)
{
anim = BOTH_PAIN3;
}

if (anim == -1)
{
return;
}


Excuse my formatting. g_client.c

referenced in g_combat.c, g_main.c, g_local.h, bg_main.c and a few others.


if ((ps->brokenLimbs & (1 << BROKENLIMB_RARM)) ||
(ps->brokenLimbs & (1 << BROKENLIMB_LARM)))
{ //powers we can't use with a broken arm
switch (power)
{
case FP_PUSH:
case FP_PULL:
case FP_GRIP:
case FP_LIGHTNING:
case FP_DRAIN:
return qfalse;
default:
break;
}
}


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.

Last edited by keshire; 12-02-2003 at 12:36 PM.
keshire is offline   you may: quote & reply,
Old 12-02-2003, 11:47 AM   #12
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
So custom sounds and anims are possible.

And I'll do a more thourogh search when I get back in tonight.


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.

Last edited by keshire; 12-02-2003 at 12:40 PM.
keshire is offline   you may: quote & reply,
Old 12-02-2003, 12:49 PM   #13
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,187
I don't think that will be very convencing. A hacked off arm might be doable thou.


---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 12-02-2003, 10:25 PM   #14
Kurgan
Headhunter
 
Kurgan's Avatar
 
Join Date: Nov 1997
Location: The Dawn of Time
Posts: 18,324
LFN Staff Member 10 year veteran! 
Wink

Arm Breakage? Whoa.. just like Bushido Blade!


It hangs limply at your side after a hit. ; )


Of course the original BB had leg breakage too (you crawl when your legs are taken out!). BB2 just had one arm breakage.


While you're at it with default changes, make saberdamagescale 2 and debugmelee 1, and cg_dismember 2, g_dismember 100.


Download JK2 maps for JA Server|BOOT CAMP!|Strategic Academy|
(JA Server: 108.178.55.189:29070)


"The Concussion Rifle is the weapon of a Jedi Knight Player, an elegant weapon, from a more civilized community." - Kyle Katarn
Kurgan is offline   you may: quote & reply,
Old 12-02-2003, 10:32 PM   #15
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,187
I think saberdamagescale and debugmelee should remain the same. I'll actually change the functioning of the default behavior of those cvars soon anyway.

But I do agree that dismemberment should default on.


---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 12-03-2003, 05:25 AM   #16
keshire
Veteran
 
keshire's Avatar
 
Join Date: Nov 2003
Location: St. Charles, Mo
Posts: 959
Looks like broken limbs are also used for vehicle code but not in the same way. I think its used for checking what area of the radar flashes when damage is taken.

Any ways, armbreakage, breakarm, and the brokenlimb state is located in these. Hope its helpful.

g_local.h
g_combat.c
g_main.c
g_client.c
g_cmds.c
g_items.c
g_saga.c
g_vehicles.c
g_weapon.c

cg_local.h
cg_draw.c
cg_players.c
cg_predict.c

bg_public.h
bg_misc.c
bg_panimate.c
bg_saber.c

q_shared.h
w_saber.c
FighterNPC.c


Apathy Cannot Inspire.
Ambivalence cannot lead.
Loved me. Feared me.
Changed me. Killed me.
Anything would be something.
But nothing is worst of all.
-Keshire of the Bleak Cabal.
keshire is offline   you may: quote & reply,
Old 12-04-2003, 02:28 AM   #17
NickR
 
NickR's Avatar
 
Join Date: Apr 2002
Location: Kent, UK
Posts: 141
Try out the "limb_break" command ingame, you get some nice ****ed up anims.

P.S. You might have to have the dlls compiled in DEBUG mode so the default ones that come with JA might not let you use this command. I might be wrong but you do need cheats on to try it out.


I get dumped on alot. It's one of the hazards of being me!
NickR 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 > Community > Hosted Forums > Open Jedi Project (OJP) > Basic Brainstorming: Default Cvar Values

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 04:31 PM.

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