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 Compiles but doesn't work?

Author Topic: Script Compiles but doesn't work? (10 messages, Page 1 of 1)
Moderators: Dennis

megahalofan12
Joined: May 21, 2008

Xbox Live/Xfire is: matthewdratt


Posted: Jun 25, 2008 06:06 PM    Msg. 1 of 10       
This script complies with no errors, but when I open the maps. Nothing happens...
(script startup cutscenes
(begin
(camera_control 1)
(camera_set cut11 100)
(sleep cut2)
(camera_set cut12 100)
(sleep cut2)
(camera_control 0)
)
)

?, Even other scripts won't work...


Dark Ninja
Joined: May 26, 2008

The internet shows how stupid people are.


Posted: Jun 25, 2008 07:24 PM    Msg. 2 of 10       
Did you put it into data\levels\mapname\scripts?


megahalofan12
Joined: May 21, 2008

Xbox Live/Xfire is: matthewdratt


Posted: Jun 25, 2008 07:27 PM    Msg. 3 of 10       
yea... hsc file


Ermac
Joined: Nov 24, 2006

Pops up from time to time


Posted: Jun 26, 2008 01:24 AM    Msg. 4 of 10       
Are they all in one file?

Make sure all the scripts are all in one file. If there are too many files, some will not compile for whatever reason.


megahalofan12
Joined: May 21, 2008

Xbox Live/Xfire is: matthewdratt


Posted: Jun 26, 2008 05:10 PM    Msg. 5 of 10       
This is the only script in there, that's the whole HSC file


H Guru
Joined: Oct 15, 2006

EHSv3 Coming Soon!


Posted: Jun 26, 2008 05:36 PM    Msg. 6 of 10       
Quote: (sleep cut2)


cut2 needs to be a value such as (sleep 100).


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 26, 2008 05:37 PM    Msg. 7 of 10       
Or you could use camera_get_time (cut2)). I think.


Mythril
-
Screenshot Guru
-
Joined: Mar 29, 2008

Jeffrey Albert Waldo


Posted: Jun 27, 2008 06:46 PM    Msg. 8 of 10       
I thought the scripts had to be in data/levels/test/mapname?

Cause I tried putting it in there and my scripts worked, cept now it won't work again =P


bobbysoon
Joined: Feb 1, 2007


Posted: Jun 27, 2008 07:17 PM    Msg. 9 of 10       
Since sapien says "scripts succesfully compiled" even when it don't compile nothin, look at the bottomwards part of the scenario tag for scriptish stuff
If it's got your script file and script(s) listed there, then the script needs correcting, elserwise, make sure the scripts folder's location under data mirrors the scenario tag's location under tags


megahalofan12
Joined: May 21, 2008

Xbox Live/Xfire is: matthewdratt


Posted: Jun 28, 2008 04:25 PM    Msg. 10 of 10       
Wait, I found the problem, well i didn't. I just works now???
Edited by megahalofan12 on Jun 28, 2008 at 04:28 PM

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 10:40 AM 109 ms.
A Halo Maps Website