;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;FIX END NUKE DELAY
;-------------------

modify:
{
	match:
	{
		"classname" "path_track"
		"targetname" "z_7"
		"origin" "-3056 3648 960"
		"hammerid" "6948"
	}
	insert:
	{
		"OnPass" "end_2,AddOutput,damage 100000,5,1"
	}
}

;----------------------
;FIX TELEPORT GLITCHES
;----------------------

modify:
{
	match:
	{
		"classname" "path_track"
		"targetname" "z_7"
		"origin" "-3056 3648 960"
		"hammerid" "6948"
	}
	insert:
	{
		"OnPass" "t_1,Enable,,2,1"
		"OnPass" "t_2,Enable,,2.1,1"
	}
}
modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "d_3"
		"origin" "1096 -48 26"
		"hammerid" "8028"
	}
	delete:
	{
		"OnTrigger" "tele_ze,KillHierarchy,,21,-1"
	}
	insert:
	{
		"OnTrigger" "tele_ze,KillHierarchy,,27,-1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_teleport"
		"targetname" "tele_ze"
		"origin" "-3114.5 5667.5 -1344"
		"model" "*182"
		"hammerid" "720550"
	}
	insert:
	{
		"filtername" "zombie_filter"
	}
}

;Increase nuke damage
modify:
{
	match:
	{
		"classname"	"trigger_hurt"
		"targetname"	"end_2"
	}
	replace:
	{
		"damage"	"5000"
	}
}

; No early break fence

modify:
{
    match:
    {
        "origin" "-2715 3232 111"
        "classname" "func_breakable"
    }
	replace:
    {
        "spawnflags" "1"
    }
    insert:
	{
		"targetname" "last_breakable"
	}
}
modify:
{
    match:
    {
        "targetname" "m_4"
        "classname" "func_movelinear"
    }
    insert:
	{
		"OnFullyOpen" "last_breakable,Break,,0,1"
	}
}

;stripper by encap
;; players can't block elevators
 
modify:
{
	match:
	{
		"targetname" "a_1"
		"classname" "func_movelinear"
	}
	replace:
	{
		"blockdamage" "1000"
	}
}
modify:
{
	match:
	{
		"targetname" "m_3"
		"classname" "func_movelinear"
	}
	replace:
	{
		"blockdamage" "1000"
	}
}
modify:
{
	match:
	{
		"targetname" "m_4"
		"classname" "func_movelinear"
	}
	replace:
	{
		"blockdamage" "1000"
	}
}
modify:
{
	match:
	{
		"targetname" "m_5"
		"classname" "func_movelinear"
	}
	replace:
	{
		"blockdamage" "1000"
	}
}
modify:
{
	match:
	{
		"targetname" "m_6"
		"classname" "func_movelinear"
	}
	replace:
	{
		"blockdamage" "1000"
	}
}
 
;; additional nuke/afk tp fix
 
modify:
{
	match:
	{
		"targetname" "kill3"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "point_r_2,KillHierarchy,,0,-1"
	}
}
 
add:
{
	"model" "*86"
	"targetname" "u_30"
	"target" "u_30a"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "4588 4355 1352"
	"classname" "trigger_teleport"
}

;; flamethrower fixes

filter:
{
	"targetname" "sound2"
	"hammerid" "782431"
}

modify:
{
	match:
	{
		"targetname" "ent7"
		"classname" "info_particle_system"
	}
	replace:
	{
		"effect_name" "muzzle_machinegun"
	}
}
modify:
{
	match:
	{
		"targetname" "sound1"
		"classname" "ambient_generic"
	}
	insert:
	{
		"SourceEntityName" "ignite2"
	}
}

add:
{
	"origin" "1823 1547 383"
	"targetname" "flame_relay"
	"StartDisabled" "0"
	"spawnflags" "0"
	"classname" "logic_relay"
	"OnTrigger" "lanza_c,Compare,,0,-1"
	"OnTrigger" "!self,FireUser1,,1.05,-1"
}
modify:
{
	match:
	{
		"targetname" "physbox"
		"classname" "func_physbox_multiplayer"
	}
	delete:
	{
		"OnPlayerUse" "lanza_c,Compare,,0,-1"
	}
	insert:
	{
		"OnPlayerUse" "flame_relay,Trigger,,0,-1"
	}
}

;; music volume

modify:
{
	match:
	{
		"message" "ze_bio_1/33 - save reb.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#ze_bio_1/33 - save reb.mp3"
	}
}
modify:
{
	match:
	{
		"message" "ze_bio_1/ze_biohazard_01.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#ze_bio_1/ze_biohazard_01.mp3"
	}
}
modify:
{
	match:
	{
		"message" "ze_bio_1/resident evil 1 - 18 - more rooms.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#ze_bio_1/resident evil 1 - 18 - more rooms.mp3"
	}
}
modify:
{
	match:
	{
		"message" "ze_bio_1/resident evil orchestral - 02 - re1 - i won't finish this just as a dream.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#ze_bio_1/resident evil orchestral - 02 - re1 - i won't finish this just as a dream.mp3"
	}
}


