Jump to content
  • 0

How do I make decorate actors play sounds (Original Doom format)


Question

I've made two separate actor that are both meant to play sounds. I added the sounds and I defined them with SNDINFO but I can't get them to play. I have tried using Playsound but that doesn't work either. Does anybody know how to make actors playsounds?

Screenshots:

image.png.64b32ce07a6250e8dbf624d94366a248.png

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

A_Scream just plays "DeathSound", it doesn't need any argument. Check the Imp's death state for example.

Do you have LAMPSNAP defined in the SNDINFO?

Share this post


Link to post
  • 0

To call for the death sound you will need to call for A_Scream since your actor is not a projectile.

 

Same goes for the other one, since your actor is not a projectile spawned by something, it won't play the sound in the spawn state, nor it will play it in the see state because it is not a monster (I don't actually think it will ever be able to get to the see state at all).

So here you need to call for A_StartSound once and check for players in other means or make the actor an immovable monster like thing.

 

Share this post


Link to post
  • 0
1 hour ago, Kan3 said:

To call for the death sound you will need to call for A_Scream since your actor is not a projectile.

 

Same goes for the other one, since your actor is not a projectile spawned by something, it won't play the sound in the spawn state, nor it will play it in the see state because it is not a monster (I don't actually think it will ever be able to get to the see state at all).

So here you need to call for A_StartSound once and check for players in other means or make the actor an immovable monster like thing.

 

That's my problem I can't find any good posts on how to make a a_scream sound and how to add it to an actor.

Share this post


Link to post
  • 0
Posted (edited)
10 hours ago, Gothic said:

A_Scream just plays "DeathSound", it doesn't need any argument. Check the Imp's death state for example.

Do you have LAMPSNAP defined in the SNDINFO?

I have LAMPSNAP defined as lamp/death

image.png.aeb8cfd592580543ea0361a244d3fc7e.png
and the decorate file also uses lamp/death

image.png.27038f31478939a778edfdcc2b48679f.png

 

Edited by Magnus_Equus_Rosea

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...