117 lines
1.9 KiB
INI
117 lines
1.9 KiB
INI
;----------------------------------------
|
|
; Fix Button Collision Quack Item.
|
|
;----------------------------------------
|
|
modify:
|
|
{
|
|
match:
|
|
{
|
|
"model" "*11"
|
|
"hammerid" "208567"
|
|
"classname" "func_button"
|
|
}
|
|
replace:
|
|
{
|
|
"classname" "func_physbox_multiplayer"
|
|
"spawnflags" "561152"
|
|
}
|
|
delete:
|
|
{
|
|
"OnPressed" "secretquack,PlaySound,,0,-1"
|
|
}
|
|
insert:
|
|
{
|
|
"OnPlayerUse" "!self,FireUser1,,0,1"
|
|
"OnUser1" "secretquack,PlaySound,,0,-1"
|
|
"OnUser1" "!self,AddOutput,OnPlayerUse !self:FireUser1::0:1,3,-1"
|
|
}
|
|
}
|
|
;----------------------------------------
|
|
; Add Teaming Prevention Slay.
|
|
;----------------------------------------
|
|
add:
|
|
{
|
|
"origin" "0 0 0"
|
|
"filterteam" "3"
|
|
"targetname" "filter_button"
|
|
"classname" "filter_activator_team"
|
|
"OnFail" "console,Command,say ***Zombies helping humans? Jesus you guys suck***,0,-1"
|
|
"OnFail" "player,SetHealth,0,0,-1"
|
|
}
|
|
//modify:
|
|
//{
|
|
// match: //First Button
|
|
// {
|
|
// "model" "*95"
|
|
// "hammerid" "117056"
|
|
// "classname" "func_button"
|
|
// }
|
|
// insert:
|
|
// {
|
|
// "OnPressed" "filter_button,TestActivator,,0,1"
|
|
// }
|
|
//}
|
|
modify:
|
|
{
|
|
match: //Second Button
|
|
{
|
|
"model" "*97"
|
|
"hammerid" "117081"
|
|
"classname" "func_button"
|
|
}
|
|
insert:
|
|
{
|
|
"OnPressed" "filter_button,TestActivator,,0,1"
|
|
}
|
|
}
|
|
modify:
|
|
{
|
|
match: //Third Button
|
|
{
|
|
"model" "*99"
|
|
"hammerid" "117104"
|
|
"classname" "func_button"
|
|
}
|
|
insert:
|
|
{
|
|
"OnPressed" "filter_button,TestActivator,,0,1"
|
|
}
|
|
}
|
|
modify:
|
|
{
|
|
match: //Fourth Button
|
|
{
|
|
"model" "*101"
|
|
"hammerid" "117136"
|
|
"classname" "func_button"
|
|
}
|
|
insert:
|
|
{
|
|
"OnPressed" "filter_button,TestActivator,,0,1"
|
|
}
|
|
}
|
|
modify:
|
|
{
|
|
match: //Fifth Button
|
|
{
|
|
"model" "*116"
|
|
"hammerid" "117529"
|
|
"classname" "func_button"
|
|
}
|
|
insert:
|
|
{
|
|
"OnPressed" "filter_button,TestActivator,,0,1"
|
|
}
|
|
}
|
|
modify:
|
|
{
|
|
match: //Sixth Button
|
|
{
|
|
"model" "*61"
|
|
"hammerid" "147420"
|
|
"classname" "func_button"
|
|
}
|
|
insert:
|
|
{
|
|
"OnPressed" "filter_button,TestActivator,,0,1"
|
|
}
|
|
} |