6646fa1b36e28
1 Hour
1 Day
1 Week
1 Month
Forever
Forgotten Password
Sign up
28 Guests, 0 Members
Home
Sign up
About
MOTHER
Search
Mobile
Home
»
Community
»
Helpdesk
»
Is there a way of getting the game to select from one of many sounds?
6646fa1b372ea
1 Guest is here.
New topic
Topic:
Is there a way of getting the game to select from one of many sounds?
Read 610 times
6646fa1b376bb
Jacob
#0
Report
15. June 2023, 20:00:07
6646fa1b37724
Say I wanted to create a mod that played one of three WAV files every time the player activated a Med Hypo instead of the default sound effect. Would that be possible?
6646fa1b377d7
Jacob
#1
Report
15. June 2023, 20:00:51
6646fa1b37823
Or music files, for that matter.
6646fa1b3799c
voodoo47
#2
Report
15. June 2023, 21:11:39
6646fa1b379ea
generally speaking, unless you are doing a direct file replacement, you should prepare for resistance.
so randomized sounds yes, but you would have to mess with sound schemas. you probably don't want to be doing that.
6646fa1b37c41
Jacob
#3
Report
15. June 2023, 21:21:14
6646fa1b37cad
voodoo47
Well, I'm not much of a modder, but I could try. For instance, the Med Sci music. I've located the WAV file, and I know how to overwrite it (I've tested it already). However, is it possible for me to modify the game so that it plays one of three versions I've personally added to the archive rather than the same one on a loop?
6646fa1b37d81
voodoo47
#4
Report
15. June 2023, 21:57:02
6646fa1b37dce
not sure about the songs, someone else will have to pitch in.
this seems kind of superfluous though, the song chunks already are randomized by the game iirc.
6646fa1b37fb9
Jacob
#5
Report
16. June 2023, 01:18:30
6646fa1b38007
voodoo47
Ah, well -- let's just say I have an unusual mod in mind, ha. I can't really say anymore.
And yes, hopefully! Perhaps I should submit this question in another thread.
1 Guest is here.
New topic
BA DUM TSSSH
Home
»
Community
»
Helpdesk
»
Is there a way of getting the game to select from one of many sounds?
Contact
SMF 2.0.19
|
SMF © 2016
,
Simple Machines
|
Terms and Policies
Green theme
Brown theme
Bright theme
Match OS theme
FEEP
Loading...
6646fa1b380f4