Search the Community
Showing results for tags 'cosmetic'.
-
Version 1.0.5
68 downloads
Introducing WoundedNPC — where NPCs don't just die; they make a scene! Watch in amusement as your NPCs go from tough guys to crybabies, collapsing and crying out in pain. They'll lie there, whining and wailing, giving you a show worth watching! Perfect for adding a touch of humor to your Rust world. Your NPCs will now collapse similar to players, with customizable scream (or other sound of your choice!) with a configurable chance to get back up for a second chance. Get ready for the most entertaining and theatrical NPC deaths ever with WoundedNPC! Features: NPCs will enter a wounded state Configurable % chance for them to get back up Configurable wounded timer for them Configurable scream sounds Lightweight format sounds stored in data for minimal delay Automatically checks if screams listed in config exist, if not, it's downloaded. Ability to exclude specific NPCs by either prefab path, or partial name matching (useful to exclude zombies or any other NPC which you wish to die immediately) Notes: Dependency plugin - TapeLibrary by Nikedemos - Included 5 scream sound files included Audio file format .ogg Mono channel (can convert mp3 to a mono .ogg here , then upload to a file host of your choice ensuring link leads directly to downloading the file) Sound Loops - worth ensuring your wounded timer is around the same length as sound files. Example config { "Enabled: ": true, // can disable the plugin features from the config if needed "Wounded timer: ": 20, // how long will the NPC stay in wounded state "Chance to die after wounded timer: ": 50, // percentage chance NPC will NOT get back up after being wounded "NPC Prefab paths to exclude: ": [], // can exclude an entire prefab path for an npc (eg for scarecrow) "Exclude NPC where their displayname contains: ": [ "Marauder", "Zombie" ], // can exclude NPCs by their full or partial display name. "Boombox Prefab Path: ": "assets/prefabs/voiceaudio/boombox/boombox.deployed.prefab", // don't need to touch unless boombox prefab path ever changes or there's a new boombox type item introduced. "Wounded Sounds URLs: ": [ "https://www.dropbox.com/scl/fi/vyhsne1efaictwl39oqgu/Scream-Medium-C1-www.fesliyanstudios.com.ogg?rlkey=7ae1rnbtwj662puo874t823y6&st=svp1qa0x&dl=1", "https://www.dropbox.com/scl/fi/j6zo85v7uuwje4scenmm3/longpain1.ogg?rlkey=7cmumo9z40no1xkdzkcwzxl36&st=gef2dhc7&dl=1", "https://www.dropbox.com/scl/fi/gb2jkxu1gxfsqjxmtum32/longpain2.ogg?rlkey=81iwgqqw9j26t7f7vfbzg1diw&st=f5s5k1to&dl=1", "https://www.dropbox.com/scl/fi/04o1ukje93tly4rjx9dvu/longpain3.ogg?rlkey=cjkv5ks97307yadnah0pvua8b&st=ns0tqygh&dl=1", "https://www.dropbox.com/scl/fi/e6ey5eqevqwey43b16xj2/longpain4.ogg?rlkey=28vksom5xd5o82rhvy5kmiaj7&st=wgo8v7ue&dl=1" ], // Direct URL to scream sound files "Enable Debug Messages: ": true // debug messages in console. Turn off to reduce spam. Turn on for troubleshooting }$16.98