[Help] Moving objects and the like - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: [Help] Moving objects and the like (/thread-8525.html) |
[Help] Moving objects and the like - Kraggdog - 06-10-2011 If someone can shine some light.. I would really appreciate it. void AddPropForce(string& asName, float afX, float afY, float afZ, string& asCoordSystem); void AddPropImpulse(string& asName, float afX, float afY, float afZ, string& asCoordSystem); void AddBodyForce(string& asName, float afX, float afY, float afZ, string& asCoordSystem); void AddBodyImpulse(string& asName, float afX, float afY, float afZ, string& asCoordSystem); What is the difference between these? I'd also like to know if it's possible to move static objects? (contradiction I know). Kinda like how you can animate a secret wall, is it possible to move areas / primitive planes etc? A good example is the Justine DLC.. at the end with the walls that move? I'd like to know how to do that but with planes / areas. Thanks RE: [Help] Moving objects and the like - Tanshaydar - 06-10-2011 Only entities can be moved or animated. You can create entities from static objects. The wall at the end of Justine is an entity. RE: [Help] Moving objects and the like - Kraggdog - 06-10-2011 (06-10-2011, 11:56 AM)Tanshaydar Wrote: Only entities can be moved or animated. A good start thanks So how do I convert a static object into an entity? I haven't played with the model editor if it's there? Can a plane be converted? As in the primitives used to create the ceiling..the floors...water etc. RE: [Help] Moving objects and the like - Tanshaydar - 06-10-2011 A plane is not an object, so basically you have to make it into an object somehow. There are static objects for water, in decal folder for static objects. And yes, you have to use Model Editor for it. Use Import Mesh, import the dae file of the desired object and start to work on it. You can open other entities to see exact settings. RE: [Help] Moving objects and the like - Kraggdog - 06-10-2011 Ok thanks, will have to give this a go. RE: [Help] Moving objects and the like - Kraggdog - 06-10-2011 A black box is an entity so I take it that can be moved. Can lights be moved? And with moving objects.. is it only just a force? so like.. if you wanted to move a box.. can you only apply a force to it like a push? or can you control it.. can you make it move slowly across a room like it was hovering or something? I don't need this for my new custom story but its an example of what I do need Thanks. RE: [Help] Moving objects and the like - Tanshaydar - 06-10-2011 Not all entities can be moved. They need some special settings. Like not being StaticObject entity. Looking into main game files might be helpful. RE: [Help] Moving objects and the like - Acies - 06-11-2011 I don't think a light can be moved. Slowly moving other things is done through timers. A small force applied over a longer period of time. Hope you remember your phyiscs classes? As for the plane being an object, 3d modeling is required.. I'm quite sure that you can't make a plane an entity. Good luck. |