664ad2ff32878
1 Hour
1 Day
1 Week
1 Month
Forever
Forgotten Password
Sign up
14 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?
664ad2ff32d38
1 Guest is here.
New topic
Topic:
Is there a way of getting the game to select from one of many sounds?
Read 666 times
664ad2ff330eb
Jacob
#0
Report
15. June 2023, 20:00:07
664ad2ff33159
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?
664ad2ff33216
Jacob
#1
Report
15. June 2023, 20:00:51
664ad2ff3326d
Or music files, for that matter.
664ad2ff33436
voodoo47
#2
Report
15. June 2023, 21:11:39
664ad2ff3348a
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.
664ad2ff33782
Jacob
#3
Report
15. June 2023, 21:21:14
664ad2ff337e3
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?
664ad2ff338cd
voodoo47
#4
Report
15. June 2023, 21:57:02
664ad2ff33925
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.
664ad2ff33b3b
Jacob
#5
Report
16. June 2023, 01:18:30
664ad2ff33b9a
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
What we're dealing with here is a total lack of respect for the law.
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...
664ad2ff33cd0