CarthOnasty

Edited Placeable Losing Animations/Textures on Import

Recommended Posts

First off, here's what I'm looking at. On your right, the stock star map and on your left, what I see when I add my modded files.

2vyYaw4.jpg

Here's my process:

  1. Use KotOR Tools to grab plc_starmap.mdl and plc_starmap.mdx.
  2. Select plc_starmap.mdl in MDLOps 1.0.0, Extract Animations and Compute smoothgroup numbers is checked.
  3. Click Read and write model. It does its thing.
  4. Import plc_starmap-ascii.mdl in Blender, via KotORBlender.
  5. UV map some flarksnorzen, arms, legs, etc.
  6. Export edited file as plc_starmap_v2.mdl.
  7. Load plc_starmap_v2.mdl into MDLOps and hit Read and write model.
  8. I know have two new files: plc_starmap_v2-k1-bin.mdl and plc_starmap_v2-k1-bin.mdx.
  9. I place those in my Override folder and rename them to plc_starmap.mdl and plc_starmap.mdx.
  10. Open KotOR, open save just prior to entering room. Enter room, watch what happens.
  11. Animations all seem to be working fine, it's just that nearly ALL of the textures are not loading.
  12. Say "harrumph".
  13. Ask DS for help.

Share this post


Link to post
Share on other sites

One possibility......I would think you need a script to play the animstion. The existing script that fires the animation would reference the old placeable starmap.

 

Share this post


Link to post
Share on other sites

The currently released version of KotORBlender lacks a lot of support for emitters. And animation. Definitely animation of emitter properties. It's really hard to tell what you are trying to point out in the low resolution image, but I'm guessing it's the middle portion, which is probably all generated by emitters, and all brought online during maybe an off2on animation or something. If you want to modify this model, or any other with animated emitter properties, you just have to wait for the new KotORBlender version or use 3DSMax/Gmax/KotorMax if you can't wait.

Oh, or cut and paste the animations (from the first 'newanim' line to the last ... 'endanim'? line) from plc_starmap-ascii.mdl into plc_starmap_v2.mdl (delete all the animations present in plc_starmap_v2.mdl before pasting in the new ones). They're just text files. That happens after you export from Blender but before you recompile using MDLOps.

Also, in MDLOps you should be using weld/minimize vertices when you do 'compute smoothgroup numbers' on the Binary=>ASCII decompile. Otherwise the smoothgroup stuff won't really do anything, as KotORBlender converts that information into 'sharp edge' info, but it won't do it across edges that are 'split' (which is how they come out if you don't use weld/minimize, due to how the MDL/MDX format works).

  • Thanks 1

Share this post


Link to post
Share on other sites
10 hours ago, ndix UR said:

The currently released version of KotORBlender lacks a lot of support for emitters. And animation. Definitely animation of emitter properties. It's really hard to tell what you are trying to point out in the low resolution image, but I'm guessing it's the middle portion, which is probably all generated by emitters, and all brought online during maybe an off2on animation or something. If you want to modify this model, or any other with animated emitter properties, you just have to wait for the new KotORBlender version or use 3DSMax/Gmax/KotorMax if you can't wait.

Oh, or cut and paste the animations (from the first 'newanim' line to the last ... 'endanim'? line) from plc_starmap-ascii.mdl into plc_starmap_v2.mdl (delete all the animations present in plc_starmap_v2.mdl before pasting in the new ones). They're just text files. That happens after you export from Blender but before you recompile using MDLOps.

Also, in MDLOps you should be using weld/minimize vertices when you do 'compute smoothgroup numbers' on the Binary=>ASCII decompile. Otherwise the smoothgroup stuff won't really do anything, as KotORBlender converts that information into 'sharp edge' info, but it won't do it across edges that are 'split' (which is how they come out if you don't use weld/minimize, due to how the MDL/MDX format works).

You are correct, I was pointing out the middle portion. And yeah, I did the copy/paste thing it totally works now! Thanks soooo much for this advice. And thanks for the MDLOps tip as well!

You're awesome, thanks for this.

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.