Commit Graph

22 Commits

Author SHA1 Message Date
Rykka Stormheart
a15329be0c [BUGFIX] Replaces middle ear ring loop with truly silent loop
I'd meant to get around to this for months, but work and life has been in the way.

I finally, finally have time and energy to start fixing shit.
2023-06-06 15:15:49 -07:00
Aroliacue
e60bb3d409 Fluff Mech Shoes 2023-04-22 13:46:28 +10:00
Rykka Stormheart
c4921dfdf7 Species Sounds Hotfix 2
Gives Cough/Sneeze/Gasp back default sounds if they lack one in their species list.
Fixes death sound doubling up.
Fixes runtime in sounds - it will now simply return null rather than trying to index the list and failing.
2023-03-28 21:01:49 -07:00
Rykka Stormheart
f8bbb5790d Merge branch 'master' into shep-dev-barky-noises 2023-03-10 01:54:26 -08:00
Razgriz
2bbc9a7154 Merge pull request #5843 from Rykka-Stormheart/shep-dev-cozy-dozy
Adds Sleep Music to Surgery/Cryo/Sleeper
2023-03-05 12:18:04 -07:00
Rykka Stormheart
0d28b7ca94 Timeclock Beep
Timeclocks will make a quiet beep when the card is inserted, and a similar one when the card is removed.

