Starting in third person view by default
by rpi (#0011) · in Torque Game Engine · 02/28/2005 (2:22 pm) · 3 replies
I was wondering, how would I set the camera mode to be third person by default? I'm working with starter.fps as a base, and noticed the toggleFirstPerson function in starter.fps/client/scripts/default..bind.cs, where it just flips a variable $firstPerson. The problem is, I'm not sure where I should adjust this variable for it to take effect when a player spawns.
Any help would greatly appreciated.
Any help would greatly appreciated.
Torque Owner Gonzo T. Clown
$FirstPerson = 0;
just above the function...
function toggleFirstPerson(%val)
Then all players should default to 3rd person to start. And you can also go to line 32 in GameConnection.cc and change...
bool GameConnection::mFirstPerson = true;
to...
bool GameConnection::mFirstPerson = false;