Jump to content

Home

Scripting Items Question (Was Question 4 Redhawk)


bryzz

Recommended Posts

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

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...