static trigger_camera Created 9 years ago2015-09-24 16:32:01 UTC by Alles_Ratten Alles_Ratten

Created 9 years ago2015-09-24 16:32:01 UTC by Alles_Ratten Alles_Ratten

Posted 9 years ago2015-09-24 16:32:01 UTC Post #327008
Hi,
for my singleplayermap i want a perfectly static camera. So i made a trigger_camera and an info_target. When I activate the camera the field of view moves from the standard angles of the camera to the target (using the acceleration deacceleration and so on).

But i want the camera to show instantly locked on the target without moving at all. So is the only way to achieve that with setting all angles manually? which is a lot of work -.-
But i think there should be a way to loc on the target instantly - thats why i ask ;) Didnt found any info about this in tutorials though
Posted 9 years ago2015-09-24 16:44:01 UTC Post #327009
I think you can't do much more. You should try. You'll need the XYZ coords of the camera and the target and basic trigonometry should give you the correct angle.
Posted 9 years ago2015-09-24 17:32:14 UTC Post #327010
The Famous Alles_Ratten, welcome around :)
You could also try to add a really high acceleration, maybe this works also, not sure havent tested vanilla entitiys for a long time.
Posted 9 years ago2015-09-24 22:12:32 UTC Post #327011
I would think you could hide the camera pan with an env_fade
Tetsu0 Tetsu0Positive Chaos
Posted 9 years ago2015-09-25 14:20:16 UTC Post #327012
trigonowhat? :o hm yes i'm afraid i know how to calculate it but it's still a lot more annoying than having the camera instantly on the target. Also i'd rather struggle with calculating the length of the triangle's sides. which i would need then as far as i know.
I'll probably do it with an env_fade then usually.

Thanks for the welcome Trempler, could you remind me again what I am famous for? I'm just certain that it was not for my legendary mappingskillz :D
Posted 9 years ago2015-09-25 19:07:06 UTC Post #327015
Nope but for your gaming skillz :D in AG :D
You must be logged in to post a response.