
May 26th, 2008
|
 | Oblivion Lost supplier Bloodsucker  | | Join Date: March 24th, 2008 Location: Germany
Posts: 1,438
Rep Power: 5 | |
Editing storyline rewards To edit the storyline rewards, you need these files: Quote: \gamedata\scripts\
bar_dialogs.script
dialogs_military.script
dialogs_yantar.script
escape_dialog.script
garbage_dialogs.script
| To find the reward you want to change, look through the file where the quest-giver is located and find the right function by its name. The names vary a lot, so I can't tell you what to look for exactly. You can either read through the whole file or you search for terms like " reward", " payment", " transfer", " give" and " send".
Example: When looking through \gamedata\scripts\bar_dialogs.script you should find these functions (beside other results): Quote: function give_agroprom_reward(first_speaker, second_speaker) function give_darklab_reward(first_speaker, second_speaker)
function give_x16_reward(first_speaker, second_speaker)
function actor_transfer_research(first_speaker, second_speaker)
function enter_to_dolg(first_speaker, second_speaker) [inactive] function have_hunter_reward(first_speaker, second_speaker)
function barman_give_outfit(first_speaker, second_speaker)
function professor_for_resque(npc, actor)
function arena_give_reward(actor, npc) | From looking at the function names and their content you should know when the function is called during the storyline. Then you can edit the reward by changing the dialogs.relocate_item_section and /or dialogs.relocate_money or by adding new lines to the function. Look into the trader files if you don't know how an item is called in the scripts. Location and names of the trader files are described in post #1 of this thread. |