Распаковать all.spawn и открыть любой alife_...ltx
[128]
; cse_abstract properties
section_name = inventory_box
name = sv_a2_actor_box
position = 12.6, 16.45, -412.3
direction = 0.0595819987356663, 0.000364000006811693, -0.00611399998888373
id = 65535
version = 128
script_version = 12
spawn_id = 4370
; cse_alife_object properties
game_vertex_id = 5
level_vertex_id = 657313
object_flags = 0xffffff3f
custom_data = <<END
[story_object]
story_id = sv_a2_actor_box
[level_spot]
actor_box
[logic]
cfg = scripts\actor_inventory_box.ltx
END
; cse_visual properties
visual_name = dynamics\equipment_cache\equipment_box_02_case
; cse_alife_inventory_box properties
tip = inventory_box_use
Такой вариант невидим, так что подгоняем под нужные объекты, либо меняем визуал.
Логика ящика:
[logic]
active = ph_idle@open
[ph_idle@open]
nonscript_usable = true
tips = actor_inventory_box_use
on_info = {=actor_in_zone(sv_a2_actor_box)} ph_idle@box
[ph_idle@box]
nonscript_usable = false
on_info = {!actor_in_zone(sv_a2_actor_box)} ph_idle@open
Автор: mminaill