*warning brainfart* stupid question, I forgot something

Discussions on Modding of S.T.A.L.K.E.R. SoC & Clear Sky

*warning brainfart* stupid question, I forgot something

Postby ket on 05 Dec 2009 03:42

Can someone tell me which file dishes out the rewards barkeep gives? I just can't remember the filename for the life of me ](*,)
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: *warning brainfart* stupid question, I forgot something

Postby Nightwatch on 05 Dec 2009 20:16

Not quetie sure that I've understood the question, but do you mean this:
Code: Select all
[barmen_kill_stalker_1]
type = kill_stalker
community = actor
text = barmen_kill_stalker_1_text
description = barmen_kill_stalker_1_descr
parent = barman
target = agr_ratcatcher
reward_reputation = +15
;reward_relation = dolg, -5
reward_rank = 5
reward_item = af_ameba_slug
time = 86400
prior = 1

This is from task_manager.ltx from gamedata\config\misc and barman gives af_ameba_slug for the completed job of barmen_kill_stalker_1
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: *warning brainfart* stupid question, I forgot something

Postby ket on 06 Dec 2009 02:57

I mean the file in general that dishes out the rewards barkeep gives whenever u complete a task he gives you. more specifically, the tasks like the x16/18 missions, what file holds the info on what rewards he gives for those?
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: *warning brainfart* stupid question, I forgot something

Postby Nightwatch on 06 Dec 2009 17:56

Though not all, but (many) some are governed by XML dialog files calling an "action" order which corresponds/calls to relevant script files for related "functions." I'm not on a PC right now, but posting the notes with (rather innovative but still cumbersome) mobile phone. When I've got back at my PC tonight (I'm in UK, too), I'll post an example from the vanilla files. :mozilla_smile:

------------------------------
Edit/Add:

OK....

Now I can try to give an example:

Returning to the Bar after Dark Valley

When looking at the game as if the game playing, first let's see how the relevant dialog goes:

In config\text\eng folder, stable_dialogs.xml
<string id="bar_bar_barmen_start_171">
<text>So, Marked One, you brought the documents from X18?</text>
</string>
<string id="bar_bar_barmen_start_172">
<text>Yeah. Here.</text>
</string>


Action point will be set at bar_bar_barmen_start_172 when actor says "Yeah. Here."

We go to config\gameplay folder and find dialogs_bar.xml

<phrase id="172">
<text>bar_bar_barmen_start_172</text>
<action>bar_dialogs.give_darklab_documents</action>
<action>bar_dialogs.give_darklab_reward</action>
<give_info>bar_darklab_document_done</give_info>
<next>1721</next>


This file governs the process, when the phrase id="172" is called, it activates/calls the text lines and also initiates the action order which in turn points to the "function give_darklab_reward" in bar_dialogs.script

Like this, (from bar_dialogs.script) :
function give_darklab_reward(first_speaker, second_speaker)
dialogs.relocate_money(second_speaker, 10000, "in")
end


Hope it helps :mozilla_smile:

================

ONE WARNING TO MODDING ENTHUSIASTS,THOUGH:

People who are not experienced in modding should not try at all, or if in case of some experience, then they should exercise extreme caution as any simple misspelling, missing or added comma, dot or absolutely anything that you can produce with your keyboard, even misalignment WILL prove FATAL... then CTD...
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: *warning brainfart* stupid question, I forgot something

Postby ket on 06 Dec 2009 20:43

Thanks nightwatch that triggered my brain back into life the file I was trying to think of is the bar_dialogs script file :thumbright:
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system


Return to Modding Techniques

Who is online

Users browsing this forum: No registered users and 7 guests

cron