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
Moving a fixed object
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#5
RE: Moving a fixed object

It depends. The default setting sends MoveObjects along the positive axis they are assigned. To change that you need to set its max state to a negative value in the user-defined variables window.

That way scripting the object to move to a positive state actually sends it downwards, and vice versa. Or you could just leave the entity as-is and script it to move to a positive state via script.

To make an entity out of a static object, copy all the appropriate files of that static object and paste it into a new folder, which you'll place under the entities directory of both TDD's root and your custom story's root. You need to place it in both directories because the level editor needs to find the object in Amnesia's files to place it, and it needs to be in the custom story directory so when others download and run your story, the entity loads up.

I suggest building it from either of the two directories then copying and pasting it over.

Just import the COLLADA file (.dae) in the ModelEditor and 1) Give it a body using the shape tool & converting to body. 2) Change it to MoveObject type. 3) Change all other relevant variables under user-defined variables.

(This post was last modified: 03-26-2012, 07:03 PM by palistov.)
03-26-2012, 07:02 PM
Find


Messages In This Thread
Moving a fixed object - by Damascus - 03-26-2012, 07:12 AM
RE: Moving a fixed object - by Tanshaydar - 03-26-2012, 07:14 AM
RE: Moving a fixed object - by palistov - 03-26-2012, 07:15 AM
RE: Moving a fixed object - by Damascus - 03-26-2012, 07:27 AM
RE: Moving a fixed object - by palistov - 03-26-2012, 07:02 PM
RE: Moving a fixed object - by Damascus - 03-26-2012, 07:34 PM
RE: Moving a fixed object - by Damascus - 03-27-2012, 06:40 AM



Users browsing this thread: 2 Guest(s)