mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 11:53:21 +00:00
Rename crescendostopper -> l4d2_crescendo_control
This commit is contained in:
parent
bf56127a36
commit
9b242f6cf0
3 changed files with 3 additions and 3 deletions
Binary file not shown.
BIN
plugins/l4d2_crescendo_control.smx
Normal file
BIN
plugins/l4d2_crescendo_control.smx
Normal file
Binary file not shown.
|
@ -18,9 +18,9 @@ static float lastButtonPressTime;
|
||||||
|
|
||||||
public Plugin myinfo =
|
public Plugin myinfo =
|
||||||
{
|
{
|
||||||
name = "Crescendo Stopper",
|
name = "L4D2 Crescendo Control",
|
||||||
author = "jackzmc",
|
author = "jackzmc",
|
||||||
description = "",
|
description = "Prevents players from starting crescendos early",
|
||||||
version = PLUGIN_VERSION,
|
version = PLUGIN_VERSION,
|
||||||
url = ""
|
url = ""
|
||||||
};
|
};
|
||||||
|
@ -34,7 +34,7 @@ public void OnPluginStart()
|
||||||
}
|
}
|
||||||
|
|
||||||
hPercent = CreateConVar("l4d2_crescendo_percent", "0.75", "The percent of players needed to be in range for crescendo to start", FCVAR_NONE);
|
hPercent = CreateConVar("l4d2_crescendo_percent", "0.75", "The percent of players needed to be in range for crescendo to start", FCVAR_NONE);
|
||||||
hRange = CreateConVar("l4d2_crescendo_range", "400.0", "How many units away something range brain no work", FCVAR_NONE);
|
hRange = CreateConVar("l4d2_crescendo_range", "150.0", "How many units away something range brain no work", FCVAR_NONE);
|
||||||
|
|
||||||
AddNormalSoundHook(view_as<NormalSHook>(SoundHook));
|
AddNormalSoundHook(view_as<NormalSHook>(SoundHook));
|
||||||
//dhook setup
|
//dhook setup
|
Loading…
Add table
Add a link
Reference in a new issue