Raised This Month: $32 Target: $400
 8% 

[HL2DM] Footsteps


Post New Thread Reply   
 
Thread Tools Display Modes
Author
sdz
Senior Member
Join Date: Feb 2012
Plugin ID:
6678
Plugin Version:
1
Plugin Category:
General Purpose
Plugin Game:
Half-Life 2 Deathmatch
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    this allows you to change the footstep sounds of teams around if you want
    Old 08-10-2019 , 16:06   [HL2DM] Footsteps
    Reply With Quote #1

    as title and description put it, there is really nothing else at play here
    you can set rebel footsteps to combine, combine to rebel, both to either

    if you want a reference on this, from sdk:

    CHL2MP_Player::GiveDefaultItems (source-sdk-2013)

    ive made it so that the teams receive their proper melee weapons as well, so that is not an issue
    cvars:
    Quote:
    this goes along with the cvars, so you know what to put in for the numbers:
    Code:
    enum 
    {
    	PLAYER_SOUNDS_CITIZEN = 0,
    	PLAYER_SOUNDS_COMBINESOLDIER, //1
    	PLAYER_SOUNDS_METROPOLICE, //2
    	PLAYER_SOUNDS_MAX //dont use this
    };
    // This file was auto-generated by SourceMod (v1.9.0.6281)
    // ConVars for plugin "hl2_footsteps.smx"


    // What footstep sound should combine use?
    // -
    // Default: "2"
    sm_combine_sounds "2"

    // What footstep sound should rebels use?
    // -
    // Default: "0"
    sm_rebel_sounds "0"
    source requires sdkhooks because valve
    Attached Files
    File Type: sp Get Plugin or Get Source (hl2_footsteps.sp - 545 views - 2.6 KB)

    Last edited by asherkin; 05-15-2020 at 12:34.
    sdz 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 23:16.


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