Frictional Games Forum (read-only)
[MDL ED] is it possible to get static objects to become dynamic? - 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: [MDL ED] is it possible to get static objects to become dynamic? (/thread-20783.html)



is it possible to get static objects to become dynamic? - PixelHurricane - 03-16-2013

there is an object in static objects/debris in the editor that I would like to be affected by gravity or the player and what not. is this possible?


RE: is it possible to get static objects to become dynamic? - NaxEla - 03-16-2013

Yes, it's possible. You just need to make an entity of it using the model editor.


RE: is it possible to get static objects to become dynamic? - PixelHurricane - 03-16-2013

how would I make it an entity?


RE: is it possible to get static objects to become dynamic? - WALP - 03-17-2013

(03-16-2013, 10:51 PM)PixelHurricane Wrote: how would I make it an entity?
1- open the model editor and use import mesh to import the desired static object

2-create a shape and fit it to your object, for some objects you will need to use more then one shape to make it fit probably.

3-select all the shapes and hit the " create body" button. The shapes are united into one shape that is know as a body, you will need to do this step even if you only use 1 shape since physics and such only work with bodies.
remember the body is the collision of your model, not the model itself.

4-Select the right filter and attach the static object to the body

5- go to user defined variables and select what kind of type, and subtype you want your entity to be

5.5-
For more advanced entities you may need more then just bodies.
Door and closets fx will need hingejoints. look at other entities with simular feutures for reference on how settings and such should be done.

6- tweak settings to your needs in user defined variables,as well as for the body itself. mass is essential if you want it to be affected by gravity.

7-Test if your entity works in the testing mode found at the bottom of the interface.

8-save you model

PS: for further information take a look at how other models were made and what their settings were, or maybe visit frictionalgames wiki though it lacks a lot of documentation in some areas.


RE: is it possible to get static objects to become dynamic? - PixelHurricane - 03-20-2013

which model editor are you referring to?
I'm using Blender and I can't find those functions


RE: is it possible to get static objects to become dynamic? - Statyk - 03-20-2013

It's in the HPL2 editor tools you downloaded...
- LevelEditor
- MapView
- ModelView
- ModelEditor
- MaterialEditor
- ParticleEditor


RE: is it possible to get static objects to become dynamic? - PutraenusAlivius - 03-20-2013

(Idiotic answer, not to be taken seriously.)
1. Whatever martinnord said
2. ???
3. PROFIT