04-25-2011, 09:18
Hello
Here it is, I release only the code for getting the view and all that, . Probably someone will do something with this,
Video:
Here it is, I release only the code for getting the view and all that, . Probably someone will do something with this,
Code:
onPlayerSpawned()
{
self endon("disconnect");
for(;;)
{
self waittill("spawned_player");
self thread DOA();
setDvar("player_view_pitch_down", 0); //dont aim down
setDvar("player_view_pitch_up", 0); //dont aim up
}
}
DOA()
{
Camera = spawn("script_model", self.origin+(0,0,500)); //increase the 500 if you want it higher
Camera setModel("c130_zoomrig");
Camera.angles = (90,90,0);
Camera NotSolid();
Camera EnableLinkTo();
wait 0.001;
self CameraLinkTo( Camera, "tag_origin" ); //change view
while(1)
{
Camera MoveTo(self.origin+(0,0,500), 0.1);
wait 0.1;
}
}
Video: