
Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 15, 2008 10:33 PM
Msg. 1 of 13
So ive decided to create a cutscene (obviously), and I placed 7 cameras. I used the script (script startup cutscenes (begin (camera_control 1) (camera_set Point1 100) (sleep 300) (camera_set Point2 100) (sleep 300) (camera_set Point3 100) (sleep 300) (camera_set Point4 100) (sleep 300) (camera_set Point5 100) (sleep 300) (camera_set Point6 100) (sleep 300) (camera_set Point7 100) (sleep 300) (camera_control 0) ) )
But when I compile the map, and run it, the cutscene flashes in half a second (i barely can read it). Before, I had all the cameras on top of each other, so i thought that was the problem, but now, after i spread them all out, it still flashes by. I made sure that i was compiling the right script, and compiling the correct map (i missed that a few times before) and made sure that i did everything correct. I even restarted my computer a few times (i dont exactly know why), but it still just flashes accross. A little help please?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 16, 2008 09:53 AM
Msg. 2 of 13
I'm not so sure what it does. I just used the Easy Halo Scripter. I changed it, but it still doesnt work. (script startup cutscenes (begin (camera_control 1) (camera_set Point1 0) (sleep 300) (camera_set Point2 0) (sleep 300) (camera_set Point3 0) (sleep 300) (camera_set Point4 0) (sleep 300) (camera_set Point5 0) (sleep 300) (camera_set Point6 0) (sleep 300) (camera_set Point7 0) (sleep 300) (camera_control 0) ) )
Then I tried (script startup cutscenes (begin (camera_control 1) (camera_set Point1 0) (sleep 30) (camera_set Point2 0) (sleep 30) (camera_set Point3 0) (sleep 30) (camera_set Point4 0) (sleep 30) (camera_set Point5 0) (sleep 30) (camera_set Point6 0) (sleep 30) (camera_set Point7 0) (sleep 30) (camera_control 0) ) )
|
|
|

