142 lines
2.8 KiB
TeX
142 lines
2.8 KiB
TeX
[beh@general]
|
|
;sound_idle = state
|
|
behavior_state = beh_move
|
|
target = waypoint
|
|
walk_dist = 100
|
|
jog_dist = 220
|
|
wait_anim = walk
|
|
walk_anim = walk
|
|
jog_anim = walk
|
|
run_anim = walk
|
|
delay_anim = guard
|
|
gather_items_enabled = false
|
|
help_wounded_enabled = false
|
|
corpse_detection_enabled = false
|
|
meet = no_meet
|
|
wounded = wounded@ignore
|
|
use_camp = false
|
|
|
|
[meet@general]
|
|
close_anim = nil
|
|
close_victim = nil
|
|
far_anim = nil
|
|
far_victim = nil
|
|
close_distance = 0
|
|
far_distance = 0
|
|
use = {=actor_enemy} false, {=dist_to_actor_le(3)} true, false
|
|
snd_on_use = {!dist_to_actor_le(3)} nil
|
|
meet_on_talking = false
|
|
|
|
[wounded@ignore]
|
|
hp_state = 0|wounded_heavy@help_heavy
|
|
hp_state_see = 0|wounded_heavy@help_heavy
|
|
hp_victim = 0|nil
|
|
hp_fight = 0|false
|
|
hp_cover = 0|false
|
|
|
|
; =======================
|
|
; ------------- DAY ---------------
|
|
; =======================
|
|
; guard west 1
|
|
[logic@mar_11_11_xcvb_day_1]
|
|
active = walker@day_1
|
|
suitable = {!surge_started !is_night} true
|
|
prior = 59
|
|
|
|
[walker@day_1]
|
|
path_walk = guard_1_walk
|
|
path_look = guard_1_look
|
|
|
|
|
|
; guard west 2
|
|
[logic@mar_11_11_xcvb_day_2]
|
|
active = walker@day_2
|
|
suitable = {!surge_started !is_night} true
|
|
prior = 59
|
|
|
|
[walker@day_2]
|
|
path_walk = guard_3_walk
|
|
path_look = guard_3_look
|
|
|
|
|
|
; guard north
|
|
[logic@mar_11_11_xcvb_day_3]
|
|
active = walker@day_3
|
|
suitable = {!surge_started !is_night} true
|
|
prior = 58
|
|
|
|
[walker@day_3]
|
|
path_walk = guard_2_walk
|
|
path_look = guard_2_look
|
|
|
|
|
|
|
|
; =======================
|
|
; ------------ NIGHT -------------
|
|
; =======================
|
|
; patrol
|
|
[logic@mar_11_11_xcvb_night_1]
|
|
active = walker@night_1
|
|
suitable = {!surge_started =is_night} true
|
|
prior = 59
|
|
|
|
[walker@night_1]
|
|
path_walk = walker_1_walk
|
|
path_look = walker_1_look
|
|
|
|
|
|
; guard west 1
|
|
[logic@mar_11_11_xcvb_night_2]
|
|
active = walker@night_2
|
|
suitable = {!surge_started =is_night} true
|
|
prior = 58
|
|
|
|
[walker@night_2]
|
|
path_walk = guard_1_walk
|
|
path_look = guard_1_look
|
|
|
|
|
|
; sleep 1
|
|
[logic@mar_11_11_xcvb_night_3]
|
|
active = beh@night_3
|
|
suitable = {!surge_started =is_night} true
|
|
prior = 59
|
|
|
|
[beh@night_3]:beh@general
|
|
pt1 = 45000, sleep | pos: 501.9, 3.7992, -150.5 look: 498.7207, 2.8129, -152.2903
|
|
path_end = loop
|
|
turn_on_campfire = true
|
|
|
|
|
|
; sleep 2
|
|
[logic@mar_11_11_xcvb_night_4]
|
|
active = beh@night_4
|
|
suitable = {!surge_started =is_night} true
|
|
prior = 58
|
|
|
|
[beh@night_4]:beh@general
|
|
pt1 = 45000, drunk_sit_ass | pos: 494.9, 3.7119, -156.1 look: 498.4277, 2.9478, -154.3581
|
|
path_end = loop
|
|
turn_on_campfire = true
|
|
|
|
|
|
; guard west 2
|
|
[logic@mar_11_11_xcvb_night_5]
|
|
active = walker@night_5
|
|
suitable = {!surge_started =is_night} true
|
|
prior = 57
|
|
|
|
[walker@night_5]
|
|
path_walk = guard_3_walk
|
|
path_look = guard_3_look
|
|
|
|
|
|
; sleep 3
|
|
[logic@mar_11_11_xcvb_night_6]
|
|
active = beh@night_6
|
|
suitable = {!surge_started =is_night} true
|
|
prior = 56
|
|
|
|
[beh@night_6]:beh@general
|
|
pt1 = 45000, lay_on_bed | pos: 499.1, 3.7952, -152.6 look: 499.4545, 2.7223, -155.5181
|
|
path_end = loop |