Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Why doesn't the CHK WAV section include file duration of eac
Why doesn't the CHK WAV section include file duration of eac
Jul 20 2024, 8:25 pm
By: sethmachine  

Jul 20 2024, 8:25 pm sethmachine Post #1



The CHK WAV section only includes the path of the WAV file in the MPQ archive: http://www.staredit.net/wiki/index.php/Scenario.chk#.22WAV_.22_-_WAV_String_Indexes

However, the corresponding trigger actions for playing a wav file (http://www.staredit.net/wiki/index.php/Scenario.chk#Trigger_Actions_List) like 8 = Play WAV(Wav, WavTime) expect a duration of milliseconds for the WAV file to be played.

In the default GUI map editor, you can't normally choose a time, and instead it looks like the map editor implicitly gathers the millisecond duration of the file and adds it into the trigger action behind the scenes.

This is unfortunate, because it means to allow creating triggers related to WAV files, you have to have access to full MPQ archive in order to find out the WAV durations.

Am I wrong? Is the WAV duration stored somewhere else in the CHK sections? Would it be hacky to create an extra section in the CHK to store WAV file metadata like duration (or use an not commonly used section)?

Does anyone have insight into the design reasoning of this choice by Blizzard?



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:00 am]
l)ark_ssj9kevin -- hi jamal
[12:18 am]
Heinermann -- memes
[2026-4-28. : 10:08 pm]
NudeRaider -- skeet-skeet, motherfucker
[2026-4-28. : 4:24 pm]
Vrael -- NudeRaider
NudeRaider shouted: Vrael boy, if you're not careful I'll moderate your sorry ass too!
gotta catch me first! skeet skeet skeet
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
Please log in to shout.


Members Online: anoeth47, Moose