lfnetwork.com mark read register faq members calendar

Thread: footlocker @ beginning of K1
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-05-2007, 01:41 PM   #1
MacTavish
Junior Member
 
MacTavish's Avatar
 
Join Date: Feb 2007
Location: Tython
Posts: 438
footlocker @ beginning of K1

Hello

I was wondering if anyone happened to know how to change the items you start of with in the footlocker on the Endar Spire. Would you have to change a script or change the .mod file?

thnx
Ronin93


MacTavish is offline   you may: quote & reply,
Old 06-05-2007, 05:27 PM   #2
swfan28
Rookie
 
Join Date: May 2007
Location: Finland
Posts: 157
Quote:
Originally Posted by ronin93
I was wondering if anyone happened to know how to change the items you start of with in the footlocker on the Endar Spire. Would you have to change a script or change the .mod file?
You must modify the script k_pend_area01.nss.

I don't know where you could find the original source code of this script though. DeNCS was able to decompile it partially, but the partial byte-code did not match. Simply replacing this script would create problems later because the script also modifies XP gain and global variables.

Another possibility is to modify the UTP file footlker001.utp, but this would also create problems later because the same name is used by other footlockers in different modules throughout the game.

You could attach a script that gives the items you want directly to your inventory to Trask's DLG file. I believe there are tutorials for making this kind of scripts.

I hope this helps.
swfan28 is offline   you may: quote & reply,
Old 06-06-2007, 09:09 AM   #3
MacTavish
Junior Member
 
MacTavish's Avatar
 
Join Date: Feb 2007
Location: Tython
Posts: 438
Thanks swfan,

I think I'll look for the tutorial on attaching it to the dlg. file.

Ronin


MacTavish is offline   you may: quote & reply,
Old 06-06-2007, 11:46 AM   #4
shosey
Junior Member
 
shosey's Avatar
 
Join Date: Feb 2004
Location: Earth
Posts: 380
Quote:
Originally Posted by swfan28
You must modify the script k_pend_area01.nss.

I don't know where you could find the original source code of this script though. DeNCS was able to decompile it partially, but the partial byte-code did not match. Simply replacing this script would create problems later because the script also modifies XP gain and global variables.
I hope this helps.
You can rename this script to k_pend_area01_original.nss then create your own script called k_pend_area01.nss where you do your buisness. The last thing you will do at the end of your custom script is to fire the k_pend_area01_original.nss and buisness will continue as usual.


Hosey's KotOR Mods [Ebon Hawk Basement] [High Stakes Pazaak] [I am Jedi!] [Skip Endire Spire]
More to come
shosey is offline   you may: quote & reply,
Old 06-06-2007, 12:06 PM   #5
ChAiNz.2da
Leave Everything to Me!
 
ChAiNz.2da's Avatar
 
Join Date: Oct 2004
Location: Tennessee (USA)
Posts: 6,848
Quote:
Originally Posted by shosey
You can rename this script to k_pend_area01_original.nss then create your own script called k_pend_area01.nss where you do your buisness. The last thing you will do at the end of your custom script is to fire the k_pend_area01_original.nss and buisness will continue as usual.
^^^
Very good method

I've used script injecting in a few of my mods, you just need to be careful (if it's a public release) about compatibility with other mods that may have edited the same "enter area" script

However, editing the Trask dialogue (since there's so many lines) would probably be the better route in this particular case. Also, since K1 is littered with unique placeables, it's soooo much easier placing items in game than it's demon half-twin TSL


"Eagles May Soar, But Weasels Don't Get Sucked Into Jet Engines"


| Mods (FF) (DS) | Folding | SWK.com | FB: (LF) (Me) | Steam | The Herd |
ChAiNz.2da is offline   you may: quote & reply,
Old 06-06-2007, 12:14 PM   #6
Pavlos
Scruffy Englishman
 
Pavlos's Avatar
 
Join Date: Sep 2005
Location: The real world/ivory towers
Posts: 1,974
Current Game: Viking Warrior Poets
If you did use this method then do not name the original script "k_pend_area01_original.nss." It is way over the 16 character limit so it will never fire .

I'd agree with ChAiNz that attaching it to Trask's dialogue is a much simpler way of doing the whole thing .
Pavlos is offline   you may: quote & reply,
Old 06-06-2007, 01:14 PM   #7
MacTavish
Junior Member
 
MacTavish's Avatar
 
Join Date: Feb 2007
Location: Tython
Posts: 438
Quote:
Originally Posted by Pavlos
If you did use this method then do not name the original script "k_pend_area01_original.nss." It is way over the 16 character limit so it will never fire .

I'd agree with ChAiNz that attaching it to Trask's dialogue is a much simpler way of doing the whole thing .
okay thanks!


MacTavish 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 > footlocker @ beginning of K1

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 09:17 AM.

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