File Details

Download this file | Go to files list

Readme File:
-----------------------------------------------------------
Show Reward Mini Mod v1.03
-----------------------------------------------------------
Author: onionradish [AT] bitlet.com
Tested on : Stalker v. 1.0003 - v 1.0005
-----------------------------------------------------------

UPDATED FOR 1.0005

This mod has been updated for compatibility with the 1.0005 patch. It
also works with earlier versions. For cash-only rewards, "return for
reward" text now displays if it's required to return to the quest-giver
after the mission is complete. Otherwise, you can expect cash-only
rewards to be transfered to your account on completion without returning.

DESCRIPTION

Before taking on your next side mission, wouldn't it be nice to know
what the reward is? The Show Reward mod displays the promised reward for
side quests with the mission description. Reward items and RU are
displayed before taking on a mission, so the Marked One can see what
he'll be risking his neck for. For cash-only missions, if it's necessary
to return to collect the reward, that's now shown with the cash value.

Storyline missions and other missions which only reward the player with
faction or rank points won't show any additional reward information.

The Show Reward mod is designed as a mini-mod for easy incorporation
with other mods. It reads reward items and cash from configuration files
to support mods to missions and rewards. The mod is also designed to
support translations natively, as it uses existing in-game language text
for all items.

Please report bugs to the author.


-----------------------------------------------------------
INSTALLATION
-----------------------------------------------------------
Only one file is needed to install Show Reward: the
"show_reward.script". To activate it, one line must be added to the
game's "task_manager.script" -- you can either make the change yourself
as described, or use one of the included "task_manager" scripts that
matches your game version.

If you're not using any other mods (stand-alone install):
-----------------------------------------------------------
Edit your fsgame.ltx file (in your Stalker game install folder)
with a text editor so that the "$game_data$" line looks like this:

$game_data$ = true| true| $fs_root$| gamedata\

Then, simply unzip the show_reward.zip file to automatically extract
"show_reward.script" and versions of the "task_manager" script into a
"gamedadata\scripts\" folder.

Several versions of the "task_manager.script" file are included for
stand-alone installation. The version of "task_manager.script" you'll
need depends on the version of the game you're playing. Rename one of
the included "task_manager" script files -- the one that matches
your game version -- to "task_manager.script" and put it in the
"gamedata\scripts\" folder. You can delete the versions you're not using.

task_manager_v1.0003.script
task_manager_v1.0004.script
task_manager_v1.0005.script

Copy the "gamedata" folder with "show_reward.script" and
"task_manager.script" to your Stalker game install folder.

If you're using other mods (integration):
-----------------------------------------------------------
Edit your fsgame.ltx file as above, if necessary. (You've likely
already made the change for your other mods.)

Copy the "show_reward.script" file to a "gamedata\scripts\" folder
inside your stalker game install folder. If your "gamedata\scripts\"
folder doesn't already contain a "task_manager.script" file, you can
just copy and rename one of the versions of the "task_manager" script
as described above. Put that file in "gamedata\scripts\" also.

Otherwise, if your "gamedata\scripts\" folder already contains a
"task_manager.script" file, edit the function
"CRandomTask:init_task_dialog" as shown below, depending on your
version.

FOR VERSION 1.0003/1.0004
-------------------------
Below line 683 (1.0003) or line 719 (1.0004), which reads:

phr = dlg:AddPhrase(self.task_info[v].text, self.task_info[v].desc_phrase_id,
self.task_info[v].init_phrase_id, -10000)

simply add the following line:

show_reward.add_reward_display(phr)

FOR VERSION 1.0005
-------------------------
Below line 721, which reads:

phr = dlg:AddPhrase(self.task_info[v].text, tostring(self.task_info[v].desc_phrase_id),
tostring(self.task_info[v].init_phrase_id), -10000)

simply add the following line:

show_reward.add_reward_display(phr)


-----------------------------------------------------------
UNINSTALLING
-----------------------------------------------------------

If you're not using any other mods:

Simply delete the "task_manager.script" and "show_reward.script" from
the "gamedata\scripts\" folder

If you're using other mods:

Delete the line you added to the "CRandomTask:init_task_dialog" function in your
"gamedata\scripts\task_manager.script" file:

show_reward.add_reward_display(phr)

Delete the "gamedata\scripts\show_reward.script" file.


-----------------------------------------------------------
COPYRIGHT
-----------------------------------------------------------
This mod may be included with any other mod, provided that credit for
the mod is given and no fee is charged for the mod or distribution.
Please email the author if you've incorporated the mod.


CHANGELOG
-----------------------------------------------------------
v1.03 Updated for compatibility with v1.0005 patch while maintaining
compatibility with earlier versions. For cash-only rewards,
added "return for reward" text if it's required to return after
the mission is complete. (Credit to NatVac for the return text idea.)
v1.02 Fixed bug that caused crash for certain cash-only missions
(barman boar leg)
v1.01 Simplified installation to single line edit in task_manager.script
Separated display of items and RU
v1.00 Initial release

Download this file | Go to files list