stripper-configs/maps/ze_metro2033_v1_fix.cfg

148 lines
2.1 KiB
INI
Executable File

;; _
;; disable bhop
modify:
{
match:
{
"classname" "logic_auto"
"hammerid" "179109"
}
insert:
{
"OnMapSpawn" "Server,Command,sv_enablebunnyhopping 0,0,-1"
}
}
;; fix medkit
modify:
{
match:
{
"targetname" "item_medkit_pistol"
"classname" "weapon_elite"
}
replace:
{
"OnPlayerPickup" "!activator,AddOutput,targetname player_medkit,0,-1"
}
}
;; fix afk teleport
modify:
{
match:
{
"targetname" "afk_zone_1"
"classname" "trigger_teleport"
}
insert:
{
"target" "afk_zone_dest"
}
}
add:
{
"targetname" "afk_zone_2_teleport"
"target" "afk_zone_2_dest"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "132 6943.5 -3521"
"classname" "trigger_teleport"
"OnUser1" "!self,AddOutput,solid 2,0,1"
"OnUser1" "!self,AddOutput,mins -1468 -623.5 -119,0.1,1"
"OnUser1" "!self,AddOutput,maxs 1468 623.5 119,0.1,1"
}
modify:
{
match:
{
"classname" "logic_auto"
"hammerid" "179109"
}
insert:
{
"OnMapSpawn" "afk_zone_2_teleport,FireUser1,,0.1,1"
}
}
;; prevent door from being blocked by ct's
add:
{
"model" "*16"
"StartDisabled" "1"
"targetname" "grate_hurt"
"spawnflags" "1"
"origin" "896 10819 -3536.22"
"nodmgforce" "0"
"filtername" "filter_humans"
"damagetype" "256"
"damagemodel" "0"
"damagecap" "20"
"damage" "30"
"classname" "trigger_hurt"
}
modify:
{
match:
{
"targetname" "grate_door_door"
"classname" "func_door_rotating"
}
replace:
{
"dmg" "1000"
}
insert:
{
"OnFullyOpen" "grate_hurt,Disable,,0,1"
}
}
modify:
{
match:
{
"targetname" "grate_door_return"
"classname" "info_teleport_destination"
}
replace:
{
"origin" "896 10592 -3584"
}
}
;; open door by a timer if triggerer delaying/ztele'd/suicided
modify:
{
match:
{
"targetname" "grate_door_tp1"
"origin" "896 10808 -3536.22"
"classname" "trigger_teleport"
}
insert:
{
"OnStartTouch" "grate_hurt,Enable,,0.5,1"
"OnStartTouch" "grate_door_door,Open,,40,1"
"OnStartTouch" "grate_antidelay,Enable,,40,1"
}
}
add:
{
"model" "*45"
"targetname" "grate_antidelay"
"target" "grate_door_return"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "900 11398 -4116"
"classname" "trigger_teleport"
}