Frictional Games Forum (read-only)
[Level Ed/Modelling] Incorrect size of object showed? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [Level Ed/Modelling] Incorrect size of object showed? (/thread-23179.html)



[Level Ed/Modelling] Incorrect size of object showed? - Linus Ågren - 09-15-2013

So I am VERY new to modelling for Amnesia, and I have managed to get my first model into the game very well. The only problem is that when I am going to add it to my level, the editor shows a small size and wrong direction than when I actually place it:

Before placed:
http://i.imgur.com/81JZDSr.jpg

And after:
http://i.imgur.com/WS8XcJy.jpg

Have I missed some crucial part?


RE: [Level Ed/Modelling] Incorrect size of object showed? - Rapture - 09-15-2013

Sounds more like a bug, did you edit the size in any way in the ModelEditor? I remember that if I exported a object, and went back to fix it and re-exported it (Only the .dae, I left everything else in). That bug would appear, I normally have to resort to deleting everything and then exporting.

(Just to make sure you did this)In your 3D modeling software, you have to set it's Location, Rotation and Scale.

If your using Blender, select the object in "Object Mode" and click "Ctrl" + "A". A menu will pop up, click "Location" and repeat this for "Rotation" and "Scale". Now export it again.
Maya or 3DS will have a similiar method of doing this.


RE: [Level Ed/Modelling] Incorrect size of object showed? - Linus Ågren - 09-15-2013

I never opened it in ModelEditor since it is a Static Object. I noticed FG did not make any .ent files for stat obj's.
I use Maya 2013, and I don't think I touched the location at all. I imported a DAE from the pre-made carpets for testing.

This is how it looks in Maya:
http://i.imgur.com/0goLvPG.jpg

Edit: May I also ask if anybody know why the ModelView scales my model down sometimes when I create the msh and mat files (by opening the model in ModelView)?


RE: [Level Ed/Modelling] Incorrect size of object showed? - Your Computer - 09-16-2013

Those that use Maya claim that versions beyond 2011 are not suitable for creating things for the HPL2 engine. I don't use versions beyond 2011, so i can't verify that, but everyone that has have had issues.

Regardless, make sure your measurements in Maya are meters. Also, make sure that whenever you import the mesh into the HPL2 engine that you restart the HPL2 applications and delete any MSH files left over from previous mesh imports. This is to make sure all cached data is cleared so that it won't corrupt any new imports of the same mesh.


RE: [Level Ed/Modelling] Incorrect size of object showed? - Linus Ågren - 09-17-2013

(09-16-2013, 04:28 AM)Your Computer Wrote: Those that use Maya claim that versions beyond 2011 are not suitable for creating things for the HPL2 engine. I don't use versions beyond 2011, so i can't verify that, but everyone that has have had issues.

Regardless, make sure your measurements in Maya are meters. Also, make sure that whenever you import the mesh into the HPL2 engine that you restart the HPL2 applications and delete any MSH files left over from previous mesh imports. This is to make sure all cached data is cleared so that it won't corrupt any new imports of the same mesh.

So using 2011 should work fine then? Kind of an odd behavior.
I will give it another shot at 2011 version then and see if it works properly, thanks.