    .  , , "".   . 

 

1.    game_relations.ltx                      . ,         : 
[communities_relations]
;|actor  |act_dol|act_fre|stalker|monolit|militar|killer |ecolog |dolg   |freedom|bandit |zombied|strange|trader|arena_enemy|wind|
;=================================================================================================================================
actor = 0,	   0,	   0,	   0,  -5000,  -5000,  -5000,      0,	   0,	   0,  -5000,  -5000,	   0,	  0,  -5000, 0
actor_dolg = 0,	   0,	   0,      0,  -5000,   -500,  -5000,   5000,    600,  -5000,  -5000,  -5000,	   0,	  0,  -5000
actor_freedom = 0,	   0,	   0,	   0,  -5000,  -5000,  -5000,  -1500,  -5000,   5000,	   0,  -5000,	   0,	 0,  -5000, 0

stalker	= 0,	   0,	   0,	   0,  -5000,  -5000,  -5000,      0,	   0,	   0,  -5000,  -5000,	   0,	  0,  -5000, 0
monolith = -5000,  -5000,  -5000,  -5000,   5000,  -5000,  -5000,  -5000,  -5000,  -5000,   5000,   5000,  -5000,	 0,  -5000, 0
military = -5000,  -5000,  -5000,  -5000,  -5000,   5000,  -5000,      0,  -5000,  -5000,  -5000,  -5000, 	   0,	 0,  -5000, 0
killer = -5000,  -5000,      0,  -5000,  -5000,  -5000,   5000,  -5000,  -5000,  -5000,	   0,  -5000,  -5000,	  0,  -5000, 0
ecolog = 0,	 600,  -5000,      0,  -5000,   1000,  -5000,   5000,    500,  -5000,   -500,  -5000,	   0,	  0,      0, 0
dolg = 0,    600,  -5000,      0,  -5000,   -500,  -5000,   5000,   5000,  -5000,  -5000,  -5000,	   0,	  0,      0, 0
freedom = 0,  -5000,	 600,	   0,  -5000,  -5000,  -5000,  -1500,  -5000,   5000,	   0,  -5000,	   0,	  0,      0, 0
bandit = -5000,  -5000,	   0,  -5000,  -5000,   -500,      0,  -5000,  -5000,	   0,	   0,  -5000,  -5000,	  0,  -5000, 0
zombied	= -5000,  -5000,  -5000,  -5000,   5000,  -5000,  -5000,  -5000,  -5000,  -5000,  -5000,   5000,  -5000,	 0,  -5000, 0
stranger = 0,	   0,	   0,      0,  -5000,  -5000,  -5000,      0,	   0,	   0,   -500,  -5000,	   0,	  0,      0, 0
trader = 0,	   0,	   0,	   0,	   0, 	   0,	   0,	   0,	   0,	   0,	   0,	   0,      0,	  0,      0
arena_enemy = -5000,  -5000,  -5000,  -5000,  -5000,  -5000,      0,      0,      0,  -5000,  -5000,      0,      0,	  0,     0, 0

wind = 0,	   0,	   0,	   0,  -5000,  -5000,  -5000,      0,	   0,	   0,  -5000,  -5000,	   0,	  0,  -5000, 0

,   ,      : 
; 
communities = actor, 0, actor_dolg, 1, actor_freedom, 2, stalker, 5, monolith, 6, military, 7, killer, 8, ecolog, 9, dolg, 10, 
freedom, 11, bandit, 12, zombied, 13, stranger, 14, trader, 15, arena_enemy, 16, wind, 18,

    .    .     -    ,       .  wind  18,        . 

,   [communities_sympathy]        "" -   ,          : 
[communities_sympathy]
actor		=		0.0
actor_dolg	=		0.0
actor_freedom	=		0.0
stalker		=		0.0
monolith	=		0.0
military	=		0.0
killer		=		0.0
ecolog		=		0.0
dolg		=		0.1
freedom		=		0.1
bandit		=		0.0
zombied		=		0.0
trader		=		0.0
stranger	=		0.0
arena_enemy	=	    	0.0
wind 		= 		0.0

2.     death_manager.script   local community_list       : 
function init_drop_settings()
	local community_list = { "stalker", "dolg", "freedom", "bandit", "military", "zombied", "ecolog", "killer", "monolith", 
"arena_enemy", "actor_dolg", "wind" }

