145 lines
2.6 KiB
INI
145 lines
2.6 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"
|
|
}
|
|
|
|
;so people don't get stuck when falling down the well (collision)
|
|
modify:
|
|
{
|
|
match:
|
|
{
|
|
"targetname" "ds_way_3way_case"
|
|
"classname" "logic_case"
|
|
}
|
|
delete:
|
|
{
|
|
"OnCase01" "!activator,AddOutput,origin 5560 -13648 -7858,0,-1"
|
|
"OnCase02" "!activator,AddOutput,origin 13024 -13488 -8826,0,-1"
|
|
}
|
|
insert:
|
|
{
|
|
"OnCase01" "!activator,AddOutput,origin 5532 -13712 -7976,0,-1"
|
|
"OnCase02" "!activator,AddOutput,origin 5532 -13648 -7976,0,-1"
|
|
"OnCase03" "!activator,AddOutput,origin 5532 -13584 -7976,0,-1"
|
|
"OnCase04" "!activator,AddOutput,origin 5608 -13712 -7976,0,-1"
|
|
"OnCase05" "!activator,AddOutput,origin 5608 -13648 -7976,0,-1"
|
|
"OnCase06" "!activator,AddOutput,origin 5608 -13584 -7976,0,-1"
|
|
"OnCase07" "!activator,AddOutput,origin 13052 -13420 -8940,0,-1"
|
|
"OnCase08" "!activator,AddOutput,origin 13052 -13484 -8940,0,-1"
|
|
"OnCase09" "!activator,AddOutput,origin 13052 -13548 -8940,0,-1"
|
|
"OnCase10" "!activator,AddOutput,origin 12976 -13420 -8940,0,-1"
|
|
"OnCase11" "!activator,AddOutput,origin 12976 -13484 -8940,0,-1"
|
|
"OnCase12" "!activator,AddOutput,origin 12976 -13548 -8940,0,-1"
|
|
}
|
|
}
|
|
|
|
;Nerf ZM Spears
|
|
|
|
modify:
|
|
{
|
|
match:
|
|
{
|
|
"classname" "trigger_hurt"
|
|
"targetname" "zspear1_hurt"
|
|
}
|
|
replace:
|
|
{
|
|
"damage" "80"
|
|
"damagecap" "80"
|
|
}
|
|
}
|