Staredit Network

Staredit Network -> UMS Assistance -> .Wav won't play
Report, edit, etc...Posted by BeeR_KeG on 2005-12-10 at 15:58:12
So my wav won't play at all. My first thoughts is that the Starcraft engine won't handle a MPEG Layer-3 18 kBit/s, 8,000 Hz, Stereo wav. It should be 16-bit wav's but I have no clue if mine meets that specification. Another thing might the that Starforge Sound manager screwed up during the string procces. The .wav is saved as "Cave.wav".
I also have posted the triggers to see if I overlooked soemthing.

Trigger
Players:
¤ P1-P6
Conditions:
¤ Always();
Actions:
¤ SetDeaths(P7, Add, 1, Independent Command Center);
¤ PreserveTrigger();


Trigger
Players:
¤ P1-P6
Conditions:
¤ Deaths(P7, AtLeast, 2730, Independent Command Center);
Actions:
¤ SetDeaths(P7, SetTo, 0, Independent Command Center);
¤ PlayWAV("Cave.wav");
¤ PreserveTrigger();


Trigger
Players:
¤ P1-P6
Conditions:
¤ ElapsedTime(Exactly, 1);
Actions:
¤ SetDeaths(P7, SetTo, 2727, Independent Command Center);
Report, edit, etc...Posted by KaboomHahahein on 2005-12-10 at 16:03:37
I think the problem is in the "exactly" part. When the game looks over the triggers again, the Exactly 1 might be already over so they ignore it. Use atleast 1 or at most 1 which ever works for the map.
Report, edit, etc...Posted by DT_Battlekruser on 2005-12-10 at 16:57:40
If he has hypertriggers there wouldn't be a problem...
Report, edit, etc...Posted by BeeR_KeG on 2005-12-10 at 17:19:08
I do have hypertriggers.
Report, edit, etc...Posted by MindArchon on 2005-12-10 at 18:15:26
QUOTE(BeeR_KeG @ Some Date)
Another thing might the that Starforge Sound manager screwed up during the string procces


Starforge tends to screw up the WAV's. Did you check the mpq to actually see its in there, and the actual chk may also be messed up :/
Report, edit, etc...Posted by BeeR_KeG on 2005-12-11 at 16:21:21
How can I do that? Or if possible, how can I add the sound via MPQ.
Report, edit, etc...Posted by Cloud on 2005-12-11 at 16:30:59
use a diff editor.. tongue.gif
Report, edit, etc...Posted by Urmom(U) on 2005-12-11 at 18:24:35
Just use SCM Draft and re-import the sound into your map. You can condense that into 2 triggers too tongue.gif. To check if it's in the MPQ just use WinMPQ and open the StarCraft file. All the sounds that are in the map should be there when you open it.
Report, edit, etc...Posted by BeeR_KeG on 2005-12-11 at 18:33:47
Still doesn't work in SCMDraft.
I made a test map in StarEdit and tried using the sound and it gave me this error:

The WAV file 'Blizzard Entertainment - Cave.wav' is a 0-bit sound file, and is not compatible with Starcraft. Valid WAV files are 16 or 8-bit, stereo or mono.

Can someone make the sound file I have in the first post compatible with Starcraft?
Report, edit, etc...Posted by Urmom(U) on 2005-12-11 at 21:17:05
Here you go, here is a tutorial so you can do it on your own too. http://www.staredit.net/index.php?tutorial=3

Err, wtf it won't let me upload the WAV. But you should be able to convert it yourself now anyways.
Report, edit, etc...Posted by www.com.au on 2005-12-12 at 08:46:24
SC will not take 18-bit wavs.

i have a program that will let you convert any sound file to any sound file (almost), 8, 16, or 18 bit and you can choose the hertz..

ill see if i can change it to 16 bit.

ADDITION:
Urmom, its a direct link to the wav. right click and click 'save link target as'

noob.




(jk wink.gif)

ADDITION:
Ok, got it. I saved it as the same everything, i just changed the bit to 16.

i didnt want to make the hertz any higher, as im not sure if you online and i dont want to wait and ask you..




ADDITION:
Actually, i wont do it.. its gone from a 508 kb file to a 3 meg file.

ugh.
Report, edit, etc...Posted by Urmom(U) on 2005-12-12 at 20:28:21
Did you realize that I said Upload? You don't need a fancy program either, just use Sound Recorder.





Noob. (jk tongue.gif )
Report, edit, etc...Posted by HolySin on 2005-12-12 at 22:53:19
First off, never import wav files with starforge, it distorts it to be much bigger than it really is. It's possible that your wav won't play due to the position of the hyper triggers. Probably the easiest thing would be to make a duplicate wav file and import that one.
Report, edit, etc...Posted by Joshgt2 on 2005-12-12 at 23:07:30
So your using the background music from Diablo II in act 1 and put it into a starcraft map... That is a large amount of time for that .wav file...
Report, edit, etc...Posted by Urmom(U) on 2005-12-13 at 18:49:14
The file itself is only 500 kb.
Report, edit, etc...Posted by www.com.au on 2005-12-14 at 12:17:39
its 18-bit..

sc doesnt play 18-bit wav files i said this up there??
Report, edit, etc...Posted by Urmom(U) on 2005-12-14 at 18:03:32
Yea, we know that.
Next Page (1)