lfnetwork.com mark read register faq members calendar

Thread: Messing with Source
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 01-24-2007, 03:41 PM   #1
darthgrizavy
Rookie
 
Join Date: Mar 2006
Posts: 26
Messing with Source

I've been playing around with the source for awhile. Where would I go to modify the OJP to have lightsabers alternate attack as a blocking stance. I've been messing with it for awhile but I'm really scratching my head as to how to change all the button configurations to do what I want to do.
darthgrizavy is offline   you may: quote & reply,
Old 01-24-2007, 07:12 PM   #2
JRHockney*
Moderator
 
JRHockney*'s Avatar
 
Join Date: Jan 2006
Posts: 1,255
Hot Topic Starter LFN Staff Member 
Quote:
Originally Posted by darthgrizavy
I've been playing around with the source for awhile. Where would I go to modify the OJP to have lightsabers alternate attack as a blocking stance. I've been messing with it for awhile but I'm really scratching my head as to how to change all the button configurations to do what I want to do.
We use to have manual blocking in this mod but we ditched it because there was too much blocking and not enough swinging. That and we saw much more potential in our autoblock/parryblock system for movie looks, intense close up combat and.....non......MB2........ness... Unless you can come up with a way of implementing it in a way that does not change look and feel of our saber combat, I don't think enough of this community is willing to stand for such a change unless everybody and especially Razor agrees upon it.

If your doing it just for experimental purposes, I would personally stick to w_saber.c and first change how the kick and attackfake are done since you would end up kicking with alt attack and movement and you need ALT attack to do an attack fake. but that might become a more permenant change). Run a search on BUTTON_ALT_ATTACK. Then I would find the saberCanBlock code or whatever the can dodge code is depending on what you want to do and then put something like:
if(!(self->client->pers.cmd.buttons & BUTTON_ALT_ATTACK))
{
return 0 or return false or whatever since I'm not looking directly at the code
}

I'm sure razor would do it differently with more advanced coding, but I'm a newb coder an only know basic changes for things.

Also, I would SERIOUSLY suggest learning all the facets of our sabersystem before you go too far off in your experiments. Theres alot of stuff you could potentially mess up in your experimenting if your not careful and knowledgable on whats different. Be sure to play with us a few times online before you do anything too advanced.

Just remember, while our seige may or may not one day look similiar to MB2, we are not MB2 and have made especially our sabercombat very distintive from it. The choices we've made for it are based around what we believe is a better way to go and have even drawn alot of MB2 saberists to our mod because of those choices (Maxstate [aka tkpaddy] and JackBaldy are two of MB2s best saberists). Anyways, good luck learning the code


Game screen name: Master Jon Hoc Ni

UDM Quote: in singapore, gangsters are...skinny jacka**es who think they can 0wn you. they hurl insults at u, and then lose in a fight. n00bs

Last edited by JRHockney*; 01-24-2007 at 07:30 PM.
JRHockney* is offline   you may: quote & reply,
Old 01-24-2007, 10:53 PM   #3
UDM
 
Join Date: Mar 2003
Posts: 922
"while our seige may or may not one day look similiar to MB2"

Yeah, that and the fact that a lot of us prefer co-op FTW. I think.
UDM is offline   you may: quote & reply,
Old 01-26-2007, 12:04 PM   #4
Maxstate
I forgot.... what?
 
Maxstate's Avatar
 
Join Date: Aug 2004
Location: ;o ;p :eek:
Posts: 2,090
Only you prefer Coop really , though I'm getting into it alot more since the NPc's actually started running away from me. Coop was too static and there was too little feedback in it, but it's great now. Also deflect being given a nice new touch brings some more fun into play, though we still need some touching up.

Maxstate is offline   you may: quote & reply,
Old 01-26-2007, 01:02 PM   #5
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
Not only him suz max.


iojamp project lead / coder
ensiform is offline   you may: quote & reply,
Old 01-26-2007, 04:01 PM   #6
Maxstate
I forgot.... what?
 
Maxstate's Avatar
 
Join Date: Aug 2004
Location: ;o ;p :eek:
Posts: 2,090
Quote:
Originally Posted by ensiform
Not only him suz max.
I -like- Coop, but do I prefer it over siege, FFA or CTF? No.. not really.
Played through it too many times.

Maxstate is offline   you may: quote & reply,
Old 02-04-2007, 09:52 PM   #7
darthgrizavy
Rookie
 
Join Date: Mar 2006
Posts: 26
coops fun I agree, siege would be fun too, and last man standing siege (MB) !
darthgrizavy 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) > Messing with Source

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 10:42 AM.

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