Page 1 of 1
Lock pitch and move camera above the player?
Posted: Tue May 26, 2009 7:15 pm
by d1ngd0ngtralala
I want to get camera angle like in Shadowgrounds.
So the camera would be directly above the player, and couldn't look up/down.
Can this be done with cvars only or is source code editing required?
Here's a screenshot of the camera angle I want:

Re: Lock pitch and move camera above the player?
Posted: Wed May 27, 2009 1:53 am
by Silicone_Milk
This can be done with /cg_drawthirdperson 1
/cg_drawthirdpersonangle someanglenumber
/cg_drawthirdpersonrange desired_distance
Although you will need to do some source code editing as the camera collides with geometry so your top down view wont work in an indoor area without some modification.
Re: Lock pitch and move camera above the player?
Posted: Wed May 27, 2009 10:46 am
by d1ngd0ngtralala
I have tried those already, don't work. cg_thirdPersonAngle rotates the view in wrong angle, and they don't lock pitch. I can still look up/down.
No need to worry about camera colliding. This will be for my awesome mod, and I make the maps fit this camera angle perfectly.
Re: Lock pitch and move camera above the player?
Posted: Wed May 27, 2009 3:00 pm
by ^misantropia^
d1ngd0ngtralala wrote:is source code editing required?
Yes.