Расспаковываем all.spawn находим файл alife_zaton.ltx
Пишим в самом конце это
Code
[НОМЕР НЕ ДОЛЖЕН ПОВТОРЯТЬСЯ]
; cse_abstract properties
section_name = stalker
name = smg_mod
position = ***,***,***
direction = 0.0580197647213936,0,0.998315453529358
; cse_alife_trader_abstract properties
character_profile = smg_mod
; cse_alife_object properties
game_vertex_id = ***
distance = 0
level_vertex_id = *****
object_flags = 0xfffffffb
custom_data = <<END
[logic]
cfg = scripts\zaton\sit_ass.ltx
none = true
END
; cse_visual properties
visual_name = actors\stalker_hero\stalker_hero_novice_1
; cse_alife_creature_abstract properties
g_team = 0
g_squad = 0
g_group = 0
health = 2
dynamic_out_restrictions =
dynamic_in_restrictions =
upd:health = 2
upd:timestamp = 0
upd:creature_flags = 0
upd:position = ***тут тоже координаты***
upd:o_model = 0
upd:o_torso = 0,0,0
upd:g_team = 0
upd:g_squad = 0
upd:g_group = 0
; cse_alife_monster_abstract properties
upd:next_game_vertex_id = 65535
upd:prev_game_vertex_id = 65535
upd:distance_from_point = 0
upd:distance_to_point = 0
; cse_alife_human_abstract properties
predicate5 = 2,2,1,2,0
predicate4 = 2,2,1,2
; cse_ph_skeleton properties
upd:start_dialog =
; se_stalker properties
Идем сюда
D:\S.T.A.L.K.E.R. - Зов Припяти\gamedata\configs\creatures\spawn_sections_zaton
Пишим это в самом начале
Code
;------------------------smg_mod--------------------
[smg_mod]:stalker
$spawn = "respawn\smg_mod"
character_profile = smg_mod
spec_rank = master
community = stalker
custom_data = scripts\zaton\smg_mod.ltx
Идем сюда
D:\S.T.A.L.K.E.R. - Зов Припяти\gamedata\configs\gameplay\character_desc_zaton
Пишим в самом конце перед </xml>
Code
<specific_character id="sit_ass_1" team_default = "1">
<name>Johann</name>
<icon>ui_inGame2_neutral_1</icon>
<map_icon x="1" y="0"></map_icon>
<bio>Опытный сталкер. Детальная информация отсутствует.</bio>
<class>sit_ass_1</class>
<community>stalker</community>
<terrain_sect>stalker_terrain</terrain_sect>
<snd_config>characters_voice\human_01\stalker\</snd_config>
<rank>65</rank>
<reputation>0</reputation>
<money min="2500" max="5000" infinitive="0"/>
<visual>actors\stalker_neutral\stalker_neutral_1</visual>
<supplies>
[spawn] \n
wpn_sig550 = 1 \n
ammo_5.56x45_ss190 = 5 \n
wpn_beretta = 1 \n
ammo_9x19_fmj = 1 \n
#include "gameplay\character_items.xml"
#include "gameplay\character_food.xml"
#include "gameplay\character_drugs.xml"
</supplies>
#include "gameplay\character_criticals_4.xml"
</specific_character>
Тут же открываем npc_profile и пишим после <!-- НОВЫЕ ПРОФИЛЯ -->
Code
<character id="smg_mod">
<class>smg_mod</class>
</character>
И идем сюда
D:\S.T.A.L.K.E.R. - Зов Припяти\gamedata\configs\scripts\zaton
Создаем файл smg_mod.ltx и пишим туда
Code
[logic]
active = remark1
danger = danger_ignore
invulnerable = true
[danger_ignore]
ignore_distance = 5
[remark1]
no_move = true
anim = binocular
on_actor_dist_le = 2| remark@hello
invulnerable = true
meet = meet_guide
[meet_guide]
abuse = false
use = true
allow_break = false
meet_on_talking = false
[remark@hello]
no_move = true
invulnerable = true
meet = meet_guide
on_actor_dist_le = 10| remark1
Всё! НПС готов! Запаковывай all.spawn
Если хочешь что-то изменить, спрашивай
Автор: Johann
Пишим в самом конце это
Code
[НОМЕР НЕ ДОЛЖЕН ПОВТОРЯТЬСЯ]
; cse_abstract properties
section_name = stalker
name = smg_mod
position = ***,***,***
direction = 0.0580197647213936,0,0.998315453529358
; cse_alife_trader_abstract properties
character_profile = smg_mod
; cse_alife_object properties
game_vertex_id = ***
distance = 0
level_vertex_id = *****
object_flags = 0xfffffffb
custom_data = <<END
[logic]
cfg = scripts\zaton\sit_ass.ltx
none = true
END
; cse_visual properties
visual_name = actors\stalker_hero\stalker_hero_novice_1
; cse_alife_creature_abstract properties
g_team = 0
g_squad = 0
g_group = 0
health = 2
dynamic_out_restrictions =
dynamic_in_restrictions =
upd:health = 2
upd:timestamp = 0
upd:creature_flags = 0
upd:position = ***тут тоже координаты***
upd:o_model = 0
upd:o_torso = 0,0,0
upd:g_team = 0
upd:g_squad = 0
upd:g_group = 0
; cse_alife_monster_abstract properties
upd:next_game_vertex_id = 65535
upd:prev_game_vertex_id = 65535
upd:distance_from_point = 0
upd:distance_to_point = 0
; cse_alife_human_abstract properties
predicate5 = 2,2,1,2,0
predicate4 = 2,2,1,2
; cse_ph_skeleton properties
upd:start_dialog =
; se_stalker properties
Идем сюда
D:\S.T.A.L.K.E.R. - Зов Припяти\gamedata\configs\creatures\spawn_sections_zaton
Пишим это в самом начале
Code
;------------------------smg_mod--------------------
[smg_mod]:stalker
$spawn = "respawn\smg_mod"
character_profile = smg_mod
spec_rank = master
community = stalker
custom_data = scripts\zaton\smg_mod.ltx
Идем сюда
D:\S.T.A.L.K.E.R. - Зов Припяти\gamedata\configs\gameplay\character_desc_zaton
Пишим в самом конце перед </xml>
Code
<specific_character id="sit_ass_1" team_default = "1">
<name>Johann</name>
<icon>ui_inGame2_neutral_1</icon>
<map_icon x="1" y="0"></map_icon>
<bio>Опытный сталкер. Детальная информация отсутствует.</bio>
<class>sit_ass_1</class>
<community>stalker</community>
<terrain_sect>stalker_terrain</terrain_sect>
<snd_config>characters_voice\human_01\stalker\</snd_config>
<rank>65</rank>
<reputation>0</reputation>
<money min="2500" max="5000" infinitive="0"/>
<visual>actors\stalker_neutral\stalker_neutral_1</visual>
<supplies>
[spawn] \n
wpn_sig550 = 1 \n
ammo_5.56x45_ss190 = 5 \n
wpn_beretta = 1 \n
ammo_9x19_fmj = 1 \n
#include "gameplay\character_items.xml"
#include "gameplay\character_food.xml"
#include "gameplay\character_drugs.xml"
</supplies>
#include "gameplay\character_criticals_4.xml"
</specific_character>
Тут же открываем npc_profile и пишим после <!-- НОВЫЕ ПРОФИЛЯ -->
Code
<character id="smg_mod">
<class>smg_mod</class>
</character>
И идем сюда
D:\S.T.A.L.K.E.R. - Зов Припяти\gamedata\configs\scripts\zaton
Создаем файл smg_mod.ltx и пишим туда
Code
[logic]
active = remark1
danger = danger_ignore
invulnerable = true
[danger_ignore]
ignore_distance = 5
[remark1]
no_move = true
anim = binocular
on_actor_dist_le = 2| remark@hello
invulnerable = true
meet = meet_guide
[meet_guide]
abuse = false
use = true
allow_break = false
meet_on_talking = false
[remark@hello]
no_move = true
invulnerable = true
meet = meet_guide
on_actor_dist_le = 10| remark1
Всё! НПС готов! Запаковывай all.spawn
Если хочешь что-то изменить, спрашивай
Автор: Johann