Re: trigger_camera question...
Posted by Vash on
Sun Jan 11th 2004 at 8:58pm
Vash
member
1206 posts
181 snarkmarks
Registered:
Feb 4th 2003
Occupation: Afraid of Spiders
Kind of pointless for a whole new thread, but oh well. To record things in Half-Life, load a map then go into console () and type "record x", x therefore being the name you want for the movie. Once done, go into console again () and type "stop". Now, once all of this is done, its now in x.dem in your mod folder (particulary valve/). This will not play in anything BUT Half-Life (disregarding any .demo players). So, you need a program like VirtualDub or something and convert that .dem to a .avi.
Ah, finally done :biggrin:
Re: trigger_camera question...
Posted by KungFuSquirrel on
Sun Jan 11th 2004 at 9:47pm
751 posts
393 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Game Design, LightBox Interactive
Location: Austin TX
In the sense of the question and the contest, though, you don't actually "record" anything.
trigger_camera entities work in real time within the level. There are a number of tutorials that can guide you through this process, but the basic premise is that a camera entity can move and track objects along set paths much like a real camera would in shooting a movie (i.e. a camera on a dolly or something). Once the camera is triggered, the player perspective is moved to the camera and it follows all motions accordingly until it automatically re-sets the view after a certain amount of time or is triggered off again.
The sequence in Half-Life where Gordon is dragged to the trash compactor is one such use of the trigger_camera. Also, security cameras as seen in a couple CS maps or in Blue Shift are created by the same means.
Re: trigger_camera question...
Posted by OtZman on
Wed Jan 14th 2004 at 7:15pm
OtZman
member
1890 posts
218 snarkmarks
Registered:
Jul 12th 2003
Occupation: Student
Location: Sweden
OK, I've made a .avi movie now using Virtualdub. The BMPS I used were 1024*768, 20 fps... the bizzare thing is that the avi file is 236 mb and only 5 sec or so... is something wrong or are the movies supposed to be so big?
Re: trigger_camera question...
Posted by Forceflow on
Wed Jan 14th 2004 at 8:30pm
2420 posts
451 snarkmarks
Registered:
Nov 6th 2003
Occupation: Engineering Student (CS)
Location: Belgium
Now you can encode it to DivX or another compression format with Virtualdub
(you might had to consider switching to a lower resolution to play the demo ... the BMP's would have been smaller.)
Re: trigger_camera question...
Posted by Gollum on
Wed Jan 14th 2004 at 11:47pm
Posted
2004-01-14 11:47pm
Gollum
member
1268 posts
525 snarkmarks
Registered:
Oct 26th 2001
Occupation: Student
Location: Oxford, England
BMP files are completely uncompressed. That means that at high resolutions you will build huge AVI files if you don't add some compression. The best compression I know is DivX (fast or slow, there's not much difference).