lfnetwork.com mark read register faq members calendar

Thread: Couple of quick questions
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 01-26-2009, 07:22 AM   #1
Felic
Rookie
 
Felic's Avatar
 
Join Date: Jan 2009
Location: Oz
Posts: 12
Current Game: KotOR2-TSL
Question Couple of quick questions

Hi, new to the forum. I'm an experienced modder, though more used to official tools like the Oblivion/Fallout3 and NWN 1/2 construction sets, and it's been a while since I touched NWN2. I have a bunch of the KotOR2 (TSL) modding tools including KT and GFF Editor, but I can't figure out how an item (whether it came with game or mod's UTI file) is associated with a model/texture.

Specifically, I wanna edit a texture for a_helmet_07 (KotOR2-TSL). Only clue I could find is some TemplatesResRef, but I can't find that file/table. Even looking at a mod like Kristy's Saber Pack, it contains kksaberXX.uti which is somehow associated with kk_saber_mdl_XX.tga as well as txi/mdl/mdx files, but I can't figure out how they're linked. I'd appreciate it if someone could explain how to find this out for the items that came with the game as well as items I get with mods.

The other thing I'm having a problem with is a dialog trigger that wouldn't start with the mods I had installed, but worked fine without mods. I'm trying to track down the mod, but with 40+ installed, I've had no luck so far. Specifically it is Atton's dialog when the PC is running outside Peragus in the space suit, trying to get to the dorms area, which is followed by the cutscene of the Harbinger docking. Could someone please explain how I can figure out what that trigger is (in what file?) so I can track down the culprit? Thanks!

Last edited by Felic; 01-26-2009 at 08:03 AM.
Felic is offline   you may: quote & reply,
Old 01-26-2009, 07:50 AM   #2
DarthParametric
I bent my Wookiee
 
DarthParametric's Avatar
 
Join Date: Apr 2004
Location: Oz
Posts: 2,666
Forum Veteran Helpful! 
Textures don't always follow the same naming conventions as the model they belong to. The texture is coded into the MDL file. The easiest way to find its texture is to run it through MDLOps and make an ASCII model. If you double-click on a MDL in KOTOR Tool it will automatically make an ASCII MDL and extract the appropriate texture/s for you. If you run it through MDLOps manually, it will spit out a text file telling you the texture file name/s.
DarthParametric is offline   you may: quote & reply,
Old 01-26-2009, 08:07 AM   #3
Stream
Damn...
 
Stream's Avatar
 
Join Date: Nov 2007
Location: On your hard drive.
Posts: 469
Current Game: Fable 3
Helpful! LFN Staff Member 
First off welcome to forums.

Here's a link to a tutorial that should help with the texture; http://www.lucasforums.com/showthread.php?t=126482

As for the Trigger, in KoTOR Tool you'll find all the files for the Asteroid Exterior in RIMS>Modules>104PER_s.rim - It will also be a help if you go to Options in the Tools menu and select both Show Module Locations & Show Module Descriptions.

-- Stream

Stream is offline   you may: quote & reply,
Old 01-26-2009, 08:19 AM   #4
Felic
Rookie
 
Felic's Avatar
 
Join Date: Jan 2009
Location: Oz
Posts: 12
Current Game: KotOR2-TSL
Quote:
Originally Posted by DarthParametric View Post
Textures don't always follow the same naming conventions as the model they belong to. The texture is coded into the MDL file. The easiest way to find its texture is to run it through MDLOps and make an ASCII model. If you double-click on a MDL in KOTOR Tool it will automatically make an ASCII MDL and extract the appropriate texture/s for you. If you run it through MDLOps manually, it will spit out a text file telling you the texture file name/s.
Yeah, I remember something to that effect from NWN2. Looking through my old tools, I had retex/retint and MDBviewer. Problem is I can't find the model for a_helmet_07 (I did find the UTI in the templates.bif). Looking through the models, I just noticed they're not listed alphabetically which sucks. But I also remember from KotOR1 that the Verpine Band (a_helmet_??) had a texture name like I_VerpBand??.tga. Is there no way to find the association between the UTI and the model/texture files? If they're not using a similar naming convention, that makes it really hard to track.

Quote:
Originally Posted by Stream View Post
First off welcome to forums.
Here's a link to a tutorial that should help with the texture; http://www.lucasforums.com/showthread.php?t=126482
Thanks for the welcome and the help. I have been looking through the tutorials, and just took a look at the one you linked, which led me to double click on a_helmet_07.uti in KT. That showed me that the Base Item is a Mask and the Model Variation is 11. So looking through the models, I finally found i_mask_011.mdl which when double clicked extracted the texture I was looking for. Thank you very much!

Still, makes you wonder why it couldn't be a bit easier to track down.

Edit: Ahah! I found what I was REALLY looking for: baseitems.2da. This gives you the list of Base Items you can assign in the UTI and its itemclass, which is basically the nomenclature for the model. So for a base item type, the model name is itemclass_modelVariation. The texture doesn't have to follow the nomenclature as it is referenced in the model. Just thinking out loud here, but it might help other people.


Variety is the spice of life.

Last edited by RedHawke; 01-27-2009 at 01:15 AM. Reason: Combined posts...
Felic is offline   you may: quote & reply,
Old 01-26-2009, 09:34 AM   #5
Qui-Gon Glenn
Necessary Roughneck
 
Qui-Gon Glenn's Avatar
 
Join Date: May 2007
Location: Thessia
Posts: 1,465
Current Game: ME3MP, Arkham Origins
Folder extraordinaire Helpful! Forum Veteran Veteran Modder 
Your thoughts are welcome, as it shows that you know and recognize a lot of what you are talking about.

FWIW - Most of us here do also

It is always nice to have fresh skills in the fold, so welcome!

Consider editing your posts in the future - keeps your thread cleaner and easier to follow...
Qui-Gon Glenn 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 > Couple of quick questions

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:36 PM.

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