Free camera
by Nancy Lee · in Technical Issues · 10/10/2008 (9:14 pm) · 2 replies
Hi, is there anyway that when I start the game, my camera is in free mode.
do u know where I should make changes?
Thanks a lot!
do u know where I should make changes?
Thanks a lot!
About the author
Associate Michael Hall
Distracted...
Open up game.cs and look for the function GameConnection::onClientEnterGame(%this). Inside of there you will see where it sets up a new Observer camera, zero's the score, and then calls the function that creates the player %this.spawnPlayer(). Comment out that line. That will prevent the player from being spawned with a armor/player datablock.
Now you need to give the player control of the camera. Still inside GameConnection::onClientEnterGame(%this), at the end, add these three lines
And that should be it.
edit: 3 AM spelling ;)