98 lines
1.3 KiB
INI
98 lines
1.3 KiB
INI
; Set only humans to 100 hp on valkvang stage
|
|
modify:
|
|
{
|
|
match:
|
|
{
|
|
"targetname" "spawn_tele"
|
|
"classname" "trigger_teleport"
|
|
}
|
|
delete:
|
|
{
|
|
"OnStartTouch" "!activator,AddOutput,health 100,0,-1"
|
|
}
|
|
insert:
|
|
{
|
|
"OnStartTouch" "human,TestActivator,,0,-1"
|
|
}
|
|
}
|
|
|
|
modify:
|
|
{
|
|
match:
|
|
{
|
|
"targetname" "human"
|
|
"classname" "filter_activator_team"
|
|
}
|
|
insert:
|
|
{
|
|
"OnPass" "!activator,AddOutput,health 100,0,-1"
|
|
}
|
|
}
|
|
|
|
|
|
; Fix final door collision
|
|
modify:
|
|
{
|
|
match:
|
|
{
|
|
"targetname" "ds_escape_gate3"
|
|
"classname" "func_door_rotating"
|
|
}
|
|
replace:
|
|
{
|
|
"solidbsp" "1"
|
|
"ignoredebris" "0"
|
|
}
|
|
}
|
|
|
|
; Equip a player with all the needed guns when they take sword
|
|
modify:
|
|
{
|
|
match:
|
|
{
|
|
"classname" "trigger_once"
|
|
"targetname" "sword1_strip"
|
|
}
|
|
insert:
|
|
{
|
|
"OnTrigger" "human_equip,Use,,0.1,1"
|
|
}
|
|
}
|
|
modify:
|
|
{
|
|
match:
|
|
{
|
|
"classname" "point_template"
|
|
"targetname" "sword_temp"
|
|
}
|
|
delete:
|
|
{
|
|
"Template12" "sword1_bizon"
|
|
}
|
|
}
|
|
filter:
|
|
{
|
|
"classname" "weapon_p90"
|
|
"targetname" "sword1_bizon"
|
|
}
|
|
add:
|
|
{
|
|
"origin" "-184 12920 5753"
|
|
"classname" "game_player_equip"
|
|
"item_assaultsuit" "1"
|
|
"weapon_p90" "1"
|
|
"weapon_elite" "1"
|
|
"weapon_knife" "1"
|
|
"weapon_hegrenade" "1"
|
|
}
|
|
add:
|
|
{
|
|
"origin" "-184 12920 5753"
|
|
"targetname" "human_equip"
|
|
"classname" "game_player_equip"
|
|
"spawnflags" "1"
|
|
"item_assaultsuit" "1"
|
|
"weapon_p90" "1"
|
|
"weapon_elite" "1"
|
|
"weapon_hegrenade" "1"
|
|
} |