add:
{
	"origin" "-232 4544 72"
	"targetname" "TheCurrentLevelPlugin"
	"min" "1"
	"max" "3"
	"startvalue" "1"
	"classname" "math_counter"
}

modify:
{
	match:
	{
		"targetname" "normaldiff_settings"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,1,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "harddiff_settings"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,2,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "extreamdiff_settings"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,3,0,1"
	}
}

;--------------
;FIX TREX HURT
;--------------


modify:
{
	match:
	{
		"targetname" "trexhitbased1"
		"classname" "math_counter"
	}
	insert:
	{
		"OnHitMin" "trexleghurter,Kill,,0,-1"
		"OnHitMin" "trexheadbuttpushhurter,Kill,,0,-1"
		"OnHitMin" "trexheadbuttpush,Kill,,0,-1"
	}
}

;	STRIPPER BY ENCAP
; changed logic for zombie tp to prevent their early release
 
modify:
{
	match:
	{
		"origin" "-1032 168 128"
		"classname" "trigger_once"
		"hammerid" "81526"
	}
	delete:
	{
		"OnStartTouch" "powergencagedoor01,Open,,35,1"
	}
}
modify:
{
	match:
	{
		"origin" "-1452 -60 98"
		"classname" "func_button"
		"hammerid" "81591"
	}
	insert:
	{
		"OnPressed" "powergencagedoor01,Open,,30,1"
	}
}

;stripper by encap

; fix elevator doors
 
modify:
{
	match:
	{
		"targetname" "lift01path1"
		"classname" "path_track"
	}
	delete:
	{
		"OnPass" "lift01levgdoor2,Open,,5,1"
		"OnPass" "lift01levgdoor1,Open,,5,1"
	}
	insert:
	{
		"OnPass" "lift01levgdoor2,Open,,5,-1"
		"OnPass" "lift01levgdoor1,Open,,5,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "lift01button"
		"classname" "func_button"
	}
	insert:
	{
		"OnPressed" "lift01levgdoor1,Close,,0,1"
		"OnPressed" "lift01levgdoor2,Close,,0,1"
		"OnPressed" "lift01stuckdoors1,Close,,0,1"
		"OnPressed" "lift01stuckdoors2,Close,,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "lift02path1"
		"classname" "path_track"
	}
	delete:
	{
		"OnPass" "lift02levgdoor2,Open,,5,1"
		"OnPass" "lift02levgdoor1,Open,,5,1"
	}
	insert:
	{
		"OnPass" "lift02levgdoor2,Open,,5,-1"
		"OnPass" "lift02levgdoor1,Open,,5,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "lift02button"
		"classname" "func_button"
	}
	insert:
	{
		"OnPressed" "lift02levgdoor1,Close,,0,1"
		"OnPressed" "lift02levgdoor2,Close,,0,1"
		"OnPressed" "lift02stuckdoors1,Close,,0,1"
		"OnPressed" "lift02stuckdoors2,Close,,0,1"
	}
}

;; music volume

modify:
{
	match:
	{
		"message" "custommapsounds/jpark.wav"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#custommapsounds/jpark.wav"
	}
}
modify:
{
	match:
	{
		"message" "custommapsounds/rescuing_sarah.wav"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#custommapsounds/rescuing_sarah.wav"
	}
}
modify:
{
	match:
	{
		"message" "custommapsounds/soundtrackHatchingBabyRaptor.wav"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#custommapsounds/soundtrackHatchingBabyRaptor.wav"
	}
}

;; ???

modify:
{
	match:
	{
		"origin" "3592 9880 136"
		"model" "models/props_vehicles/jp01.mdl"
		"classname" "prop_dynamic_override"
	}
	replace:
	{
		"origin" "3592 9880 140"
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
	insert:
	{
		"targetname" "car1"
	}
}
modify:
{
	match:
	{
		"origin" "3328 9880 136"
		"model" "models/props_vehicles/jp01.mdl"
		"classname" "prop_dynamic_override"
	}
	replace:
	{
		"origin" "3328 9880 140"
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
	insert:
	{
		"targetname" "car2"
	}
}
modify:
{
	match:
	{
		"origin" "3683.47 9879.93 130.591"
		"classname" "env_spark"
	}
	insert:
	{
		"targetname" "car_spark"
	}
}

add:
{
	"model" "*101"
	"wheels" "300"
	"volume" "10"
	"velocitytype" "0"
	"targetname" "car_train"
	"target" "car_path1"
	"startspeed" "150"
	"speed" "0"
	"spawnflags" "651"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "3569 98780 136"
	"orientationtype" "1"
	"MoveSoundMinTime" "0"
	"MoveSoundMinPitch" "60"
	"MoveSoundMaxTime" "0"
	"MoveSoundMaxPitch" "200"
;;	"MoveSound" "vehicles\apc\apc_cruise_loop3.wav"
	"height" "10"
	"dmg" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"bank" "0"
	"classname" "func_tracktrain"
}
add:
{
	"origin" "3569 9880 136"
	"targetname" "car_path1"
	"target" "car_path2"
	"speed" "0"
	"spawnflags" "0"
	"radius" "0"
	"orientationtype" "1"
	"angles" "0 0 0"
	"classname" "path_track"
}
add:
{
	"origin" "7300 9881 136"
	"targetname" "car_path2"
	"speed" "0"
	"spawnflags" "0"
	"radius" "0"
	"orientationtype" "1"
	"angles" "0 0 0"
	"classname" "path_track"
}

add:
{
	"model" "*101"
	"targetname" "player_counter"
	"origin" "1915 12684 526"
	"classname" "game_zone_player"
	"OnPlayerOutZone" "player_count,Add,1,0,-1"
}
add:
{
	"origin" "1915 12684 626"
	"targetname" "player_count"
	"StartDisabled" "0"
	"startvalue" "0"
	"min" "0"
	"max" "50"
	"classname" "math_counter"
	"OnHitMax" "car_case,PickRandom,,0,1"
}
add:
{
	"origin" "1915 12684 636"
	"targetname" "car_case"
	"classname" "logic_case"
	"OnCase01" "car_case,FireUser1,,0,1"
	"OnCase02" "car_case,FireUser1,,0,1"
	"OnCase03" "car1,SetParent,car_train,0,1"
	"OnCase03" "car_spark,StopSpark,,0,1"
	"OnCase03" "visdoor01,AddOutput,OnFullyOpen car_train:StartForward::0:1,0,1"
	"OnCase03" "visdoor01,AddOutput,OnFullyOpen car2:SetParent:car_train:1:1,0,1"
	"OnCase03" "visdoor01,AddOutput,OnFullyOpen car1:ClearParent::23:1,0,1"
	"OnCase03" "visdoor01,AddOutput,OnFullyOpen car2:ClearParent::24:1,0,1"
}

modify:
{
	match:
	{
		"targetname" "trexhitbased1"
		"classname" "math_counter"
	}
	insert:
	{
		"OnHitMin" "player_counter,CountPlayersInZone,,2.75,1"
	}
}

;; music volume

modify:
{
	match:
	{
		"message" "custommapsounds/jpark.wav"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#custommapsounds/jpark.wav"
	}
}
modify:
{
	match:
	{
		"message" "custommapsounds/rescuing_sarah.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#custommapsounds/rescuing_sarah.mp3"
	}
}
modify:
{
	match:
	{
		"message" "custommapsounds/soundtrackHatchingBabyRaptor.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#custommapsounds/soundtrackHatchingBabyRaptor.mp3"
	}
}
