Dynamic Sound System

Post ideas & suggestions you have pertaining to the game here.
Post Reply
User avatar
PKodon
Militia Lieutenant
Militia Lieutenant
Posts: 127
Joined: Sat Apr 18, 2009 6:03 pm
Location: "Minocs. I've got a baaad feeling about this.... This is no cave!"

While discussing this mod:

http://www.xelerus.de/index.php?s=mod&id=922

with R_P_C (RPC) on IRC, we came up with the idea that perhaps support should be included in Vanilla Transcendence (or in the Official Transcendence Patch) for providing custom sounds for weapons (initially, perhaps for other things later), if present, with fallback to standard sounds when custom sounds are not present.

For instance, the game has a standard sound for lasers, this could be the "default" sound if there are no custom sounds present. If there is a custom sound present, in some category, then use that sound when firing the laser. Keep in mind that this is the firing sound of the weapon or launcher, not the sound of the impact, flight, or detonation of the projectile/beam/etc.

This could be further refined to include a tiered-approach, kind of like this:

Weapon-specific (replaces default sound for this weapon only - say X-Ray laser)
Corporate-specific (different sounds for, say, a Makayev launcher, and a similar launcher made by NAMI)
Weapon Class-specific (replaces sound for all lasers)

Somewhere in there, one could also probably have weapon level-based choice of sound, as well, (all kinetic weapons of Class IV or below sound like this).

The idea is to be able to support custom sound mods without having to overwrite vanilla weapons.

Anyway, I'm posting this here for discussion, before writing a ticket.

PK
"Don't ask ..., I don't wanna know, and I don't wanna care!" - PK
Meet us on IRC --> Image
"... the hornet battlepod is the closest we have ingame to flying into battle in a wheelbarrow
with a bathtub nailed upside down to the top of it to provide armor."
- The Shrike
shanejfilomena
Fleet Officer
Fleet Officer
Posts: 1533
Joined: Tue Mar 22, 2011 8:43 pm
Location: Alaska
Contact:

the switch is a good thing.....

Code: Select all

; If not found, return the closest media
						(sysPlaySound unid  theSource ".wav") ;(sysPlaySound unid [.mp3])???
do not plan on any code I come up with working: i usually have to beat them to death before they work or......die.
Flying Irresponsibly In Eridani......

I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

How about for the second tier (sounds based on weaponstype/damagetype) we could give a damagetype it's own Unid and specify a sound, calling that sound whenever that damagetype was used?
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
Ttech
Fleet Admiral
Fleet Admiral
Posts: 2767
Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:

So like a sounds directory? And a program that can do it?
Image
Image
Post Reply