Sign in to follow this  
Zombiewells

Mod geo for floors/walls to up res

Recommended Posts

Just wanted to know where to find wall/floor meshes so I up res, add pipes, etc. I feel like hitting some of the old environments would add a ton. I have made a new door, and added geo to char meshes, but cant seem to find environments floor panels, wall, etc to mess around with. Using Kotor Tools and MDLEdit

Share this post


Link to post
Share on other sites
6 hours ago, Zombiewells said:

floor panels, wall, etc

Sounds like you are expecting a modular or tile-based system like Dragon Age Origins or Neverwinter Nights. KOTOR doesn't use either of those systems for its levels. It uses a room-based system, where each "room" (be it an actual indoor room or an arbitrary outdoor chunk) is a complete model. Said room model will be comprised of numerous meshes, split by diffuse and lightmap texture, plus walkmeshes, lights, emitters, etc. Due to the way walkmesh room linking works, you'll want to load entire level layouts (LYT) into KMax or KBlender to work on a given room.

Share this post


Link to post
Share on other sites

Thank you and makes sense! I suppose now I would ask how to get the LYT in to Max. I see the importer in the KOTORMAX but it only brings in nodes ( Example: mgf_ebonhawk.lyt, (1KB)). I assume its trying to point towards other files. What files do I need to extract, and in what dir/file structures do I need to have them in? Sorry I know this question has been asked before. 

Share this post


Link to post
Share on other sites

Extract the LYT and VIS. Extract the MDL/MDXs and their matching WOKs. Decompile the models to ASCII with MDLEdit (if using KMax - KBlender can load the binary models directly). Put the files in a folder together. In order to have KMax actually import the models when loading a LYT, you need to tick the "With Models" checkbox and add in the filename filter so it can find them. In the case of MDLEdit, that will be "-mdledit":

KMax_Layout_Loading.png.18aad0b3ef11064567c9a9c1e52f9f72.png

For example, in the case of the Endar Spire Command Deck layout, m01aa.lyt, the first room model is "M01aa_01a" but the filename for the ASCII model (when decompiled with MDLEdit) is "m01aa_01a-mdledit.mdl.ascii", so you need to enter that suffix so that KMax knows to exclude it.

By the way, if you haven't already you will want to extract all the textures from the game (extract the TPCs and use TPCView to batch convert them to TGAs). Then in Max go to Customize -> Configure User Paths -> External Files and click the Add button to pop up a browser to select the folder where the textures are. Now KMax can automatically load the textures when loading a model.

  • Like 1

Share this post


Link to post
Share on other sites

I keep running into max errors, I tried to find solves online and followed some other steps/versions of the same steps you have above, but no luck. Just wondering if I am doing something wrong here.image.png.f1f5aa625c2557b03712129196c57600.png

 

Also just running through the mods, mod set up, youtube mod vids and all that. Just wondering why I am not seeing geo up res mods. Adding more verts to char, environment, props. It mostly looks like up res/modded textures. I am sure, and know of teams that have tried to port it, other passion projects. Just curious why theres not a version of KOTOR with updated meshes.

Also thank you for your time and help!

Edited by Zombiewells
.

Share this post


Link to post
Share on other sites

The error could be an issue with Max, although it would be more helpful if you showed the actual error message. I recall there were some material issues due to changes under the hood in more recent versions. @JCarter426 can you expound on that and provide your fix?

6 hours ago, Zombiewells said:

Just curious why theres not a version of KOTOR with updated meshes.

Because it's a lot of work. In particular, once you start altering area meshes then you have to rebake all new lightmaps, and that's a bastard of a job. Add to that that the tools to handle area models fully have really only been around for the last five years or so, long past the peak of the game's modding activity.

Share this post


Link to post
Share on other sites

Alright!!! Everything seems to be working so far. I have the lvl, all the textures in, and can edit geo, (did a quick test on the chairs first room) This is amazing! I'll poke back if I run into anything/have anything to show as I dig in ;) thank you DathParametric and thank you JCarter426. It was just that, the phy mats in the new max. Huge thanks again! I know its never easy showing people the ropes and just wanted to say that I appreciate all the responses, your both awesome!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this