Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Footstep WAV issue
Footstep WAV issue
This topic is locked. You can no longer write replies here.
Apr 6 2014, 1:29 pm
By: Oh_Man  

Apr 6 2014, 1:29 pm Oh_Man Post #1

Find Me On Discord (Brood War UMS Community & Staredit Network)



Quote
Trigger("Player 1"){
Conditions:
Bring("Current Player", "Alexei Stukov (Ghost)", "Valefor Footsteps", Exactly, 0);
Switch("Plains 1-2", not set);
Switch("Plains 3-4", set);
Switch("Plains 5", set);
Switch("Switch20", not set);

Actions:
Move Location("Current Player", "Alexei Stukov (Ghost)", "Anywhere", "Valefor Footsteps");
Play WAV("staredit\\wav\\FS7.wav", 0);
Preserve Trigger();
Comment("FS1");


So I'm having this issue... basically the triggers are really simple: if player character is NOT in location X, move location X onto player and play FOOTSTEP sound.

It works fine, EXCEPT... there is this issue where once you STOP walking (stand still)... there will be a slight delay, and then a single foostep WAV will play. Based on my understanding of the triggers I have NO idea why it does this. -.-

Any insight?

Post has been edited 1 time(s), last time on Apr 6 2014, 2:46 pm by Oh_Man.




Apr 6 2014, 1:34 pm lil-Inferno Post #2

Just here for the pie

If I remember correctly, Starcraft is terrible at playing short wavs. I've experienced this problem before as well, and the solution is to use a longer sound. You can edit the footstep sound to have null noise at the end.




Apr 6 2014, 4:08 pm Oh_Man Post #3

Find Me On Discord (Brood War UMS Community & Staredit Network)

Yaeh man this fixed it, great work.

With things like this once again I question that underneath all the source code starcraft, in fact, runs on magic.

~~~~~~~~~~~~SOLVED~~~~~~~~~~~~




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[2026-7-26. : 11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Symmetry