| 
		
	
		| serbusfish   Member
 
 Posts: 211
 Threads: 75
 Joined: Aug 2012
 Reputation: 
0
 | 
			| 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 |  |  
	
		| DnALANGE  Banned
 
 Posts: 1,549
 Threads: 73
 Joined: Jan 2012
 | 
			| 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 |  |  
	
		| serbusfish   Member
 
 Posts: 211
 Threads: 75
 Joined: Aug 2012
 Reputation: 
0
 | 
			| 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 |  |  
	
		| Rapture   Posting Freak
 
 Posts: 1,078
 Threads: 79
 Joined: May 2011
 Reputation: 
30
 |  |  
	| 07-30-2013, 03:32 AM |  |  
	
		| DnALANGE  Banned
 
 Posts: 1,549
 Threads: 73
 Joined: Jan 2012
 | 
			| 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 |  |  
	
		| The chaser   Posting Freak
 
 Posts: 2,486
 Threads: 76
 Joined: Jun 2012
 Reputation: 
113
 | 
			| 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]](http://tinyurl.com/k6vbdhu)  
Aculy iz dolan. |  |  
	| 07-30-2013, 01:05 PM |  |  
	
		| WALP   Posting Freak
 
 Posts: 1,221
 Threads: 34
 Joined: Aug 2012
 Reputation: 
45
 | 
			| 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 |  |  
	
		| serbusfish   Member
 
 Posts: 211
 Threads: 75
 Joined: Aug 2012
 Reputation: 
0
 | 
			| 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 |  |  
	
		| Rapture   Posting Freak
 
 Posts: 1,078
 Threads: 79
 Joined: May 2011
 Reputation: 
30
 | 
			| 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 |  |  |