kai5888
Joined: Jun 29, 2008
Start the revolution
|
Posted: Sep 16, 2008 11:03 AM
Msg. 3 of 13
just:
(script startup cutscenes (camera_control 1) (camera_set Point1 100) (sleep 300) (camera_set Point2 100) (sleep 300) (camera_set Point3 100) (sleep 300) (camera_set Point4 100) (sleep 300) (camera_set Point5 100) (sleep 300) (camera_set Point6 100) (sleep 300) (camera_set Point7 100) (sleep 300) (camera_control 0) )
^^^^^^^^^^^^^^^^ should work...
but if you wanted a "better looking" one
(script startup cutscenes (cinematic_start) (fade_out 0 0 0 90) (camera_control 1) (sleep 90) (fade_in 0 0 0 90) (camera_set Point1 0) (sleep 100) (camera_set Point2 200) (sleep 140) (camera_set Point3 200) (sleep 140) (camera_set Point4 200) (sleep 140) (camera_set Point5 200) (sleep 140) (camera_set Point6 200) (sleep 140) (camera_set Point7 200) (sleep 140) (fade_out 0 0 0 90) (sleep 90) (camera_control 0) (fade_in 0 0 0 90) (sleep_90) (cinematic_stop) )
^^^^^^^^^^^^^^^^ granted that your cameras are going in a linear pattern
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 16, 2008 06:41 PM
Msg. 4 of 13
I tried your second suggestion, and the cinematic bars work. What doesn't work is that it doesn't go to the camera points, and I just stand there looking around but I can't shoot and all that happens is that I repeatedly get shot. At least the bars work, but its just that it won't go to the camera points. I made sure that I have these points, but it still won't go there
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Sep 16, 2008 08:03 PM
Msg. 5 of 13
I see your problem. Instead of using Easy Halo Scripter, learn to actually script. You have very little control if you use something that does scripting for you, as you don't understand anything when something goes wrong, like now. There are plenty of cutscene camera scripting tutorials out there.
Your problem is that you're (camera_set) has a shorter transition time than your (sleep) time.
(camera_set Point2 100) (sleep 300)
^ That's wrong. What will happen, as you are seeing, is that the camera will jump to the next camera in 100 ticks (frames), and then the script will wait another 200 ticks before starting to move to the next camera, which looks terrible. Also, your first camera point needs to be set to 0 ticks so the camera snaps there immediately and then smoothly transitions to the rest. For each pair of (camera_control) and (sleep), change it like this:
(camera_set Point2 100) (sleep 50)
and change the first (camera_set) to:
(camera_set Point1 0)
Now, the camera will try to move to each other point in 100 ticks, but because of sleeping only 50 ticks, the camera will smoothly transition to moving towards the next point, and so on and so forth.
So there's my lengthy explanation of your fix. I made it detailed to make sure you understand why it's wrong, and why doing this will fix it, so you learn.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 16, 2008 08:06 PM
Msg. 6 of 13
Actually, I really would like to know why certain things go wrong. The one problem, however, is that it's hard to find tutorials that teach this.
By the way, it still doesn't work. I'm using (script startup cutscenes (begin (camera_control 1) (camera_set Point1 0) (sleep 50) (camera_set Point2 100) (sleep 50) (camera_set Point3 100) (sleep 50) (camera_set Point4 100) (sleep 50) (camera_set Point5 100) (sleep 50) (camera_set Point6 100) (sleep 50) (camera_set Point7 100) (sleep 50) (camera_control 0) ) ) Edited by Gamma927 on Sep 16, 2008 at 08:21 PM Edited by Gamma927 on Sep 16, 2008 at 08:21 PM
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Sep 16, 2008 08:50 PM
Msg. 7 of 13
Quote: --- Original message by: Gamma927
Actually, I really would like to know why certain things go wrong. The one problem, however, is that it's hard to find tutorials that teach this.
By the way, it still doesn't work. I'm using (script startup cutscenes (begin (camera_control 1) (camera_set Point1 0) (sleep 50) - Get rid of it if you want no pause. (camera_set Point2 100) (sleep 50) (camera_set Point3 100) (sleep 50) (camera_set Point4 100) (sleep 50) (camera_set Point5 100) (sleep 50) (camera_set Point6 100) (sleep 50) (camera_set Point7 100) (sleep 50) - Change that to 110. (camera_control 0) ) )
Don't see why it still doesn't work. But here are a few things that should be changed anyway that might fix your problem: 1. Get rid of the first (sleep) command. This gets rid of the unneeded pause at the beginning (unless you want the pause). 2. Change the last (sleep) command's ticks to 110, just higher than the last (camera_set)'s ticks. This lets the last (camera_set) camera movement reach the camera point and then stop briefly before the camera is snapped back to the player view, instead of cutting it off early like it does with 50 ticks. My changes are in bold.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 16, 2008 11:53 PM
Msg. 8 of 13
Tried. It just won't stay with the cutscene. For half a second, I can see the image from the first camera. Then, it immediately cuts to the player.
|
|
|

kai5888
Joined: Jun 29, 2008
Start the revolution
|
Posted: Sep 17, 2008 11:15 AM
Msg. 9 of 13
thats a good script i've used it and it works....
is there something wrong with player spawns?...
or something?
idk why its not working
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 17, 2008 09:44 PM
Msg. 10 of 13
I'm not so sure... I have my cameras set up in camera points, first is Point1 and then point 2 etc... I have only one player spawn (im making single player)
|
|
|

kai5888
Joined: Jun 29, 2008
Start the revolution
|
Posted: Sep 18, 2008 03:17 PM
Msg. 11 of 13
and are all 4 types set to none?
and is the tam index 0?
|
|
|

SeanTheLawn
Joined: Sep 4, 2007
|
Posted: Sep 19, 2008 12:57 PM
Msg. 12 of 13
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 19, 2008 09:08 PM
Msg. 13 of 13
I know how to script. I've tested the singleplayer before also. It runs, but the cutscene is the only problem
|
|
|