все ровно вылет... ------>>
Po pravilam <<------
что сделал...
gamedata\scripts\new_script – этот скрипт мы создадим
--[[---------------------------------------------------------------------------------
--??????? ?? ???--
function money_give_esc_edia_npc(first_speaker, second_speaker)
dialogs.relocate_money(first_speaker, 7000, "in")
end
-----------------------------------------------------------------------------------]]
gamedata\config\gameplay\character_desc_escape.xml
<!---------------------------------------esc_richka_npc----------------------------------------------------->
<specific_character id="esc_richka_npc" team_default = "1">
<name>esc_richka_npc</name>
<icon>ui_npc_u_stalker_bandit_3</icon>
<bio>esc_wolf_bio</bio>
<class>esc_otbrosi_1</class>
<community>tramps</community> <terrain_sect>stalker_terrain</terrain_sect>
<rank>367</rank>
<reputation>60</reputation>
<money min="600" max="2000" infinitive="1"/>
<snd_config>characters_voice\human_01\monolith\</snd_config>
<crouch_type>-1</crouch_type>
<visual>actors\bandit\stalker_bandit_3</visual>
<supplies>
[spawn] \n
wpn_ak74 \n
ammo_9x39_pab9 \n
#include "gameplay\character_items.xml" \n
#include "gameplay\character_food.xml"
</supplies>
#include "gameplay\character_criticals_3.xml"
<start_dialog>hello_dialog</start_dialog>
<actor_dialog>esc_literball</actor_dialog>
</specific_character>
<!---------------------------------------esc_edia_npc----------------------------------------------------->
<specific_character id="esc_edia_npc" team_default = "1">
<name>esc_edia_npc</name>
<icon>ui_npc_u_stalker_bandit_5</icon>
<bio>esc_wolf_bio</bio>
<class>esc_otbrosi_1</class>
<community>tramps</community> <terrain_sect>stalker_terrain</terrain_sect>
<rank>367</rank>
<reputation>60</reputation>
<money min="600" max="2000" infinitive="1"/>
<snd_config>characters_voice\human_01\monolith\</snd_config>
<crouch_type>-1</crouch_type>
<visual>actors\bandit\stalker_bandit_5</visual>
<supplies>
[spawn] \n
wpn_ak74 \n
ammo_9x39_pab9 \n
#include "gameplay\character_items.xml" \n
#include "gameplay\character_food.xml"
</supplies>
#include "gameplay\character_criticals_3.xml"
<start_dialog>hello_dialog</start_dialog>
<actor_dialog>esc_edia_npc_kvest_dialog</actor_dialog>
<actor_dialog>esc_edia_npc_kvest_dialog_done</actor_dialog>
</specific_character>
gamedata\config\gameplay\dialogs_escape.xml
</dialog>
<dialog id="esc_edia_npc_kvest_dialog">
<dont_has_info>esc_edia_npc_kvest_start</dont_has_info>
<phrase_list>
<phrase id="0">
<text>esc_edia_npc_kvest_dialog_0</text>
<next>1</next>
</phrase>
<phrase id="1">
<text>esc_edia_npc_kvest_dialog_1</text>
<next>2</next>
<next>3</next>
</phrase>
<phrase id="2">
<text>esc_edia_npc_kvest_dialog_2</text>
<give_info>esc_edia_npc_kvest_start</give_info>
</phrase>
<phrase id="3">
<text>esc_edia_npc_kvest_dialog_3</text>
<action>dialogs.break_dialog</action>
</phrase>
</phrase_list>
</dialog>
<dialog id="esc_edia_npc_kvest_dialog_done">
<has_info>esc_edia_npc_kvest_have</has_info>
<dont_has_info>esc_edia_npc_kvest_dialog_done</dont_has_info>
<phrase_list>
<phrase id="0">
<text>esc_edia_npc_kvest_dialog_completed_0</text>
<next>1</next>
</phrase>
<phrase id="1">
<text>esc_edia_npc_kvest_dialog_completed_1</text>
<give_info>esc_edia_npc_kvest_dialog_done</give_info> -- ??? ????????? ????? ?????????? ????????????? ?????.
<action>new_script.money_give_esc_edia_npc</action> -- ????????? ??????? ?? ?????? ??????? (?????? ??????? ??)
<next>2</next>
</phrase>
<phrase id="2">
<text>esc_edia_npc_kvest_dialog_completed_2</text>
</phrase>
</phrase_list>
</dialog>
gamedata\config\gameplay\info_escape.xml
-- ????? ? ????????? --
<info_portion id ="esc_edia_npc_kvest_start">
<task>esc_edia_npc_kvest</task>
</info_portion>
<info_portion id="esc_edia_npc_kvest_have">
</info_portion>
<info_portion id="esc_edia_npc_kvest_dialog_done">
</info_portion>
gamedata\config\gameplay\storyline_info_escape.xml
<article id="text_esc_edia_npc_kvest" name="kill mudak" -<article_type="task">
<text>text_esc_edia_npc_kvest</text>
</article>
gamedata\config\gameplay\tasks_escape.xml
<game_task id="esc_edia_npc_kvest">
<title>Óáèòü ìóäàêà</title>
<objective>
<text>Óáèòü ìóäàêà</text>
<icon>ui_iconsTotal_lost_soldier</icon> -- ?????? ??????? ? ???
<infoportion_complete>esc_edia_npc_kvest_dialog_done</infoportion_complete>
<article>text_mudak_kvest</article>
</objective>
<objective>
<text>Óáèòü ìóäàêà</text>
<map_location_type hint="esc_richka_npc">green_location</map_location_type> -- ???? ???????? ??? ?????? NPC
<object_story_id>5483</object_story_id> -- ????? ????
<infoportion_complete>esc_edia_npc_kvest_have</infoportion_complete>
</objective>
<objective>
<text>Ïîõâàëèòüñÿ ׸ðòèëå Ýäå</text> -- ???????? ??????? ??????????
????? ????????, ???? ???????????, ??? ?????
<map_location_type hint="esc_edia_npc">blue_location</map_location_type>
<object_story_id>5484</object_story_id> -- ????? ???? ?????? ??????
<infoportion_complete>esc_edia_npc_kvest_dialog_done</infoportion_complete>
</objective>
</game_task>
gamedata\config\text\rus\stable_dialogs_escape.xml
<string id="esc_edia_npc_kvest_dialog_0">
<text>Áðàòîê, ìóòêà åñòü?</text>
</string>
<string id="esc_edia_npc_kvest_dialog_1">
<text>Îïà! Êîðî÷å åñòü òåìà, îäíîãî äèáèëîéäà íàäî ãðîíóòü. Âîçüìåøüñÿ?</text>
</string>
<string id="esc_edia_npc_kvest_dialog_2">
<text>Ïî ëþáàñó!</text>
</string>
<string id="esc_edia_npc_kvest_dialog_3">
<text>Íåà, ÷åòî ÿ äðåéôóþ.</text>
</string>
<string id="esc_edia_npc_kvest_dialog_completed_0">
<text>Îí çäîõ, ¸ïòà.</text>
</string>
<string id="esc_edia_npc_kvest_dialog_completed_1">
<text>Ìîëîäöà! Âîîáùå!</text>
</string>
<string id="esc_edia_npc_kvest_dialog_completed_2">
<text>Äàâàé!</text>
</string>
<string id="text_mudak_kvest">
<text>Íàéòè è óáèòü íåïðèÿòåëÿ Ýäè.</text> -- ????? ???????, ??????? ???????????? ? ??? ? ??????? «???????? ? ???????»
</string>
gamedata\config\game_story_ids
5483 = "esc_richka_npc"
5484 = "esc_edia_npc"
Нпц делал
TUT, их имена: esc_edia_npc , esc_richka_npc