664a2693828f0
1 Hour
1 Day
1 Week
1 Month
Forever
Forgotten Password
Sign up
22 Guests, 1 Member
fox
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?
664a269382df9
1 Guest is here.
New topic
Topic:
Is there a way of getting the game to select from one of many sounds?
Read 657 times
664a26938319f
Jacob
#0
Report
15. June 2023, 20:00:07
664a269383209
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?
664a2693832ac
Jacob
#1
Report
15. June 2023, 20:00:51
664a2693832f6
Or music files, for that matter.
664a2693834ba
voodoo47
#2
Report
15. June 2023, 21:11:39
664a26938351f
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.
664a2693838bd
Jacob
#3
Report
15. June 2023, 21:21:14
664a26938392b
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?
664a269383a1f
voodoo47
#4
Report
15. June 2023, 21:57:02
664a269383a72
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.
664a269383c74
Jacob
#5
Report
16. June 2023, 01:18:30
664a269383cc7
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
Chaos. Good news.
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...
664a269383db2