3 New Notifications

New Badge Earned
Get 1K upvotes on your post
Life choices of my cat
Earned 210

Drag Images here or Browse from your computer.

Trending Posts
Sorted by Newest First
A
AKMC47U 15.05.20 12:19 pm

How to create a group? (S.T.A.L.K.E.R.: Shadow of Chernobyl)

Establishment of new group
A new group
Today we will create a new group. Let's call it, say, Wind. It does not matter.
Practice:
Basic level
1. To start game_relations.ltx and in the relationship table groups at the end and in the title add the name of his group, and the coefficients of the attitudes of the other groups. Also, don't forget to register her own attitude towards other factions:
[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
Also, change this line to include the name and number groupings:
;the names of the groups
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,
And counting row by row starting at the top. Although there is a small nuance. The first three lines - the numbering starts from zero, with the other groups she is going as it should. For wind put up 18 as we this group separated from the others.
Further, in [communities_sympathy] in the end add the grouping factor and sensibility - smaller it is, the smaller the ratio of the group will change for you in General:
[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. After that, the file death_manager*****are you searching for ipt string local community_list and in parenthesis add the name of his group:
init_drop_settings function()
local community_list = { stalker, dolg, freedom, bandit, military, zombied, ecolog, killer, monolith,
arena_enemy, actor_dolg, wind }
3. In the file death_items_by_communities.ltx write [x]:stalker (instead of x - the name of your group):
[...]
af_dummy_spring = 0
af_fuzz_kolobok = 0

;Food
vodka = 0

[arena_enemy]
[actor_dolg]

[wind]: stalker
bread = 0
kolbasa = 0
vodka = 0
energy_drink = 0.3
4. If provided by the fighters spawn new groups in se_respawn*****ipt prescribed in local simMaxCount = { after lines with zombified stalkers line:
wind_novice = 20, wind_regular = 20, wind_veteran = 20, wind_master = 6,
5. When killing NPC new factions, the game will not fail xr_statistic*****ipt
after the line:
zombied_novice = 1, zombied_experienced = 2, zombied_veteran = 3, zombied_master = 4,
write
dark_stalker_novice = 1, dark_stalker_experienced = 2, dark_stalker_veteran = 3, dark_stalker_master = 4,

6. Well character_desk_x.xml select any NPC (or group) change the group in their:


esc_wolf_name
ui_npc_u_stalker_neytral_balon_1
esc_wolf_bio

esc_wolf
wind
[...]
7. To the character in the column Group show wind and Wind, register the corresponding line in the file string_table_general.xml:



The wind


Loner

[...]
8. There is the opportunity to create for our new group where they will go (*_terrain to take from m_stalker.ltx):
That is, for example, there is a section:
[stalker_terrain]
255,000,255,255
008,001,255,255 ;Allowed to go in dangerous places on the bar
012,001,255,255 ;Allowed to walk on dangerous places for Military
Then you can create a new, similarly:
[wind_terrain]
255,000,255,255
008,001,255,255 ;Allowed to go in dangerous places on the bar
012,001,255,255 ;Allowed to walk on dangerous places for Military
010,001,255,255 ;Allowed to go in dangerous places on the amber

Here, obviously, are the coordinates of the level. For each level there is its initial coordinate.
Advanced level:
This method is quite primitive. It's not a full group. We need the appropriate dialogue, the possibility of obtaining quests and joining the group, unique NPC.
Quests:
Add quests that need to be executed for grouping. Yet, simple tasks common types.
First, insert in the list of dialogs of the character of the following line:
[something]_dialog
[something]_reward
Examples: tm_trader_dialog, tm_wolf_dialog...
Attention! The method is not verified.
We added the branch dialog Got a job?, and branch to reward for the quest/abandon them. Now let's register in task_manager.ltx set of new jobs [list]

[...]

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

[...]

;tasks for Wind

[wind_find_item]
type = find_item
community = actor
text = [link to the text story to the customer about the job]
description = [link to text description of the task]
parent = [name NPC client]
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 = [link to the text story to the customer about the job]
description = [link to text description of the task]
parent = [name NPC client]
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
Do not forget to include descriptions of tasks to text arrays. Read more about how to edit the task_manager.ltx, read the lesson on similar quests.
Yes, and register themselves branches of the dialogues in the file dialogs.xml. Here is an example of how this is done for tasks, Debt:

task_manager.init_dolg_task_dialog


task_manager.init_dolg_reward_dialog
task_manager.has_active_vendor_tas k

Consequently, we go to where string task_manager.init_dolg_task_dialog in task_manager*****ipt:
init_dolg_task_dialog function(dlg)
get_random_task():init_task_dialog(dlg, dolg)
By analogy we do with our Wind.
Join the group:
We realize the possibility of joining the group.
Prescription in dialogs*****ipt such action's:
-----------------------------------------------------------------------------------
-- Community
-----------------------------------------------------------------------------------

[...]

actor_set_wind function (actor, npc)
printf (ACTOR NOW IN COMMUNITY WIND
if db.actor then
db.actor:set_character_community (actor_wind, 0, 0)
end
return true
end
Then, create the dialogue and make it the phrase with the action'th species actor_set_wind. Suggest to study the lesson on dialogue.
[edit]
New NPC
All of the above it is best to hang on to a new, unique character. The way the spawn are described here.


The computed coordinates
Found on one forum, quite interesting.
How to get the coordinates for the spawn of an object or NPC. This script was found on some forum, tested and working the spawn function has the form
alife():create(section,position,levelvertex,gameve rtex)
Where:
section - the name of the/what spawnin
position levelvertex,gamevertex coordinates, the vertex position of the object, and the sector map.
Write in detail how very PRO100 to know:
Go, pre-unpacked, in the directory gamedata/scripts/ And there in the file ui_main_menu*****ipt at the end add this:
function main_menu:OnButton_credits_clicked()
local text
local vid
local gvid
local a = vector()
local text
a = db.actor:position()
vid = db.actor:level_vertex_id()
gvid = db.actor:game_vertex_id()
text = Position:\\nX= ..a.x..\\nY= ..a.y..\\nZ= ..a.z..\\nlevel_vertex= ..vid..\\ngame_vertex_id= ..gvid
news_manager.send_tip(db.actor, text, nil, nil, 30000)
end
Now go to the place (or feet or demorecorder), where spawnin object, go to the game menu, and click on the CREATORS (CREDITS) - according to our eyes does not appear any list creators, and we'll hear a beep, then go into the game menu and in the message line indicate all the information. All F12 or on paper.
49 Comments
Sort by:
C
CTALKER ELITA 15.05.20

turokxxx and method proverennie dwellers I was able uvidyat NPC gang so did not Vikedal?
turokxxx and so ti does not smoger send me a ready-made group?

w
we get what we deserve 15.05.20

STALKER JELITA
Accurate there are no guarantees. Create a backup of the files with the game, if you are not sure.

C
CTALKER ELITA 15.05.20

turokxxx Hey I did everything according to the lesson of Michael on another site and its sozdanii PS I did not see and significant groupings also can than Pomogi ???? If you Nada throw off the PM the lesson

w
we get what we deserve 15.05.20

STALKER JELITA
Send a lesson in private messages.

C
CTALKER ELITA 15.05.20

turokxxx
Spoilergate group will be called Hunter, script hunter.
To do by analogy.
Go to gamedata\scripts
File death_manager.script

init_drop_settings function()
local community_list = { stalker, dolg, freedom, bandit, army, zombied, ecolog, killer, monolith, hunter }

The file dialogs.script
Create a new partition:

function npc_hunter(first_speaker, second_speaker)
local npc = who_is_npc(first_speaker, second_speaker)
return character_community(npc) == hunter
end

File sim_board.script
After simulation_activities = { write the new partition:

hunter = {
squad = nil,
smart = { base = { prec = function(squad, target) return in_time_interval(18,8) and not xr_conditions.surge_started() and not travel_manager.check_squad_for_enemies(squad) and (target:name() == zat_stalker_base_smart or target:name() == jup_a6 or target:name() == pri_a16) end },
surge = { prec = function() return xr_conditions.surge_started() end },
territory= { prec = function() return in_time_interval(8 and 18) and not xr_conditions.surge_started() end },
resource = { prec = function(squad, target) return in_time_interval(8 and 18) and not xr_conditions.surge_started() end } -- and squad:has_detector()
},
actor = nil
},

File _g.script
After squad_community_by_behaviour = { add the section:

[hunter] = hunter,

Additional cocktail sound_theme.script at will.

Go to gamedata\configs\creatures
Are doing similar.
File game_relations.ltx

communities = actor, 0, bandit, 1, dolg, 2, ecolog, 3, freedom 4, killer 5, army, 6, monolith, 7, monster, 8, stalker, 9, zombied, 10, hunter 11

Table [communities_relations] supplemented by:

digger = 0, -5000, 0, 0, 0, -5000, -5000, -5000, -5000, 0, -5000 0

Table [communities_sympathy] supplemented by:

hunter = 0.0

Go to gamedata\configs\misc
Are doing similar.
File death_items_by_communities.ltx
At the end of the create section:

[hunter]:stalker

File dialog_manager.ltx
Lists supplemented:

dm_help_12
dm_help_13

And

dm_hello_18
dm_hello_19
dm_hello_20

And supplemented sections:

[dm_help_12]
category = hello
npc_community = hunter
level = all
wounded = true

[dm_help_13]
category = hello
npc_community = hunter
level = all
wounded = true

And

[dm_hello_18]
category = hello
npc_community = hunter
level = all

[dm_hello_19]
category = hello
npc_community = hunter
level = all

[dm_hello_20]
category = hello
npc_community = hunter
level = all

File squad_behaviours.ltx
Create a new partition:

[hunter]:default_behaviour

Go to gamedata\configs\text\rus
Any text document. Create sections:


Srav be a hunter.


Oh, the beast is not the same as before.


Well, as a game?


Stalker... help... first aid kit...


Beasts quite brutally!


Hunter

w
we get what we deserve 15.05.20

STALKER JELITA
Try to edit existing NPCs, editing options can send in private messages.

C
CTALKER ELITA 15.05.20

turokxxx release

n
nikita657 15.05.20

Struck
THIS IS DONE IN ORDER TO SPREAD THE INFORMATION! Someone will type in the search 'how to create group in Stalker call of Pripyat' and the website from which you took this info will be somewhere BELOW! and then next to the Playground

p
pro100_2020 01.06.21

nikita657
BUT THERE IS NO INFO HOW TO MAKE A NEW GROUP ON THE STALKER CLEAR SKY. Rather, how it is CORRECT to make sure that the game does not crash when you open the PDA and go to the statistics section. I am already silent on how to make a logo for my group, so that there is no black rectangle when talking with an NPC under his rank.