Frictional Games Forum (read-only)

Full Version: How difficult to convert static entity to moveable?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was just wondering how hard it is to make a static entity such as a wardrobe or statue a moveable object?
It isnt that hard at all!
Open up your MODEL EDITOR,
CHoose IMPORT MESH and open your "wardrobe or what you want etc"
Then you see it in the modeleditor,
Now go to SETTINGS - USER DIFINED VARIABLES.
Choose TYPE -> OBJECT and SUBTYPE-> Grab\push\slide\whatever you want to create.
Now you have created an "entity".
That is you can grab the object and throw it away.
Hint: try one of the amnesia boxes \ movable object and see how their settings are.
+HINT, the modeleditor HANGS a lot "for me"
so save a little often!
hope this helps.
(07-30-2013, 02:51 AM)DnALANGE Wrote: [ -> ]It isnt that hard at all!
Open up your MODEL EDITOR,
CHoose IMPORT MESH and open your "wardrobe or what you want etc"
Then you see it in the modeleditor,
Now go to SETTINGS - USER DIFINED VARIABLES.
Choose TYPE -> OBJECT and SUBTYPE-> Grab\push\slide\whatever you want to create.
Now you have created an "entity".
That is you can grab the object and throw it away.
Hint: try one of the amnesia boxes \ movable object and see how their settings are.
+HINT, the modeleditor HANGS a lot "for me"
so save a little often!
hope this helps.

Thanks a lot man, that doesnt sound too difficult actually. I'll give it a try tomorrow, but one more question, if I have an edited entity how do I place it into a level? The level editor only displays regular amnesia files, and unless im missing something I dont see how to add more items to the lists?
Last time I checked you need a body for the object... for it to actually work as a "Entity".

This is a tutorial I made awhile back. http://www.frictionalgames.com/forum/thread-21024.html
(07-30-2013, 03:32 AM)Rapture Wrote: [ -> ]Last time I checked you need a body for the object... for it to actually work as a "Entity".

This is a tutorial I made awhile back. http://www.frictionalgames.com/forum/thread-21024.html

Not checked!!!
but, don't they static already have a body, cause they collide already?
Anyways..
Follow the link above and there Rapture shows exactly what to do and how,
My explination was just fast and basic!
Kudo's for Rapture

(07-30-2013, 03:09 AM)serbusfish Wrote: [ -> ]
(07-30-2013, 02:51 AM)DnALANGE Wrote: [ -> ]It isnt that hard at all!
Open up your MODEL EDITOR,
CHoose IMPORT MESH and open your "wardrobe or what you want etc"
Then you see it in the modeleditor,
Now go to SETTINGS - USER DIFINED VARIABLES.
Choose TYPE -> OBJECT and SUBTYPE-> Grab\push\slide\whatever you want to create.
Now you have created an "entity".
That is you can grab the object and throw it away.
Hint: try one of the amnesia boxes \ movable object and see how their settings are.
+HINT, the modeleditor HANGS a lot "for me"
so save a little often!
hope this helps.

Thanks a lot man, that doesnt sound too difficult actually. I'll give it a try tomorrow, but one more question, if I have an edited entity how do I place it into a level? The level editor only displays regular amnesia files, and unless im missing something I dont see how to add more items to the lists?

You MUST save it to the MAIN-ENTITYS-FOLDER of amnesia to see it in the editor!
OR : Just put it in your Custom Story and grab a standard entity from the list in the leveleditor, then go to : ENTITYFILE and press the ...
There you must find your custom story and look where you put YOUR created entity!
THEN it also will be seen in the editor!
Hope this helps.
Okay, how-to:

Follow Rapture's tutorial. Then, put all your entities, models, and textures (only the .ent in case of being an edited entity from the main game) in redist<entities<yourentities<yourmodel

Go to the Level Editor. Then, go to the ghost thing and go to "yourentities". Your stuff should be there.
(07-30-2013, 12:42 PM)DnALANGE Wrote: [ -> ]Not checked!!!
but, don't they static already have a body, cause they collide already?

When you turn a static object into an entity it will loose its collision, so you will have to add a body.
Right thanks a lot guys, so far I have loaded the mesh of a wardrobe and created the body per Rapture's guide. Now im wondering, in the guide you have the body attributes for a fork, for a wardrobe I just want to be able to drag it, at the moment I can pick it up and throw it all over the place, how do I make it so it can move but sticks to the ground?
Like I said in the tutorial, open up another model with similar properties you want to copy. (In this case it would be "entities>storage>storage_box_wood_2_moveable.ent")

Copy what used in it's User Defined Variables. (Which would be Type = "Object" & SubType = "Push")

Don't forget to copy and tweak (Test it out with the double gear Icon at the bottom of the ModelEditor) what the storage_box_wood_2_moveable's body properties onto the Wardrobe also.