lfnetwork.com mark read register faq members calendar

Thread: Increasing Force Power duration of K1 Force Pack
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 07-19-2013, 05:18 PM   #1
DaneKoponen
Lurker
 
Join Date: Dec 2010
Posts: 2
Increasing Force Power duration of K1 Force Pack

I'm playing with a Guardian that focuses on multiple personal buffs. Unfortunately, the short duration of several powers such as Master Speed makes them tedious to recast on a regular basis, especially when doing so for 6 different Force powers. I've taken to relying on the bugs that occur when switching between areas to "perma-cast" my various powers, but I have a poor understanding of this buggy mechanic.

I've never done any modding before, but I went ahead and opened up my k_inc_force.nss and played with some numbers in there. Compiled into k_sp1_generic.ncs, threw that into override and... promptly broke half the Force powers. My suspicion is that either I was changing things incorrectly, didn't properly compile, I was doing things that conflicted with K1 Force Pack, or, mostly likely, all three. Which is just as well, since K1 Force Pack added a bunch of things that I want to tweak anyways.

So here's what I'm trying to do: casting stuff continuously is tedious and reduces game immersion dramatically. Bugging the spells is cheap and unreliable. What I'd like to do is mod the duration to be as long as possible (preferably permanent until overwritten by another power- perhaps even passive?), while reducing the effectiveness of the bonuses. Having everything active all the time at their normal effectiveness strikes me as overpowered, and I'm not entirely trying to powergame (my character is crippled severly in other ways and relies on the force heavily).

Unfortunately I'm not sure how to go about modding K1 Force Pack, or if I even have the source files I'd need to do so. Should I ask permission of the mod creator to tinker with his work, even for personal use?

Any help would be appreciated, thanks.

