Video Camera
The_Evil_One
Join Date: 2004-09-05 Member: 31392Members
<div class="IPBDescription">Making a video camera like in CS</div> Ok, since I was never a big CS player, I dont know the name of the map. On one of the CS maps though, inside the hangar there was a button up top, and when you pushed it you could see outside the hangar with these imaginary video cameras. I was wondering 2 things:
1) is it possible to do in ns?
2) if so, how?
Yes, I know if it is at all possible it will be godly hard, but im really interested in trying to get this to work. Anyone who knows the answer, thanks <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
1) is it possible to do in ns?
2) if so, how?
Yes, I know if it is at all possible it will be godly hard, but im really interested in trying to get this to work. Anyone who knows the answer, thanks <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
Comments
They u go, never tried it ns, i assume it will work tho
<u>Camera:</u>
Static camera:
Create a computerscreeen, button, monitor.. whatever you want to use as screen, and make it to a func_button. Give that func_button the target "camera".
Now create a trigger_camera entity at the position where you want the camera to be and a info_target where the camera should aim to.
Go to the info_target properties and give it the name "cam_target" and after that go to the properties of the trigger_camera. This camera get's the name "camera" and the target "cam_target". The last thing to set is the "Hold time" in the properties of the trigger_camera. Enter a value in seconds there how long you want the player to look through the camera before he'll be released again.
The last thing to do is to check the flag "freeze player" in the Flags tab of the trigger_camera.
And that's it.
Moving camera - static target:
We'll use the basic setup of the "Static camera" and enhance it a little bit. The effect we now want to create is a camera which moves around a target object. Therefore we need at least two path_corner entities. Give the first path_corner the name "cam_corner_1" and the "next stop target" the value "cam_corner_2". Now go to the second path corner and do the same, but this time with the opposite values. So the second one get's the name "cam_corner_2" and the next stop target is "cam_corner_1". Now go to the properties of the previously created trigger_camera and enter "cam_corner_1" in the field
"Path corner". The last thing here to do is to set a value for "Initial Speed" which is how many units the camera shall move in units. I suggest around 30 for a chilling cam ride around an object.
And that's it.
static camera moving target.. tomorrow..
<!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
edit: forgot to mention.. the "freeze player" flag does not work properly, but if it's not checked, the camera might behave a bit dodgy in ns.
Don't think it does right now, either.