Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Flammable

SNDINFO question, random sounds for player.

Recommended Posts

Hello, i can not get, how to make a random player sounds? such as pain, death, "oof", and other. If you want to make a random sound for an actor it will look like this

$random tehmonstr/death { tehmonstr/death1 tehmonstr/death2 tehmonstr/death3 }

tehmonstr/death1 THMNSDH1
tehmonstr/death2 THMNSDH2
tehmonstr/death3 THMNSDH3

and when this monster die, he will make one of this death sounds. But how do i make random sounds for player???

Share this post


Link to post

Pretty much what you have there but replace tehmonstr with player instead I think.

$random player/death	{ pdth1 pdth2 pdth3 pdth4 }
pdth1 pldeath1
pdth2 pldeath2
pdth3 pldeath3
pdth4 pldeath4
$playeralias    player  male    *death      player/death
Example taken from the Particle Fire Enhancer mod.

Share this post


Link to post
PRIMEVAL said:

Pretty much what you have there but replace tehmonstr with player instead I think.

$random player/death	{ pdth1 pdth2 pdth3 pdth4 }
pdth1 pldeath1
pdth2 pldeath2
pdth3 pldeath3
pdth4 pldeath4
$playeralias    player  male    *death      player/death
Example taken from the Particle Fire Enhancer mod.


Thats work! Thanks, bro.

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
Sign in to follow this  
×