97 lines
1.5 KiB
INI
97 lines
1.5 KiB
INI
filter:
|
|
{
|
|
"origin" "-664 456 7736"
|
|
"angles" "0 308 0"
|
|
"classname" "info_player_terrorist"
|
|
"hammerid" "863686"
|
|
}
|
|
|
|
|
|
|
|
;; _
|
|
|
|
;; level system
|
|
|
|
add:
|
|
{
|
|
"origin" "-10938 -100 40"
|
|
"targetname" "Difficulty"
|
|
"startvalue" "1"
|
|
"min" "1"
|
|
"max" "3"
|
|
"classname" "math_counter"
|
|
"OnGetValue" "Case,InValue,,0,1"
|
|
}
|
|
add:
|
|
{
|
|
"model" "*45"
|
|
"StartDisabled" "0"
|
|
"spawnflags" "1"
|
|
"origin" "249 1 7485"
|
|
"classname" "trigger_once"
|
|
"OnStartTouch" "DifficultyBrush,AddOutput,OnUser1 Difficulty:Add:1:0:-1,0,1"
|
|
}
|
|
add:
|
|
{
|
|
"model" "*45"
|
|
"targetname" "DifficultyBrush"
|
|
"vrad_brush_cast_shadows" "0"
|
|
"StartDisabled" "0"
|
|
"spawnflags" "2"
|
|
"Solidity" "0"
|
|
"solidbsp" "0"
|
|
"rendermode" "10"
|
|
"renderfx" "0"
|
|
"rendercolor" "255 255 255"
|
|
"renderamt" "255"
|
|
"origin" "-9432 466 -200"
|
|
"invert_exclusion" "0"
|
|
"InputFilter" "0"
|
|
"disableshadows" "1"
|
|
"disablereceiveshadows" "1"
|
|
"classname" "func_brush"
|
|
}
|
|
|
|
modify:
|
|
{
|
|
match:
|
|
{
|
|
"classname" "logic_auto"
|
|
"hammerid" "510622"
|
|
}
|
|
delete:
|
|
{
|
|
"OnMapSpawn" "Case,PickRandomShuffle,,0,-1"
|
|
}
|
|
insert:
|
|
{
|
|
"OnMapSpawn" "Difficulty,GetValue,,0.1,1"
|
|
"OnMapSpawn" "DifficultyBrush,FireUser1,,0,1"
|
|
}
|
|
}
|
|
modify:
|
|
{
|
|
match:
|
|
{
|
|
"targetname" "Case"
|
|
"classname" "logic_case"
|
|
}
|
|
delete:
|
|
{
|
|
"Case03" "Hard"
|
|
"Case02" "Medium"
|
|
"Case01" "Easy"
|
|
}
|
|
insert:
|
|
{
|
|
"Case03" "3"
|
|
"Case02" "2"
|
|
"Case01" "1"
|
|
"OnCase01" "com,Command,say *** EASY ***,40,1"
|
|
"OnCase02" "com,Command,say *** MEDIUM ***,40,1"
|
|
"OnCase03" "com,Command,say *** HARD ***,40,1"
|
|
}
|
|
}
|
|
|
|
|