Player Movement In Air - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Player Movement In Air (/thread-9580.html) |
Player Movement In Air - Endlvl - 08-03-2011 Any ideas on how to minimize/ disable player movement in air when floating, the run and move mul are set really low but since the player is floating he is still able to move rapidly. Is their any way to disable that movement without restricting head rotation? Once Again to clarify the player is floating in the air but even with movement set to 0.001f he is still able to move at regular speeds (jumping is disabled). How fix? RE: Player Movement In Air - Your Computer - 08-03-2011 Aside from constantly teleporting the player to the same spot, you could try invisible walls. RE: Player Movement In Air - Tanshaydar - 08-03-2011 Look mul? RE: Player Movement In Air - Endlvl - 08-03-2011 Sadly I require the player to move around by other means also the look mul restricts player head rotation but does not stop movement RE: Player Movement In Air - Your Computer - 08-03-2011 Perhaps force the player to stay crouched? Maybe 0.001 is so small that the game rejects it and reverts to a default. RE: Player Movement In Air - Endlvl - 08-03-2011 1) It seems to work on ground forcing the player to stop moving but when the player jumps or in my case floats they still are able to move freely 2) Also better and more realistic question anyone know how to turn off the grab feature eg to replace it with something else ive been looking through the material and model editors but no dice so far. What separates a holdable entity from a non holdable entity? (its not mass) //////////////////////////////////// Never Mind bout the 2nd question I GOOOOTTTTTT IT its in user defined variables in model editor, to change the base interaction change the subtype RE: Player Movement In Air - DRedshot - 08-03-2011 If you need the player to be able to move by other means can't you just activate the collide boxes whe you start floating, then disable them when you finish floating? RE: Player Movement In Air - Your Computer - 08-04-2011 (08-03-2011, 11:21 PM)Endlvl Wrote: 2) Also better and more realistic question anyone know how to turn off the grab feature eg to replace it with something else ive been looking through the material and model editors but no dice so far. What separates a holdable entity from a non holdable entity? (its not mass)I think SetEntityInteractionDisabled() would have been the easier, more dynamic, way. RE: Player Movement In Air - Endlvl - 08-04-2011 (08-03-2011, 11:36 PM)DRedshot Wrote: If you need the player to be able to move by other means can't you just activate the collide boxes whe you start floating, then disable them when you finish floating? Well actually that would not work because the player is moving through the map based on his control by pushing off other objects (08-04-2011, 12:08 AM)Your Computer Wrote: I think SetEntityInteractionDisabled() would have been the easier, more dynamic, way. I tried it but it also disabled other interactions aka if i replaced the basic interaction with my own function neither would work ty anyway |