6655c2e5ac91a
1 Hour
1 Day
1 Week
1 Month
Forever
Forgotten Password
Sign up
40 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?
6655c2e5acf4b
1 Guest is here.
New topic
Topic:
Is there a way of getting the game to select from one of many sounds?
Read 705 times
6655c2e5ad2a9
Jacob
#0
Report
15. June 2023, 20:00:07
6655c2e5ad31c
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?
6655c2e5ad3d5
Jacob
#1
Report
15. June 2023, 20:00:51
6655c2e5ad425
Or music files, for that matter.
6655c2e5ad5a7
voodoo47
#2
Report
15. June 2023, 21:11:39
6655c2e5ad5f6
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.
6655c2e5ad8b0
Jacob
#3
Report
15. June 2023, 21:21:14
6655c2e5ad918
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?
6655c2e5ad9d1
voodoo47
#4
Report
15. June 2023, 21:57:02
6655c2e5ada1e
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.
6655c2e5adc2a
Jacob
#5
Report
16. June 2023, 01:18:30
6655c2e5adc80
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
No, nothing’s really solid here, although it may appear that way.
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...
6655c2e5ae971