Adding stuff for the CS trade to give you -1 reply

Please wait...

Malinthebeast

Can only get better

50 XP

14th August 2008

0 Uploads

139 Posts

0 Threads

#1 10 years ago

How do you mod the game so the CS trader gives you other items? I'm intrested in getting him to give money to the actor as well as a new weapon.




Tw33kR

Slightly cooler than a n00b

50 XP

21st September 2008

0 Uploads

48 Posts

0 Threads

#2 10 years ago

Well, You'll find your trader files under \gamedata\configs\misc\trade and its trade_trader_mar_csky.ltx you're after. (if you haven't installed any mods that put these files in your gamedata you'll need to unpack your Stalker CS database files. For anything normal in game that you want him to sell, under [supplies_generic] you need to replace NO TRADE with a x,y where x = quantity and y = chance he will have it in inventory.

For you're special weapon you need to be sure its name is located under [supplies_generic] and [trade_generic_sell]

For a detailed run down read Atrocious great tutorial here




Malinthebeast

Can only get better

50 XP

14th August 2008

0 Uploads

139 Posts

0 Threads

#3 10 years ago

Tw33kR;4603201Well, You'll find your trader files under \gamedata\configs\misc\trade and its trade_trader_mar_csky.ltx you're after. (if you haven't installed any mods that put these files in your gamedata you'll need to unpack your Stalker CS database files. For anything normal in game that you want him to sell, under [supplies_generic] you need to replace NO TRADE with a x,y where x = quantity and y = chance he will have it in inventory.

For you're special weapon you need to be sure its name is located under [supplies_generic] and [trade_generic_sell]

For a detailed run down read Atrocious great tutorial here

Nah i mean when you talk to him to gain your weapons for the first mission. How can i get him to give me money and other weapons along with the knife and detector.




Reptile4077

GF makes me horny

50 XP

25th May 2008

0 Uploads

97 Posts

0 Threads

#4 10 years ago

its gamedata / scripts / dialogs_marsh.script the first lines....




Malinthebeast

Can only get better

50 XP

14th August 2008

0 Uploads

139 Posts

0 Threads

#5 10 years ago
Reptile4077;4603244its gamedata / scripts / dialogs_marsh.script the first lines....

There isint such a file in my Scripts folder.




Tw33kR

Slightly cooler than a n00b

50 XP

21st September 2008

0 Uploads

48 Posts

0 Threads

#6 10 years ago

Well, you could unpack your whole DB or here is the default file for you to copy / paste into a notepad document renamed to dialogs_marsh.script

function tutorial_give_equipment(first_speaker, second_speaker) dialogs.relocate_item_section_to_actor(first_speaker, second_speaker, "ammo_12x70_buck", 5) dialogs.relocate_item_section_to_actor(first_speaker, second_speaker, "ammo_9x18_fmj", 2) dialogs.relocate_item_section_to_actor(first_speaker, second_speaker, "wpn_bm16") dialogs.relocate_item_section_to_actor(first_speaker, second_speaker, "wpn_pm") dialogs.relocate_item_section_to_actor(first_speaker, second_speaker, "wpn_knife") dialogs.relocate_item_section_to_actor(first_speaker, second_speaker, "detector_simple") dialogs.relocate_item_section_to_actor(first_speaker, second_speaker, "bandage", 5) dialogs.relocate_item_section_to_actor(first_speaker, second_speaker, "medkit", 2) dialogs.relocate_item_section_to_actor(first_speaker, second_speaker, "antirad", 1) end

function disable_input() level.disable_input() --printf("marsh_dialogs ") end

function enable_input() level.enable_input() --printf("marsh_dialogs ") end

function disable_ui() get_console():execute("hud_crosshair 0") get_console():execute("hud_weapon 0") level.disable_input() level.hide_indicators_safe() local hud = get_hud() hud:HideActorMenu() hud:HidePdaMenu() --printf("marsh_dialogs ") end

function enable_ui() get_console():execute("hud_crosshair 1") get_console():execute("hud_weapon 1") level.show_indicators() level.enable_input() --printf("marsh_dialogs ") end

function run_tutorial() game.start_tutorial("part_1_pda") end




Malinthebeast

Can only get better

50 XP

14th August 2008

0 Uploads

139 Posts

0 Threads

#7 10 years ago

How do you unpack the CS database anyways?




Tw33kR

Slightly cooler than a n00b

50 XP

21st September 2008

0 Uploads

48 Posts

0 Threads

#8 10 years ago
Malinthebeast

Can only get better

50 XP

14th August 2008

0 Uploads

139 Posts

0 Threads

#9 10 years ago

Right another problem, I took this line from another script as a test but it doesnt seem to be working.

dialogs.relocate_money(first_speaker, second_speaker, "2000", "in")




Reptile4077

GF makes me horny

50 XP

25th May 2008

0 Uploads

97 Posts

0 Threads

#10 10 years ago

try this one, but I dont know if it works dialogs.relocate_money(first_speaker, 5000, "in") its from the bandit joining script