87 lines
5.2 KiB
Plaintext
87 lines
5.2 KiB
Plaintext
|
;;====================================================================================================================;;
|
||
|
;; ;;
|
||
|
;; Original Author(s) : NLTP_ASHES ;;
|
||
|
;; Edited : N/A ;;
|
||
|
;; Date : 12/11/2023 ;;
|
||
|
;; License : Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) ;;
|
||
|
;; ;;
|
||
|
;; NPC logic config file used for Williams Heades. ;;
|
||
|
;; ;;
|
||
|
;;====================================================================================================================;;
|
||
|
|
||
|
;;====================================================================================================================;;
|
||
|
;;==================| Logic Extension (GhenTuong's xr_logic_ex.script) |==============================================;;
|
||
|
;;====================================================================================================================;;
|
||
|
|
||
|
[section@squad]
|
||
|
target@base = pri_a18_smart_terrain
|
||
|
|
||
|
[section@logic]
|
||
|
logic@western_goods_trader
|
||
|
|
||
|
;;====================================================================================================================;;
|
||
|
;;==================| Logic |=========================================================================================;;
|
||
|
;;====================================================================================================================;;
|
||
|
|
||
|
[logic@western_goods_trader]
|
||
|
suitable = {=check_npc_name(stalker_western_goods_trader)} true
|
||
|
prior = 140
|
||
|
active = beh@stand
|
||
|
level_spot = quest_npc
|
||
|
trade = items\trade\trade_western_goods_trader.ltx
|
||
|
relationship = neutral
|
||
|
dont_keep_items = true
|
||
|
net_spawn = pt1
|
||
|
|
||
|
;backwards compat
|
||
|
[logic@stalker_western_goods_trader]:logic@western_goods_trader
|
||
|
|
||
|
;;====================================================================================================================;;
|
||
|
;;==================| Scheme |========================================================================================;;
|
||
|
;;====================================================================================================================;;
|
||
|
|
||
|
[beh@general]
|
||
|
behavior_state = beh_move
|
||
|
|
||
|
target = waypoint
|
||
|
walk_dist = 100
|
||
|
jog_dist = 220
|
||
|
|
||
|
walk_anim = walk
|
||
|
jog_anim = rush
|
||
|
run_anim = rush
|
||
|
|
||
|
gather_items_enabled = false
|
||
|
help_wounded_enabled = false
|
||
|
corpse_detection_enabled = false
|
||
|
invulnerable = true
|
||
|
relationship = neutral
|
||
|
meet = meet@base
|
||
|
before_hit = invulnerable
|
||
|
|
||
|
enemy_ignore_cond = {!is_enemy_actor !fighting_dist_le(40)} true
|
||
|
combat_ignore_cond = {=is_warfare} false, {=actor_true_enemy =check_enemy_name(actor)} false, true
|
||
|
combat_ignore_keep_when_attacked = {=is_warfare} false, true
|
||
|
|
||
|
[beh@stand]:beh@general
|
||
|
pt1 = 25000, smoking_stand | pos:-166.6178894043,6.8274946212769,-343.42572021484 look:-166.06583356857,6.8274946212769,-344.25690186024
|
||
|
pt2 = 25000, smoking_stand | pos:-166.6178894043,6.8274946212769,-343.42572021484 look:-166.06583356857,6.8274946212769,-344.25690186024
|
||
|
pt3 = 25000, fold_arms | pos:-166.6178894043,6.8274946212769,-343.42572021484 look:-166.06583356857,6.8274946212769,-344.25690186024
|
||
|
pt4 = 25000, fold_arms | pos:-166.6178894043,6.8274946212769,-343.42572021484 look:-166.06583356857,6.8274946212769,-344.25690186024
|
||
|
path_end = loop
|
||
|
|
||
|
;;====================================================================================================================;;
|
||
|
;;==================| Meet |==========================================================================================;;
|
||
|
;;====================================================================================================================;;
|
||
|
|
||
|
[meet@base]
|
||
|
close_snd_hello = meet_hello
|
||
|
close_snd_bye = nil
|
||
|
close_anim = nil
|
||
|
close_victim = nil
|
||
|
close_distance = 0
|
||
|
far_anim = nil
|
||
|
far_victim = nil
|
||
|
far_distance = 0
|
||
|
meet_on_talking = false
|
||
|
use = true
|