3.   death_items_by_communities.ltx  [x]:stalker ( x -   ): 
[...]
af_dummy_spring			= 0
af_fuzz_kolobok			= 0

;
vodka					= 0

[arena_enemy]
[actor_dolg]

[wind]: stalker
bread					= 0
kolbasa					= 0
vodka					= 0
energy_drink			= 0.3

4.      ,  se_respawn.script   local simMaxCount = {      : 
wind_novice = 20, wind_regular = 20, wind_veteran = 20, wind_master = 6,

5.           xr_statistic.script, 

 : 
zombied_novice = 1, zombied_experienced = 2, zombied_veteran = 3, zombied_master = 4,

 
dark_stalker_novice = 1, dark_stalker_experienced = 2, dark_stalker_veteran = 3, dark_stalker_master = 4,


6.    character_desc_x.xml   NPC ( )     : 
<!---esc_wolf--->
	<specific_character id="esc_wolf" team_default = "1">
		<name>esc_wolf_name</name>
		<icon>ui_npc_u_stalker_neytral_balon_1</icon>
		<bio>esc_wolf_bio</bio>

		<class>esc_wolf</class>
		<community>wind</community>
		[...]

7.      ""   "wind",  "",      string_table_general.xml: 
<?xml version="1.0" encoding="windows-1251" ?>
<string_table>
	<string id="wind">
		<text></text>
	</string>
	<string id="actor">
		<text></text>
	</string>
	[...]

8.        ,     (*_terrain   m_stalker.ltx): 

 ,  ,  : 
[stalker_terrain]
	255,000,255,255
	008,001,255,255 ;      
	012,001,255,255 ;      

   ,  : 
[wind_terrain]
	255,000,255,255
	008,001,255,255 ;      
	012,001,255,255 ;      
	010,001,255,255	;      


, ,    .       . 
 

   .    .    ,       ,  NPC. 


 ,     .  -    . 

-,       : 
		<actor_dialog>[-]_dialog</actor_dialog>
		<actor_dialog>[-]_reward</actor_dialog>

 : tm_trader_dialog, tm_wolf_dialog... 

!   . 

      " ?",       /  .    task_manager.ltx   . 
[list]

[...]

;--------Wind------------------------
;----------Kill Stalker----
wind_kill_stalker
;----------Find Item----	
wind_find_item

[...]

;tasks for Wind	

[wind_find_item]
type = find_item
community = actor
text = [       ]
description = [     ]
parent = [ NPC-]
target = scientific_outfit
reward_money = 5000
reward_reputation = +5
reward_rank = 4
reward_item = wpn_sig_m1
time = 86400


[wind_kill_stalker]
type = kill_stalker
community = actor
text = [       ]
description = [     ]
parent = [ NPC-]
target = sim_stalker_master_master
reward_money = 4000
reward_reputation = +5
reward_rank = 9
reward_item = ammo_5.56x45_ap, ammo_5.56x45_ap, ammo_5.56x45_ap
time = 86400

       .    task_manager.ltx   ,   . 

,        dialogs.xml.   ,      "": 
    <dialog id="tm_dolg_dialog" priority="-1">
		<init_func>task_manager.init_dolg_task_dialog</init_func>
    </dialog>
    <dialog id="tm_dolg_reward" priority="0">
		<init_func>task_manager.init_dolg_reward_dialog</init_func>
		<precondition>task_manager.has_active_vendor_task</precondition>
    </dialog>

,  ,    task_manager.init_dolg_task_dialog -  task_manager.script: 
function init_dolg_task_dialog(dlg)	 
	get_random_task():init_task_dialog(dlg, "dolg")

      "". 
  

    . 

  dialogs.script  action': 
-----------------------------------------------------------------------------------
-- Community
-----------------------------------------------------------------------------------

[...]

function actor_set_wind (actor, npc)
printf ("ACTOR NOW IN WIND COMMUNITY"
if db.actor then
db.actor:set_character_community ("actor_wind", 0, 0)
end
return true
end

   ,       action'  <action>actor_set_wind</action>.   ,  . 
 NPC

      ,  .     .