Frictional Games Forum (read-only)
Is it possible (W) - 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: Is it possible (W) (/thread-9910.html)



Is it possible (W) - Elven - 08-22-2011

Is it possible to make so that player can press only w button to move forward Tongue? Others like d, s,a, space and everything else disabled Tongue. Just askin'.


RE: Is it possible (W) - Kyle - 08-22-2011

It's possible to do if you set block boxes active around the player except from infront and then as the player moves forward, have block boxes behind him get set active. For jumping, I'm pretty sure that there is a script function that can prevent the player for jumping. Tongue


RE: Is it possible (W) - Your Computer - 08-22-2011

You may be better off disabling the player temporarily, force the user to look in the direction you want them to move and move the player with MovePlayerForward().


RE: Is it possible (W) - MegaScience - 08-22-2011

Yes, it would be easier to script a LookAt and such. I for one use the Arrow Keys to move around, always have. Would be frustrating to remember the primary keys just to move.


RE: Is it possible (W) - Elven - 08-22-2011

Hmm ok. I guess I keep as it is right now then (Your Computer method). I just wanted to know that maybe I can change it and make player move, but too much ass to change anyway Tongue