Aller au contenu

Photo

[SOLVED] Issues with scaled model


  • Veuillez vous connecter pour répondre
9 réponses à ce sujet

#1
TimelordDC

TimelordDC
  • Members
  • 923 messages
I have scaled the prp_tentchantry_01_0 by 50% to arrive at a smaller version. I am unable to find the link to the tutorial atm but it was one describing how to do it using Adinos' tool.
The model shows up fine in the toolset however there are 2 issues:
- the collision boundary is still from the original one, i.e., the non-walkable area near the tent is as if I had placed the original version in [I tested this by placing them side by side]
- when lightmaps are being generated, I get the error - Could not find metadata for prp_tl_camptent_01_0 and later I get the error that the model is missing lightmaps.

Any ideas?
I will try to find the tutorial tomorrow. Meanwhile, if anyone wants to take a look at the modified files, I've uploaded them here

Thanks,
TL

Modifié par TimelordDC, 07 septembre 2010 - 03:25 .


#2
DarthParametric

DarthParametric
  • Members
  • 1 409 messages
You've changed the model name, hence why it can't find the metadata.



As far as collision scaling in DATool goes, I think from memory it doesn't scale mesh-based collision properly, just primitive-based collision. Been a while since I played with it though. You'd have to redo the collision in a 3D app, or just remove it completely and cheat using invisible collision objects.

#3
TimelordDC

TimelordDC
  • Members
  • 923 messages
DarthParametric, when you say I've changed the model name, are you referring to the prp_tl_camptent_01_0 or some other name inside one of the mmh/msh/phy files? If the former, I wanted to retain the original as well as keep the modified one so that's why I did that.

Should I be doing any additional steps to make sure the metadata is available to be read by the toolset for this new model?



As for the collision, I suspect it will be easier to just remove it completely rather than redo the collision. I've never used any 3d app before so can you give me a quick rundown on the steps required to do that? I have downloaded Blender and I can probably get a couple of hours with 3ds max 9 too so either would be ok for the task.

#4
Eshme

Eshme
  • Members
  • 756 messages
If you have max, i would say you maybe try out my exporter?

#5
DarthParametric

DarthParametric
  • Members
  • 1 409 messages
You need to extract prp_tentchantry_01_0.met from \\packages\\core\\data_tools\\arttools.erf and rename it to prp_tl_camptent_01_0.met. Open it up in a text editor and change all the references to the old model to those of your new one.



You'll have to use either Max or GMax and get Eshme's script. Use it to load the MMH and delete the collision objects. They should be named as such. Then export it. The readme PDF should run you through the basics.

#6
TimelordDC

TimelordDC
  • Members
  • 923 messages
DarthParametric. I'll do those steps and see if I can get it working.

Eshme, I'll definitely give the exporter a try and report back (or ask for any help!)



Thanks to both of you!

#7
Eshme

Eshme
  • Members
  • 756 messages
I would not want to delete the collision really ,dont.

#8
Eshme

Eshme
  • Members
  • 756 messages
Posted Image

Posted Image

Posted Image

Posted Image

Posted Image

#9
TimelordDC

TimelordDC
  • Members
  • 923 messages
Thanks. That's pretty detailed, Eshme.

I want to make it 50% smaller so I assume I change the DAOTools.WorldScale to 50 in the Listener and press Enter, right?

#10
TimelordDC

TimelordDC
  • Members
  • 923 messages
I forgot to post back here but I was successful in getting this done using Eshme's tool. It's so easy!!