View Single Post
Author Message
sdz
Senior Member
Join Date: Feb 2012
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