Demonstration [here](https://streamable.com/vk3j88).

Very lightweight. :3
2023-03-04 18:30:48 -08:00
Rykka Stormheart
da9c38b689 Merge remote-tracking branch 'upstream/master' into shep-dev-barky-noises 2023-03-04 16:01:30 -08:00
Rykka Stormheart
2982a7ca85 Adds Sleep Music to Surgery/Cryo/Sleeper
Plays quiet music when you have;
- An anesthetic mask on your face.
- Been put into a cryopod
- Been put into a sleeper

TBD: Maybe make sleeping do it, but iirc even dying does sleep.

There is a pref toggle for these under Preferences: "Sleeping Music"

Example [here](https://streamable.com/pls63y) of surgery being done. Volume is higher than normal, was adjusted down to 40%.
2023-03-04 15:56:56 -08:00
Rykka Stormheart
640a73cb06 Adds Deafened Feedback, enhances looping sounds further
Adds deafened ear ring that plays any time you're deafened, and fades back in once you can hear again.

Example of deafened feedback [here](https://streamable.com/8s8vlu). 

Worry not, if you're deafened via mutation or other, you'll simply go deaf, and only hear the fade-in once you regain hearing. 

It will also only play **once** when you are deafened. Further deafening effects while you are already deaf will not force you to hear it again.
2023-03-03 04:08:08 -08:00
Rykka Stormheart
9c80b225aa Update 2.0
- Technical: All sounds are now using a masterlist that is indexed via keypairs, saving on overhead and copypaste.
- Technical continued: Rather than defining sounds per species, go to sound.dm, add a define, following the above, then add your key + pair to species_sounds_map - for instance, `"Mouse" = mouse_sounds`. Easy as that.
- All mobs refer to this list rather than defining their own pain/etc sounds.
- All mobs can override death sounds with death_sound_override set to the sound (or sounds) of their choice.
- Added the following sound options: Lizard, Metroid, Mouse, Raccoon, Slime, Spider, Teshari, Vox, Vulpine, Xeno
- If Species Sound is set to "Unset", it will automatically grab the correct sounds for your gender *and* species, if those exist.
- For developers: set `gender_specific_species_sounds` to TRUE on your species, and set `species_sounds_[gender]` (fill in gender with your chosen gender) for it to fetch these sounds.
- Species can now control the volume that their emote sounds play at. Refer to the added variables in `species.dm` for details.
- Cough/Sneeze/Scream/Pain/Gasp/Death sounds are all now standardized and use the same procs to fetch sounds, cutting down on copy/paste and reducing changes for things to go wrong.
- Fixed multiple smaller bugs, the details of which elude me, in regards to 1.0/Original
- Ported Xeno scream/roar/pain/death sounds from TGMC.
- Deathgasp actually plays your death sound (TBD if this is too spammy).
2.1
- Technical: Fixed a runtime in get_default_species_sounds where it was trying to fetch from dummy mob rather than the player's preferences.
- Fixed an error where chat would not display the "this set does not have 'x' sounds!" message.
2023-03-01 23:55:19 -08:00
Rykka Stormheart
2940d67c4d Update 1.0
Refactors lists into #defines, promptly cries. This part is agony and still worked on.

Simplemobs can play injury sounds as well, selecting a sound based off a global list.
Pain emotes occur based on updatehealth(), with respect to silicons and such.
Pain emotes also occur at a 60% chance on traumatic shock.
Simplemobs can also play death sounds based off the species sounds lists.
Add Mouse, Robotic, Spider, None as options to the voice list.
Fixes runtime/bug with Silicons (borgs) trying to get species var.
2023-03-01 23:55:19 -08:00
Rykka Stormheart
6a837244da Sound Update: Pain/Scream/Gasp/Death Sounds
This PR adds the following sounds;
Death sounds
Scream sounds
Pain sounds
Gasp sounds

The sounds are organized into a category under character setup - navigate to the VORE tab and select one based on your preference. If Unset, or not chosen, it will default to whatever the icon base is for your species - for instance, Vulpkanin will get the Canine sounds.

Sounds are grouped into 4 major lists so far, with plans for more once I get more files;
Canine (Scream/Gasp/Death/Pain)
Feline (Scream/Gasp/Death/Pain)
Cervine (Scream/Death only)
Generic/Human (Scream/Gasp/Death/Pain)

Vulpkanin use Canine sounds. Tajaran use Feline. Humans get Generic/Human. Cervine is unset on any species, allowed to be taken by customs.
Vox have a pain sound.

This also enables **pain** emotes. These can be manually done with *pain, or triggered automatically on taking an injury. The pain trigger respects species pain mods - for instance, if you have Major Pain Tolerance, you'll hear yourself growl in pain far less than someone who has Intolerance.

Pain is **not** triggered by spicy food or hallucinations, as those two add halloss on directly. Only effects that apply damage will add on pain.

You can test out these sounds in the Character Setup panel. See [here](https://streamable.com/o9wr9g), and here:
![](https://i.imgur.com/JhbH6r3.png)

A demonstration of human sounds is available [here](https://streamable.com/hqwpel).
Canine sounds [here](https://streamable.com/41d0oj)
Demonstrations of it during combat [here](https://streamable.com/y4nxea) and [here](https://streamable.com/gj2gl3).

These can be muted by navigating to Sound and setting the Mob Injury Sounds variable, seen here:
![](https://i.imgur.com/4zblNmd.png)

Species that currently lack sounds have had their audible sounds disabled to prevent jarring human noises from playing on non-human species. This can be overridden upon request, but for now, it will serve as hopeful inspiration to encourage additional files.
2023-03-01 23:54:52 -08:00
BlackMajor
f602eb20b4 Merge branch 'master' into protean-rework 2022-12-19 18:27:08 +13:00
Heretical Lizard
0113a34738 adds the relevant things (#5402) 2022-12-17 16:59:53 -07:00
Razgriz
10a9efd4eb Infector (infection bot) update and sound 2022-11-25 04:03:19 -07:00
Razgriz
adad1245a1 New mob variants and cyber horror AI tweaks and sounds
New assets for upcoming Kara project. A few new additions to modular_chomp
-New gygax variant for Kara with sounds and text
-New drone variant for Kara with sounds and text
-Cyber horror mobs now have sounds
-Regular horror mob variant adds AI behavior and sounds.
-New weapon sounds under modular_chomp
2022-11-24 23:38:20 -07:00
BlackMajor
355c1f91b7 Merge branch 'master' into protean-rework 2022-10-01 19:58:22 +13:00
Darlantan
a84d9c68e3 cleanup, icon_stuff, tutorial, sound, balance tweaks 2022-09-27 02:20:10 -04:00
BlackMajor
5ece102a02 Merge branch 'master' into protean-rework 2022-05-12 14:24:51 +12:00
Rae
3a61e8fac6 initial commit 2022-05-09 14:58:55 +02:00
BlackMajor
10d12de3bb Proteans part 2 lets go 2022-04-27 22:04:40 +12:00
BlackMajor
beb962eac3 AE 2022-04-20 16:30:44 +12:00