A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Script problem

Author Topic: Script problem (5 messages, Page 1 of 1)
Moderators: Dennis

Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jul 15, 2008 12:47 AM    Msg. 1 of 5       
OK so im trying to make a script to show cutscenes.

(script startup cutscenes
(begin
(camera_control 1)
(camera_set Cut1 100)
(sleep 50)
(camera_set Cut2 100)
(sleep 50)
(camera_set Cut3 100)
(sleep 50)
(camera_set Cut4 100)
(sleep 50)
(camera_set Cut5 100)
(sleep 50)
(camera_set Cut6 100)
(sleep 50)
(camera_set Cut7 100)
(sleep 50)
(camera_set Cut8 100)
(sleep 50)
(camera_set Cut9 100)
(sleep 50)
(camera_set Cut10 100)
(sleep 50)
(camera_set Cut11 100)
(sleep 50)
(camera_set Cut12 100)
(sleep 50)
(camera_set Cut13 100)
(sleep 50)
(camera_set Cut14 100)
(sleep 50)
(camera_set Cut15 100)
(sleep 50)
(camera_set Cut16 100)
(sleep 50)
(camera_set Cut17 100)
(sleep 50)
(camera_set Cut18 100)
(sleep 50)
(camera_set Cut19 100)
(sleep 50)
(camera_set Cut20 100)
(sleep 50)
(camera_control 0)
)
)

However, when i try to compile a script using this script, it says that :.(begin is unmatched even though i have both parentheses at the end. I also have all cutscene cameras. If anyone knows how to solve the problem, please help.


killer kiwi
Joined: Feb 10, 2007

live and let die


Posted: Jul 15, 2008 02:10 AM    Msg. 2 of 5       
I just got that script to complie so so do you have anyother scripts in your scripts folder


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jul 15, 2008 10:43 AM    Msg. 3 of 5       
i had the backpack tags script but i removed it and it still wouldnt work


killer kiwi
Joined: Feb 10, 2007

live and let die


Posted: Jul 15, 2008 04:21 PM    Msg. 4 of 5       
open the map in sapian and try to recomple the script and them post all of the last part of the debug.txt flie here plaese.

This is because if you have placed all of the items that are needed this script should compile. Just wont to see if the debug will give me a clue as to what is wrong.


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jul 15, 2008 04:56 PM    Msg. 5 of 5       
OK i tried it again and it managed to compile. However, when i tested it, it only ran one custscene from cut1

EDIT. I found the error. When i change the script to

(script startup cutscenes
(begin
(camera_control 1)
(camera_set Cut1 100)
(sleep 10)
(camera_set Cut2 100)
(sleep 10)
(camera_set Cut3 100)
(sleep 10)
(camera_set Cut4 100)
(sleep 10)
(camera_set Cut5 100)
(sleep 10)
(camera_set Cut6 100)
(sleep 10)
(camera_set Cut7 100)
(sleep 10)
(camera_set Cut8 100)
(sleep 10)
(camera_set Cut9 100)
(sleep 10)
(camera_set Cut10 100)
(sleep 10)
(camera_set Cut11 100)
(sleep 10)
(camera_set Cut12 100)
(sleep 10)
(camera_set Cut13 100)
(sleep 10)
(camera_set Cut14 100)
(sleep 10)
(camera_set Cut15 100)
(sleep 10)
(camera_set Cut16 100)
(sleep 10)
(camera_set Cut17 100)
(sleep 10)
(camera_set Cut18 100)
(sleep 10)
(camera_set Cut19 100)
(sleep 10)
(camera_set Cut20 100)
(sleep 10)
(camera_control 0)
(cinematic_set_title Test)
(sleep 275)
(cinematic_stop)
)
)

it says that (Begin is unmatched
Edited by Gamma927 on Jul 15, 2008 at 06:30 PM

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 3:53 PM 282 ms.
A Halo Maps Website