Game Development Community

Over-the-shoulder view?

by Jordan · in Game Design and Creative Issues · 10/24/2007 (7:09 pm) · 1 replies

Hi,

I recently bought the soldier content pack and I imported the model into the game so that the player is the soldier. I wanted it to be over the shoulder shooter so I keep the game in over the shoulder by pressing TAB. I want to do 2 things: 1: I want the game to start out as over the shoulder and not let the player be able to change it to 1st (unless I change the code,) and 2: I want to make the camera so you are looking over his shoulder with a crosshair so you can aim. Any help would be appreciated.

Thanks

#1
11/21/2007 (9:24 am)
You might take a look at some of the recent camera resources that implement a following third person camera. Making it so you can't switch from first person could be done by investigating the functions that are moveMap.bind() to the TAB key and figuring out what those do to switch you, then just doing it once on start up and disabling the bind() for TAB.