Game Development Community

Over the Shoulder with crosshair

by gavalanche · in Torque Game Engine · 10/19/2007 (10:09 am) · 5 replies

Im fairly new to torque. At the moment I am just trying to familiarise myself with it by messing around with the starter.fps demo. My first problem is trying to get the crosshair to appear when in 3rd person mode. I looked at some of the resources and tried to change a line in the guiCrossHairHud.cc file, but it didn't appear to make a difference. Could anyone tell me where to start?
Secondly, I'm wondering how Id go about changing the 3rd person camera so that the player is offset to left, in a kind of over the shoulder view. Any help would be greatly appreciated.

About the author

Recent Threads


#1
10/19/2007 (1:30 pm)
The "more realistic first person" resource might help you with the over-the-shoulder view. I suggest you have a look at it.
#2
10/19/2007 (5:01 pm)
Thanks. The resource is a bit advanced for me. I thought that there might have just been a camera offset variable that you might be able to change. I'll keep looking though.
#3
10/19/2007 (5:47 pm)
This is what i use

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=8413

Requires a little bit of coding but end result works well enough
#4
10/20/2007 (5:11 am)
Yet another plug... lol if you have access to the private forums you can use my camera resource. I spent quite a lot of time getting a workable 3rd person camera. I needed a camera that allowed the player to shoot where it was aiming. This camera achieves that (I think!).

There is a lot I'd like to do to my camera but I don't have time within my current project constraints.

You can offset both the camera's position and it's look-at position by any value you would like.
#5
10/21/2007 (10:01 am)
Ok thanks for the help.