Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Model Editor Help How difficult to convert static entity to moveable?
serbusfish Offline
Member

Posts: 211
Threads: 75
Joined: Aug 2012
Reputation: 0
#1
How difficult to convert static entity to moveable?

I was just wondering how hard it is to make a static entity such as a wardrobe or statue a moveable object?

07-30-2013, 02:29 AM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#2
RE: How difficult to convert static entity to moveable?

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.
(This post was last modified: 07-30-2013, 02:59 AM by DnALANGE.)
07-30-2013, 02:51 AM
Find
serbusfish Offline
Member

Posts: 211
Threads: 75
Joined: Aug 2012
Reputation: 0
#3
RE: How difficult to convert static entity to moveable?

(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?

07-30-2013, 03:09 AM
Find
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#4
RE: How difficult to convert static entity to moveable?

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
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#5
RE: How difficult to convert static entity to moveable?

(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.
(This post was last modified: 07-30-2013, 12:49 PM by DnALANGE.)
07-30-2013, 12:42 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#6
RE: How difficult to convert static entity to moveable?

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.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
07-30-2013, 01:05 PM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#7
RE: How difficult to convert static entity to moveable?

(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.
07-30-2013, 04:34 PM
Find
serbusfish Offline
Member

Posts: 211
Threads: 75
Joined: Aug 2012
Reputation: 0
#8
RE: How difficult to convert static entity to moveable?

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?

(This post was last modified: 07-31-2013, 03:10 AM by serbusfish.)
07-31-2013, 02:55 AM
Find
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#9
RE: How difficult to convert static entity to moveable?

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.
07-31-2013, 01:24 PM
Find




Users browsing this thread: 1 Guest(s)