Staredit Network > Forums > Modding Discussion > Topic: Sfxdata.arr
Sfxdata.arr
Jun 10 2014, 9:50 pm
By: Pandut  

Jun 10 2014, 9:50 pm Pandut Post #1

I'm just a fish



Just stumbled upon this a bit ago. ExploLRG, ExploMED and ExploSM are some of the few sounds in starcraft that play off-screen (distanced). I was curious to see if I could make it so other sounds could play off-screen.

I experimented with a few sound effects basically by matching their "General Properties" to what it shows in the screencap. Lo and behold, in-game the edited sound effects are played off-screen. This is handy for sound people wanting to create a atmospheric battle system in a mod.

I don't know if this is already known but I felt the need to share.

Also, you can create more varied sound effects using the Pss dialogue files of units. With some Iscript editing, I gave the Terran Marine seven different firing sounds and they work perfectly in-game. Requires a little extra work but the results are well worth it.



None.

Jun 12 2014, 1:37 am Sand Wraith Post #2

she/her

1) What are the exact fields and their corresponding values to allow a sound to play off-screen?

2) What do you mean by more varied sound effects? Do you mean replacing the Pss sounds with different sounds, and then playing the corresponding sound IDs through iscript?




Jun 12 2014, 6:50 pm Pandut Post #3

I'm just a fish

Quote
1) What are the exact fields and their corresponding values to allow a sound to play off-screen?
Not 100% sure. All I know that if you look through Sfxdata.arr, a lot of the sound effects have different fields/values. I'm theorizing here, but I wager "Unknown4" deals with sounds playing off-screen as well as it's priority. ExploLRG has an "Unknown4" value of 40, ExploMED has 30 and ExploSM has 20. I've noticed that the sounds with "Unknown4 40" play louder then those with lesser values, though that could just be the volume of the actual sound file. Mere speculation.

The values are like what is shown in the screenshot I posted.

EDIT: I think I'm right. The Comsat scan sound has an Unknown4 value of 50, I dialed it down to 30 and it plays much quieter in-game. Same with the nuke.

Quote
2) What do you mean by more varied sound effects? Do you mean replacing the Pss sounds with different sounds, and then playing the corresponding sound IDs through iscript?
Yeah, that's what I meant. The Marine only uses one firing sound, but using the Pss dialogue files and having them play via Iscript edits you can add more. "Unknown2" is somehow related to dialogue files, all dialogue files have an "Unknown2" value of 34.

Post has been edited 1 time(s), last time on Jun 13 2014, 5:37 am by Pandut.



None.

Jun 13 2014, 3:32 pm Sand Wraith Post #4

she/her

Unknown2 may have something to do with global sound playing. Ex. A Marine always plays its Yes sounds at a certain volume.

May also have to do with the "Unit Responses" boolean value in the Sound options in-game. Further speculation is that the "Interface Volume" option in Sound may affect it.




Jun 13 2014, 8:38 pm O)FaRTy1billion[MM] Post #5

👻 👾 👽 💪

One may also have to do with the Mute Unit Speech sound volume.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: zzt, Roy