Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
SilverHawaiin

How do I play a certain sound when a player dies?

Question

I'm making I guess what you would call a Joke Wad (NOT A TERRY WAD, its more of like a really abstract obstacle course that is made to frustrate you) , How do you make any sound effect play when the player dies?

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

Replace DSPLDETH

 

Spoiler

Rv5zoNt.png

 

with another sound, but retain the name.

If vanilla DOOM then also retain the DOOM sound format.

 

Edited by Kappes Buur

Share this post


Link to post
  • 0

You could also just set up a DEATH script type to run in LOADACS and play the sound in that.

Share this post


Link to post
  • 0

You could also create a custom player class and add a

A_PlaySound("MYSOUND")


in one the Death frames.

MYSOUND would also need to be defined in a SNDINFO lump like this:

MYSOUND MYSOUND

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×