lfnetwork.com mark read register faq members calendar

Thread: Scripting Items Question (Was Question 4 Redhawk)
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 05-17-2009, 03:23 PM   #1
bryzz
Rookie
 
bryzz's Avatar
 
Join Date: May 2009
Posts: 144
Scripting Items Question (Was Question 4 Redhawk)

im new 2 modding and i was wondering how you got your items into the game
with the metal box.
did you script it in?
i dont understand how most of this stuff works yet
bryzz is offline   you may: quote & reply,
Old 05-17-2009, 03:34 PM   #2
Malxados
Rookie
 
Malxados's Avatar
 
Join Date: Feb 2009
Location: Mandalore
Posts: 221
Current Game: Warframe, SC Blacklist, KOTOR1
Well, welcome to...well...whatever this is...
You may wanna check out some the very helpful tutorials on this site. Scripting would be one way to add the items, or I'm pretty sure you can change the box's inventory with Kotor Tool.
Also, if you have a question for one specific person, it might be a good idea just to send them a private message.
Be sure to ask if you need help with any specifics

I recommend atleast reading the tutorial here or here


"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 05-17-2009, 03:36 PM   #3
bryzz
Rookie
 
bryzz's Avatar
 
Join Date: May 2009
Posts: 144
how would i use kotor tool to change the boxes inventory?
bryzz is offline   you may: quote & reply,
Old 05-17-2009, 03:41 PM   #4
Malxados
Rookie
 
Malxados's Avatar
 
Join Date: Feb 2009
Location: Mandalore
Posts: 221
Current Game: Warframe, SC Blacklist, KOTOR1
Well you would open the placeable (ingame placeables are under Bifs, templates) and click Inventory in the bottom left corner of the popup window, in which you could drag items into its inventory (i cant see exactly how right now cuz my kt is acting up and i gotta go)


"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 05-18-2009, 02:53 AM   #5
RedHawke
Shadow Lord Of The Sith™
 
RedHawke's Avatar
 
Status: Moderator
Join Date: Mar 2004
Location: Stormreach CA.
Posts: 9,184
Current Game: DDO, Stormreach
I have used several methods across the 2 games, which exact mod are we talking here for which game?

That will greatly be able to assist in answering your question/explain it to you.

I'm choosing to answer here instead of PM as this is a modding discussion and I can change the title to suit the topic, and it can be helpful for others.


"Beware the form-fitting black armor-clad Drow hottie with twin Mineral II Greensteel Khopeshes!"
"Liella d'Orien says, '"You're the fool, Devil. -- Witness the power of this fully ARMED and OPERATIONAL Titan!"'"
----------------------------------------------------------------------
RedHawke is offline   you may: quote & reply,
Old 05-18-2009, 03:33 PM   #6
bryzz
Rookie
 
bryzz's Avatar
 
Join Date: May 2009
Posts: 144
Kotor 1

the armor in the metal box in selvens room (RHVerpReflecHArmor1)
bryzz is offline   you may: quote & reply,
Old 05-19-2009, 03:01 AM   #7
RedHawke
Shadow Lord Of The Sith™
 
RedHawke's Avatar
 
Status: Moderator
Join Date: Mar 2004
Location: Stormreach CA.
Posts: 9,184
Current Game: DDO, Stormreach
That would be accomplished by running a script during the mandatory dialog you have with Selven before you kill her.

The source script is included in the Mod itself it is rh_armorscript3.nss, you can view it with windows notepad. The compiled script is rh_armorscript3.ncs and it is ran from a line node spoken in the tar03_selven031.dlg file, open that with a dialog editor to see where i added my script name to one of the lines.

The easiest way to get items into KotOR 1 is to find a unique named placeable and add your items you want to that placeables invantory with KT's editor, but in some instances it is easier to script it in like I did for that mod as no placeables were available, made easier because a said dialog only ran once so it couldn't be repeated.

You need a point in the game you know well, a mandatory one time cut scene or character interaction is best. You simply need the dialog file for that, extract and edit that .dlg file to add your script name into one of the lines script calls, and you need to make a script to spawn the placeable that holds the items and place the items in it (examples are all over the place, in the aforementioned mod files for this one), and you'll need a base placable .utp (I used metalbox069.utp across many of my mods it is a base placeable and the script is what puts the items inside it along with spawning it).

We have a whole sub-section about scripting... here. 2 pertinent links in that section were provided above by Malxados.

Hope this helps...


"Beware the form-fitting black armor-clad Drow hottie with twin Mineral II Greensteel Khopeshes!"
"Liella d'Orien says, '"You're the fool, Devil. -- Witness the power of this fully ARMED and OPERATIONAL Titan!"'"
----------------------------------------------------------------------
RedHawke 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 > Scripting Items Question (Was Question 4 Redhawk)

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 12:03 PM.

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