lfnetwork.com mark read register faq members calendar

Thread: [TSL]Creating New Custom Itemcreate.2da type files. (some limitations apply)
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 02-27-2005, 11:13 AM   #1
Darkkender
Knight of Holowan
 
Darkkender's Avatar
 
Join Date: Aug 2004
Location: In the mountains of Oregon
Posts: 2,953
Current Game: Star Wars The Old Republic
Veteran Modder 
[TSL]Creating New Custom Itemcreate.2da type files.

Original Thread

Please note the following has only been tested to work with SW:KOTOR 2:TSL.

Some of you may already be familiar with the itemcreate.2da & itemcreatemira.2da files. On a wild fluke I looked at the workbench dialogues and found the 2 scripts that fire the actual itemcreation gui's. When I went through script source low and behold we even have the source code in the bif files to launch these scripts.

Now to the good stuff.

I replaced the first 12 items in the Itemcreate.2da file with the 12 droid armors, and renamed it droiditemcreate.2da.

I then replaced itemcreatemira in the k_workbench_bdm.nss file with droiditemcreate. I renamed the script k_workbench_bdd.nss saved and compiled. It compile with no errors the first time through mind you.

I then replaced the script in T3's dialogue that launches just the upgrade function with my new script.

I started the game at a save right before T3 was in the party and got to his upgrade dialogue. When it launched it created the item create worktable and under the ranged upgrades(these are the ones the droid armor replaced) there were my 12 droid armors.

For those doubting thomas's out there keep your eye's peeled for my upcoming Painted Droids mod. This will be a new feature included in there.


Working so, we will learn history as a tree knows it; we will climb into shapes printed in the seed; we will become time made visible, years made fragrant; we will make of concentric memory a stem of praise; we will inhabit daylight at a trees own speed; we will be travelers who remain, patriots to this ground.
OMG I only rank 62.13018% geek or a Extreme Geek as it is referred to on the geektest at Geektest
[TSL]Holowan Plugin

Last edited by T7nowhere; 05-06-2005 at 11:56 PM.
Darkkender is offline   you may: quote & reply,
Old 02-27-2005, 02:25 PM   #2
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,765
Current Game: Assassin's Creed 4
Forum Veteran Helpful! Notable contributor 
So you created a new 2da file and referenced it in a new script. That's pretty cool.

The part about using a savegame prior to getting T3 though -- that isn't necessary is it?


tk102 is offline   you may: quote & reply,
Old 02-27-2005, 02:36 PM   #3
beancounter
Rookie
 
Join Date: Jul 2004
Posts: 169
Hey that is a pretty cool find . Good job!
beancounter is offline   you may: quote & reply,
Old 02-27-2005, 03:42 PM   #4
Darkkender
Knight of Holowan
 
Darkkender's Avatar
 
Join Date: Aug 2004
Location: In the mountains of Oregon
Posts: 2,953
Current Game: Star Wars The Old Republic
Veteran Modder 
Quote:
Originally posted by tk102
So you created a new 2da file and referenced it in a new script. That's pretty cool.

The part about using a savegame prior to getting T3 though -- that isn't necessary is it?
I used the save prior to T3 mostly for testing purposes as I have found the game occasionally rejects any sort of change to some of it's elements after you have initiated them especially when it deals with 2da files and models as well as the occasional script. I mostly mentioned it as part of my test process as proof of concept and effect. This also gives people some example of what, when and where I got my results.


Working so, we will learn history as a tree knows it; we will climb into shapes printed in the seed; we will become time made visible, years made fragrant; we will make of concentric memory a stem of praise; we will inhabit daylight at a trees own speed; we will be travelers who remain, patriots to this ground.
OMG I only rank 62.13018% geek or a Extreme Geek as it is referred to on the geektest at Geektest
[TSL]Holowan Plugin
Darkkender is offline   you may: quote & reply,
Old 03-21-2005, 02:19 PM   #5
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,765
Current Game: Assassin's Creed 4
Forum Veteran Helpful! Notable contributor 
After purusing the nwscript.nss, it appears that the only function capable of reading a custom .2da file is the ShowUpgradeScreen function.


tk102 is offline   you may: quote & reply,
Old 03-21-2005, 02:22 PM   #6
Darkkender
Knight of Holowan
 
Darkkender's Avatar
 
Join Date: Aug 2004
Location: In the mountains of Oregon
Posts: 2,953
Current Game: Star Wars The Old Republic
Veteran Modder 
Quote:
Originally posted by tk102
After purusing the nwscript.nss, it appears that the only function capable of reading a custom .2da file is the ShowUpgradeScreen function.
In that case I shall endeavor to rename the thread.

-EDIT- It appears I don't have permission to change the thread title. If a moderator would be so nice as to change it to the new title in the first post that would be nice.


Working so, we will learn history as a tree knows it; we will climb into shapes printed in the seed; we will become time made visible, years made fragrant; we will make of concentric memory a stem of praise; we will inhabit daylight at a trees own speed; we will be travelers who remain, patriots to this ground.
OMG I only rank 62.13018% geek or a Extreme Geek as it is referred to on the geektest at Geektest
[TSL]Holowan Plugin
Darkkender 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 > Tutorials: .2da Editing > [TSL]Creating New Custom Itemcreate.2da type files. (some limitations apply)

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 05:51 AM.

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