Staredit Network

Staredit Network -> UMS Assistance -> Problems with sounds on my map.
Report, edit, etc...Posted by Elvang on 2005-04-10 at 19:33:45
Ok, on my map I decided to add in a system to reset the arena but unfortunately I needed the use of P12 and P11, so I went into StarForge and set up the triggers, placed the units, and found that the sound no longer played. So I went into ScmDraft and put the sound in, saved, and tested it. The triggers were playing the wrong sounds(they got mixed up somehow) so I went into to StarForge to change the triggers, then back to ScmDraft to put the sounds back in the same order but it wont let me open the sounds editor without crashing. When I add the sounds in through StarForge they simply crash the game when it comes time to play that sound, and I can't open it in X-tra cause it will remove tons of units and stuff. Even when I remove all the sounds and try to play the game it still crashes. When StarCraft crashes I get a message saying the parameters are wrong, if problem persists reinstall StarCraft. Also I did not protect the map so thats not related to the problem. So can anyone help me on how to get the sounds to play again, in the right order, without crashing the map? Attached to the post is the map I'm working on with all the sounds in it.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-04-10 at 19:48:05
i had this same problem long ago when i created Stacked Defense, but for some reason I am the only person that crashes when that map is played (cant even play my own map anymore) and everyone else is always safe, no matter which player they are. It always crashed me when a .wav tried to play but for everyone else it was just a null sound
Report, edit, etc...Posted by LegacyWeapon on 2005-04-10 at 20:01:20
Go into triggers with any trigger editor (SCMD2 preferred) and using notepad, find all the instances of "Invalid String" and replace them with the proper sound.
Report, edit, etc...Posted by chuiu on 2005-04-10 at 20:09:06
When you remove the sound file you're probably removing the string that went with that sound file. Which means that the playWav action will be playing a string that does not exist. Which means you will crash.

Ok ... you have a couple sound strings named the same thing twice. Meaning two things: sounds are being used in the wrong places and certain sounds are NOT being found.

I'm going to fix up the map and upload it here. The reason you're crashing is that you have invalid strings instead of sound strings.
Report, edit, etc...Posted by Elvang on 2005-04-10 at 20:21:57
Ok Legacy, I just tried to edit them like you said but Xtra crashed, and so did scmdraft, along with regular editor mellow.gif Seems I can only edit the triggers in starforge and the string names are all in the right places, but in the sounds editor when I hit ok it doubles each string name so theres another one of each one mellow.gif . O and thanks chuiu.
Report, edit, etc...Posted by chuiu on 2005-04-10 at 20:27:37
Ok here is what I did:

1. Opened the map in SCMDraft 2 (with trigedit). Viewed the strings. Saw duplicate strings:
Siren 4.wav
Pacman SC.wav
2. Opened the map in WinMPQ and confirmed that there were two sound files not associated with strings.
3. Renamed duplicate strings to correct names:
Siren 2.wav
Pacman eat SC.wav
4. Went through and redid the PlayWav actions in every trigger I could find that had one.

If you are editing the map in SCMD2 please make sure it has the trigedit plugin. I'm positive it will cause future problems if you don't. If you need it, it's in the DLDB. Another side note, you should place triggers that affect all player of a force in the force not for each individual player. It keeps things organized a little more and makes things easier to edit and view in the future.

Here is the map, I hope I got every trigger:

[attachmentid=7636]

Map Fixed in SCMDraft 2! smile.gif
Report, edit, etc...Posted by Elvang on 2005-04-10 at 20:49:20
Thanks chuiu, everything seems to be working right again biggrin.gif
Next Page (1)