P.S. I also have a file in my override that removes the blur effect from Force Speed (I literally couldn't play with it).
DaneKoponen is offline   you may: quote & reply,
Old 07-20-2013, 04:27 PM   #2
Christos K
Veteran
 
Christos K's Avatar
 
Join Date: Mar 2007
Posts: 753
If it's for your own personal use, you never really have to ask for permission but I'm sure you're welcome to ask for help.


"It's the one that says Bad Mother ****er." - Jules Winnfield... Describing his wallet, Pulp Fiction.
Christos K is offline   you may: quote & reply,
Old 07-20-2013, 11:50 PM   #3
Zerimar Nyliram
Senior Member
 
Zerimar Nyliram's Avatar
 
Join Date: Sep 2004
Location: Pittsburgh, PA USA
Posts: 1,451
Forum Veteran 
Hey, great idea! This is something that's always bugged the hell out of me as well. Is it possible to rig powers so that they function like on/off switches? Press it once to activate, press it again to deactivate?

Also, somebody here (I think it may have been Shem, but don't quote me on that) produced a popular mod one time that removed the annoying blur effect from Force speed. Would Dane's idea conflict with that mod? Would it be possible to create a mod that is either compatible with the other one, or simply incorporates both functions into a single mod?


Quote:
Originally Posted by a silly noob View Post
YOURS VERY SLOW ! PLS NEW PROGRESSS PLS NEW UPDATES PLS DARK FORCES FİNAL VERSİON İ CAN WAİTİNG KOTF PART 1 RELEASED 5 YEAR AND İTS 1 MAN ( OSMAN GUNYAZ DEVELOPERS ) BUT YOURS VERY PEOPLE İ CANT WAİTİNG 5 YEARS
Zerimar Nyliram is offline   you may: quote & reply,
Old 07-21-2013, 01:36 AM   #4
CptPriceless
Junior Member
 
CptPriceless's Avatar
 
Join Date: Jun 2011
Location: California
Posts: 351
Current Game: TSL
I always thought the same; having to activate all my buffs before combat was tedious, though I agree - having them on as permanent passives would make my character op. The concept of duration makes sense - afterall, there's a limit to how much a Jedi can use the Force... But given the fact that it's Revan, perhaps the duration can be extended?

I always wanted something like Force Enlightenment for K1. Just a lot more efficient imo. Perhaps if the character reaches 100% LS (s)he get's "Force Enlightenment" and when 100% DS (s)he get's "Force Enrage." Different names and connotations, but same buffs (I just want the efficient option available for both LS and DS characters :P)



Last edited by CptPriceless; 07-21-2013 at 01:42 AM.
CptPriceless is offline   you may: quote & reply,
Old 07-21-2013, 03:18 PM   #5
Christos K
Veteran
 
Christos K's Avatar
 
Join Date: Mar 2007
Posts: 753
^It's funny you should mention that because I was gonna make a request for Force Enlightenment in K1 and some sort of equivalent for the DS players.


"It's the one that says Bad Mother ****er." - Jules Winnfield... Describing his wallet, Pulp Fiction.
Christos K is offline   you may: quote & reply,
Old 07-22-2013, 07:21 PM   #6
Malxados
Rookie
 
Malxados's Avatar
 
Join Date: Feb 2009
Location: Mandalore
Posts: 224
Current Game: Warframe, SC Blacklist, KOTOR1
One thing you might want to consider- rather than editing k_inc_force, you could theoretically create a new script with just the modified version of a force power (such as Master Speed) and then reference that new script in the spells.2da rather than referencing k_sp1_generic. Might be significantly cleaner than modifying widely used scripts


"But God demonstrates His own love toward us, in that while we were still sinners, Christ died for us." (Romans 5:8, NKJV)
"For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord." (Romans 6:23, NKJV)

Ask me about my sig!

Bao-Dur: I'll take the one who was stupid enough to threaten us instead of shoot us when he had the chance.

k_inc_force bothers me.
Malxados is offline   you may: quote & reply,
Old 07-24-2013, 05:37 PM   #7
Malxados
Rookie
 
Malxados's Avatar
 
Join Date: Feb 2009
Location: Mandalore
Posts: 224
Current Game: Warframe, SC Blacklist, KOTOR1
Quote:
Originally Posted by Malxados View Post
Might be significantly cleaner than modifying widely used scripts
And as it turns out, it might be a lot harder too =d I was able to get Master Force Speed to work as an on/off switch, using this modified section of k_inc_force:

Code:
/*
        MASTER SPEED
        */
        case FORCE_POWER_SPEED_MASTERY:
        {
            SWFP_HARMFUL = FALSE;
            eLink1 = EffectMovementSpeedIncrease(99);
            eLink1 = EffectLinkEffects(eLink1, EffectACIncrease(4));
            eLink1 = EffectLinkEffects(eLink1, EffectModifyAttacks(2));
            eLink1 = SetEffectIcon(eLink1, 22);

            if(OBJECT_SELF == GetPartyMemberByIndex(0))
            {
                eLink1 = EffectLinkEffects(eLink1, EffectVisualEffect(VFX_DUR_SPEED));
                //eLink1 = EffectLinkEffects(eLink1, EffectVisualEffect(VFX_IMP_SPEED_MASTERY));
            }
            if(GetHasSpellEffect(FORCE_POWER_SPEED_BURST, oTarget))
            {
                Sp_RemoveSpellEffectsGeneral(FORCE_POWER_SPEED_BURST, oTarget);
            }
            if(GetHasSpellEffect(FORCE_POWER_KNIGHT_SPEED, oTarget))
            {
                Sp_RemoveSpellEffectsGeneral(FORCE_POWER_KNIGHT_SPEED, oTarget);
            }
            if(GetHasSpellEffect(FORCE_POWER_SPEED_MASTERY, oTarget))
            {
                Sp_RemoveSpellEffectsGeneral(FORCE_POWER_SPEED_MASTERY, oTarget);
            }else{
            ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLink1, oTarget);            }
        }
        break;
The red numbers above could be modified (reduced) to whatever seems best, in order to balance out the fact that the power buffs you indefinitely.

EDIT: also, the blue code above highlights the main changes to the code to make it work like an indefinite on/off switch


"But God demonstrates His own love toward us, in that while we were still sinners, Christ died for us." (Romans 5:8, NKJV)
"For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord." (Romans 6:23, NKJV)

Ask me about my sig!

Bao-Dur: I'll take the one who was stupid enough to threaten us instead of shoot us when he had the chance.

k_inc_force bothers me.
Malxados is offline   you may: quote & reply,
Old 07-24-2013, 08:54 PM   #8
supreme kotor
Junior Member
 
supreme kotor's Avatar
 
Join Date: Mar 2013
Location: I'm lost.
Posts: 326
Current Game: Modding.. Wait is that a game?
They're might be alot slicker way to get his done. If someone could PM me k_inc force nwscript.nss spells.2da and globalcat.2da I have an idea I would like to try.

Edit: As it currently stands my idea will not work. I will continue to play with it although it appears that Malxados already has a solution for you. *Claps for Malxados

Thanks-Supreme Kotor


Current WIP: Learning to mod Kotor

Last edited by supreme kotor; 07-25-2013 at 02:19 PM.
supreme kotor is offline   you may: quote & reply,
Old 07-24-2013, 10:56 PM   #9
Malxados
Rookie
 
Malxados's Avatar
 
Join Date: Feb 2009
Location: Mandalore
Posts: 224
Current Game: Warframe, SC Blacklist, KOTOR1
Quote:
Originally Posted by supreme kotor View Post
They're might be alot slicker way to get his done. If someone could PM me k_inc force nwscript.nss spells.2da and globalcat.2da I have an idea I would like to try.

Thanks-Supreme Kotor
Sent you a pm


"But God demonstrates His own love toward us, in that while we were still sinners, Christ died for us." (Romans 5:8, NKJV)
"For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord." (Romans 6:23, NKJV)

Ask me about my sig!

Bao-Dur: I'll take the one who was stupid enough to threaten us instead of shoot us when he had the chance.

k_inc_force bothers me.
Malxados 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 > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Increasing Force Power duration of K1 Force Pack

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:44 AM.

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