Jump to content

Is it possible to force player direction and movement?


raney

Recommended Posts

I'm new to modding for the Oblivion/FO3/NV engine. I've worked with scripting languages in the past, so I have a decent understanding of how to throw code together. I had an idea for a mod that significantly changes the way the game is controlled, and thus how it is played. I've been looking through GECK and the various wiki's, but so far I haven't seen anything that allows me to do what I have in mind.

 

Is it possible to force the player to face in a specific direction? What I'm looking to do is have the player face whatever direction is input from the keyboard or controller. (This would make a first person view unplayable, but if it's possible to do what I want, it won't even be necessary). So what I need to do is basically...

 

- check for player directional input (keyboard or joystick)

- set player direction to match the input (Must be relevant to camera angle, where 0 is facing default direction and 180 is facing toward screen).

- the camera angle must not change to repositiont to behind the player when the direction changes.

 

This is but the first big challenge in something that's much larger in scope. But if this lone step isn't feasible, then I shouldn't even bother. I don't think I can do this in GECK alone, or at least I haven't found anything about it yet--so if anyone could point me in the right direction, that would be greatly appreciated.

 

director raney

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...