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 »Help with a simple music script

Author Topic: Help with a simple music script (8 messages, Page 1 of 1)
Moderators: Dennis

rescue86k
Joined: Dec 13, 2010

Frog blast the vent core! -Marathon IS Halo


Posted: Dec 19, 2010 05:13 AM    Msg. 1 of 8       
The file is named music.hsc

the script is:

(script startup music
(sound_looping_start levels\a30\music\a30_01 none 1)

)


The scenario is type "solo", hence not multiplayer map.

The problem is: The sound wont play. Please help. It must be something simple I'm missing.

EDIT:

I found out the source of the problem. The sound loop file itself, wont play. I tried attaching the sound loop to a scenery object, and it wont play in sapien when object placed in map, where-as an object which came with its own sound loops plays.

Sucks. I hope I can find working sound loops. I'd hate to use the same sound over and over for my maps. I'll try dlling some here on halomaps.org, maybe custom ones that may work.
Edited by rescue86k on Dec 19, 2010 at 05:46 AM


MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Dec 19, 2010 09:39 AM    Msg. 2 of 8       
Also, when playing a sound_looping file, do this:

(script startup funshiz
(-WORDS-)
(sound_looping_predict levels\a30\music\a30_01)
(sound_looping_start levels\a30\music\a30_01 none 1)
(-WORDS-)
)


I hope you get the music fixed!


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Dec 19, 2010 05:58 PM    Msg. 3 of 8       
(sound_looping_predict levels\a30\music\a30_01 true)

When i try that command without 'true' or 'false' the scripts won't compile


rescue86k
Joined: Dec 13, 2010

Frog blast the vent core! -Marathon IS Halo


Posted: Dec 19, 2010 06:27 PM    Msg. 4 of 8       
Thankyou!!

All hope was lost. I truely spent alot of time working on this. Here's a note: My soundcard is realtek high definition audio and doesn't support environmental sounds or hardware acceleration. The halo theme song does play on the halo ce menu, so I don't think its the reason I'm not hearing the music.

What is the (-WORDS-)? Do I use that too?


I'm going to try both suggestions. Also here's a second simple script that did not work.

I have 2 camera points set up with feild of veiw 70 each, named cam1, and cam2.

I have 1 player start position, with 0 team index, all options set to none.

Map is solo player type in guerilla.

(script startup cutscene
(player_enable_input 0)
(camera_control 1)
(cinematic_start)
(cinematic_show_letterbox 1)
(sleep 60)
(cinematic_start)
(cinematic_show_letterbox 1)
(camera_set cam1 200)
(sleep 200)
(camera_set cam2 200)
(sleep 100)
(camera_control 0)
(cinematic_stop)
)



MoooseGuy
Joined: Aug 10, 2008

I Approve This Message.


Posted: Dec 19, 2010 08:00 PM    Msg. 5 of 8       
Why all the unnecessary stuff?
Do this:

(script startup cutscene
(cinematic_start)
(player_enable_input 0)
(sleep 60)
(camera_control 1)
(camera_set cam1 200)
(sleep 200)
(camera_set cam2 200)
(sleep 100)
(camera_control 0)
(cinematic_stop)
)


And it should work fine.


rescue86k
Joined: Dec 13, 2010

Frog blast the vent core! -Marathon IS Halo


Posted: Dec 19, 2010 08:57 PM    Msg. 6 of 8       
EDIT: CLEARED OUT WHAT I SAID

Save readers some time.

Ok the problem is when I compile scripts in sapien, the scripts veiwed in guerilla are cleared out. (BLANK) weird.

No blocks added in the script section of guerilla.

If i manually add scripts in guerilla, save, then open sapien, compile, then go back to guerilla(i use kornman), the script section has no blocks. Anyone know why? Thats my error here.

Is it becuase its a solo type map...
Edited by rescue86k on Dec 19, 2010 at 11:13 PM


Muscl3r
Joined: May 22, 2010

dont pray 4 easy lives...pray to be STRONGER MEN


Posted: Dec 19, 2010 11:17 PM    Msg. 7 of 8       
That doesn't matter does it?? I never check in guerilla. Just compile in sapien with no problems.


rescue86k
Joined: Dec 13, 2010

Frog blast the vent core! -Marathon IS Halo


Posted: Dec 19, 2010 11:27 PM    Msg. 8 of 8       
I figured it out everyone, I'm a deuce. It was a really simple problem!

data\levels\test\bloodgulch\scripts

is where the scripts should be


tags\levels\test\bloodgulch\scripts

is where I'm putting the scripting



I completely forgot! It took looking online for a while to re-enter a forum which this was solved for someone else.

No wonder why. Deuce deuce beat myself over with a paddle.

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 10:14 PM 94 ms.
A Halo Maps Website