Raised This Month: $51 Target: $400
 12% 

[ZR] Class Attribute Frag Sounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author
000
Member
Join Date: Jul 2022
Plugin ID:
8103
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    No source code / plugin, upload source and use the Report Post button for a new review.
    Old 07-07-2022 , 02:58   [ZR] Class Attribute Frag Sounds
    Reply With Quote #1

    Description:
    This plugin was intended to play the "infect sound" in other immunity modes (see playerclasses.txt).

    However, it's functionality has been extended to set "infect sounds" for each class as needed.
    This can be useful when you have different models on the server, which you'd like to emit different sounds.

    Also: Added to play sound to the attacker only (like in CS:GO Deathmatch).

    Note: If you intent to use it with immunity_mode "none", you have to disable the zrs_infect_sound / zr_infect_sound .

    Requirements:
    SourceMod 1.11+
    Zombie:Reloaded
    [ZR] Tools

    Installation:
    - Put all files from the release folder in your game root folder ("csgo", "cstrike", ...).
    - Reload map.

    If the plugin(s) are not working as intended, check your logs in addons/sourcemod/logs and report here (if available).
    If error logs are not available, report nevertheless.

    Configuration:
    This plugin, unlike plugins usually do, does not use any .cfg files and is purely configurable via playerclasses.txt.
    This means you can change values per playerclass.

    PHP Code:
    "frag_sounds_mode"        "0-2"            // 1 = Sound to play from "frag_sound", 2 = Sound to play from "frag_sound" + sound to play to all from "frag_sounds_all", 0 = disabled.
    "frag_sound"            "bell.wav"        // Sound to play to client (relative to the sound folder).
    "frag_sound_all"        "zr/scream_fz1.mp3"    // Sound to play to all clients, [i]emitted from client[/i] (relative to the sound folder). 
    Add these values to all playerclasses you have, anywhere you want.

    Put any sounds you'd like to use in sound/zr folder, as well as the path in configs/zr/downloads.txt.

    Changelog:
    Code:
    - v1.0
    • Initial release.
    - v1.1
    • Code improvements.
    - v1.2
    • Code improvements.

    Last edited by DarkDeviL; 06-15-2023 at 12:41. Reason: Restore to previous version.
    000 is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 12:57.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode