All pastes #2133730 Raw Edit

danger scheme

public lua v1 · immutable
#2133730 ·published 2012-03-30 04:20 UTC
rendered paste body
Ignore danger if it is further than specified distance (in meters): ignore_distance = <number> { default: 150 } basic distance, if danger (no matter what type it is) is matched by value specified by this field then stalker won't react on danger ignore_distance_grenade = <number> { default: 15 } ignore grenade if it is further than specified value ignore_distance_corpse = <number> { default: 10 } ignore corpse if it is further than specified value ignore_distance_hit = <number> { default: 150 } ignore hit if enemy was shooting from further distance than specified value ignore_distance_sound = <number> { default: 50 } ignore danger sound if it is further than specified value ignore_types = <string_list> { default: "" } possible values: grenade | corpse | hit | sound comma-separated list of danger types which will be ignored by npc Wait specified amount of time before reaction on danger: danger_inertion_time_grenade = <number> { default: 20000 } danger_inertion_time_corpse = <number> { default: 10000 } danger_inertion_time_hit = <number> { default: 60000 } danger_inertion_time_sound = <number> { default: 15000 } danger_inertion_time_ricochet = <number> { default: 30000 } Examples:[walker@ignore_corpse]  danger = danger_condition@ignore_corpse     [danger_condition@ignore_corpse]  ignore_distance_corpse = 0     ;------------------------------------------     [walker@nades]  danger = danger_condition@nades     [danger_condition@nades]  ignore_distance_grenade = 10   danger_inertion_time_grenade = 10000     ;------------------------------------------     [walker@ignore_some_danger]  danger = danger@ignore     [danger@ignore]  ignore_types = corpse, sound   ignore_distance = 0