View Single Post
  #3  
Old 06-15-2011, 09:59 AM
Mstenger404 is offline Mstenger404
Registered User

Join Date: May 2005
Location: Indiana
Posts: 3,730

Send a message via MSN to Mstenger404
It's been a LONG time since I tinkered with CIN and END files but everything I know I learned from a post EagleEye made about 7 years ago. He went in depth with it and showed what every number meant but sadly it was on dfbarracks and I can't access it. So I'll try to explain it the best I can. Ok, lets open up a cin file.

BEGIN MOVECAMERA you need this to start
TICKS_START 0 this is your first camera position so its 0
TICKS_DURATION 180 this is how much time is spent on this camera, if you want it to fly faster you just make it longer
CINDEX CAMERA1
CBEGIN -437.337 361.385 62.0 100 345 000 these are the grid coordinates the camera will start on, i forget in what order theyre named but it's Z axis, Y axis, and X axis, the 3 numbers after that are direction, rotation, and tilt
CEND -437.337 361.385 62.0 100 345 000 this is where the camera will end up using the same format, its a very simple move from point A to point B ticks_duration determines how fast or slow
FOV 4259840 I havent used this but I think this is field of vision, do you want to have tunnel vision or fish eye?
END you put an end to each camera position

BEGIN EDITFADE you use this block of text to transition to another camera
TICKS_START 170 the 'fading' effect begins at 170 where the camera will run until 180 as youve seen it set to
TICKS_DURATION 20 the fading effect will last 20 ticks, overlapping into the next camera
CINDEX_BEGIN CAMERA1
CINDEX_END CAMERA2
END

BEGIN MOVECAMERA as you can see, i just copied the previous camera and changed it to be camera 2
TICKS_START 180 this camera starts when the other one ends
TICKS_DURATION 180
CINDEX CAMERA2 its camera 2, respectively
CBEGIN -437.337 361.385 62.0 100 345 000
CEND -437.337 361.385 62.0 100 345 000
FOV 4259840
END

at this point the cameras end and the mission begins. if this were a .end file, this would be when the mission complete screen would come in


I don't know if all this is 100% accurate, but now you have the gist of it, you may need to rework some of the numbers to get it working
__________________


Intel Q9300 Quad~2.5Ghz
PALIT GTX570
ASUS GTX280 Dedicated PhysX
WD Velociraptor 300GB 10k RPM
WD Caviar Black 1TB 7,200 RPM
4GB Patriot DDR3 1333mhz
Intel BOXDX48BT2 X48
Corsair 1000Watt Modular PSU
Windows 7 Professional 64-bit
ASUS VG238H 23" 120Hz 3D-Ready
Reply With Quote