lfnetwork.com mark read register faq members calendar

Thread: editing force powers?
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 06-02-2007, 01:35 PM   #1
kamikazees
Rookie
 
Join Date: Dec 2006
Posts: 15
editing force powers?

Ok so I want to extend the length or increase the potency of some force powers, both KOTOR and TSL. I know the powers are controlled by scripts and I know how to compile from .nss to .ncs files. The problem I have is I have no idea how to read the code! So, will some kind soul out there point me to the line and changes I need to make to get the following:

aura/shield/armor: last 30 seconds (instead of 20)
valour: last 30 seconds instead of 20
shock(KOTOR): scale up to lvl 20

Here's hoping and thanks.
kamikazees is offline   you may: quote & reply,
Old 06-02-2007, 04:16 PM   #2
stoffe
Network Caretaker
 
stoffe's Avatar
 
Status: Administrator
Join Date: Apr 2002
Posts: 5,833
Helpful! 10 year veteran! Notable contributor 
Quote:
Originally Posted by kamikazees
Ok so I want to extend the length or increase the potency of some force powers, both KOTOR and TSL. I know the powers are controlled by scripts and I know how to compile from .nss to .ncs files. The problem I have is I have no idea how to read the code! So, will some kind soul out there point me to the line and changes I need to make to get the following:

aura/shield/armor: last 30 seconds (instead of 20)
valour: last 30 seconds instead of 20
shock(KOTOR): scale up to lvl 20
This is for KOTOR2:TSL, recompile k_sp1_generic.nss using the include file attached below. It's fairly easy to find the duration for the powers if you search for Sp_CalcDuration(), which is a function that all the duration assignments are made to (to adjust the duration for when using the Force Mastery form). The cases tend to have comments above them that says what power that section of the script is for.
Attached Files
File Type: zip k_inc_force.zip (36.4 KB, 52 views)

stoffe 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 > editing force powers?

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 01:49 PM.

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