ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
STALKER sound project

« Previous 10 events | 1 ... 21 22 23 24 25 26 27 28 29 30 | Next 10 events »
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  03:48:28  29 March 2012
profilee-mailreply Message URLTo the Top
nashathedog
Senior Resident
 

 
On forum: 01/31/2011
Messages: 8226

---QUOTATION---
Perhaps even easier, edit escape_dialog.script, in particular the function give_weapon_to_actor (trader, actor) section. Here is where you define the items Wolf gives you for the first mission. It isn't save-game compatible, but you only need the name of the item plus the relevant code (which is in there already, you can copy and paste to get more lines). You could give Marked One every weapon in the game quite easily this way, and all at once. If you need to move around, just temporarily boost the carry weight to an insanely high amount.
---END QUOTATION---



Can you not just add them all to your starting kit in the gameplay folder for SHOC then? I do that in COP with the weight adjustment when I am adding new guns to check it is all working. I know it works with Troops of Doom but does it not with vanilla?

@Darius, If you still want someone to put the guns in Sid's trader file give me the vanilla file and I will do it for you. I presume you will just want every vanilla weapon made available.
  08:34:11  29 March 2012
profilee-mailreply Message URLTo the Top
Darius6
The sound guy...
(Resident)

 

 
On forum: 04/05/2007
 

Message edited by:
Darius6
03/29/2012 9:01:46
Messages: 2131

---QUOTATION---


@Darius, If you still want someone to put the guns in Sid's trader file give me the vanilla file and I will do it for you. I presume you will just want every vanilla weapon made available.
---END QUOTATION---



Well, I've checked the files and believe I can do this myself pretty easily too. Only thing I need some help with is setting up the "economy" for Sid, meaning that I want him to sell every weapon really cheap. It's been a while since I've edited the trader files, so could someone remind me, what the different values should be (the probability of having an item and the percentage of the sell price?)

EDIT: Nevermind, found the info on the values.

EDIT 2: Oh crap, this is frustrating. Getting the no log ctd at startup, when starting the game. Guessing I've probably screwed up a weapon file somewhere. Only clue I have with this is, that it's something that is in Rostok too (since earlier, I was getting the logless ctd when entering Rostok). So I guess I'll have to try to pinpoint the culprit by enabling/disabling every single weapon, one by one, from the trader files. Damn. This might take a while. And since the issue is without a log, I can't be 100% that it even has anything to do with the weapons...

And before you ask, yes, I DID try the paste trick on the empty log, no dice.
  11:29:57  29 March 2012
profilee-mailreply Message URLTo the Top
Lijenstina
Doom metal in the shade of the flying radiators
(Resident)

 

 
On forum: 07/23/2005
 

Message edited by:
Lijenstina
03/29/2012 12:38:13
Messages: 1902
Why do change the trader files when you can just by adding one line in the db.script that links a function in a script, spawn all/needed weapons on game start /load? Then just comment out the line in the db.script when is not needed and reload the same save and everything returns back to normal.

No log seems that a ltx value - entry is wrong.

The copy - paste "trick" doesn't do anything - it will just paste whatever was in the clipboard - usually a previous crash not the one that resulted in the no log ctd. If you use 1.0004 or 1.006 there is a logger on the stalkerin site - that should make a backup log - haven't tested it. However that could help only in some cases - additional debug is needed.


EDIT:
There you go. Now there is no excuses for not using this

This is the spawner for pure vanilla.

info_portions.xml goes into config\gameplay
http://pastebin.com/WFxvtxJN

db.script and spawn_start_weapons.script goes into scripts
http://pastebin.com/gTjXUNCA
http://pastebin.com/m1kTLTHz

Tested it works. The infoportion is for making sure that the weapons spawn only once not on every level load.
  13:19:25  29 March 2012
profilee-mailreply Message URLTo the Top
Kaidonni
First the Zone, then the world!
(Resident)

 

 
On forum: 08/30/2008
Messages: 1072

---QUOTATION---
Perhaps even easier, edit escape_dialog.script, in particular the function give_weapon_to_actor (trader, actor) section. Here is where you define the items Wolf gives you for the first mission. It isn't save-game compatible, but you only need the name of the item plus the relevant code (which is in there already, you can copy and paste to get more lines). You could give Marked One every weapon in the game quite easily this way, and all at once. If you need to move around, just temporarily boost the carry weight to an insanely high amount.

Can you not just add them all to your starting kit in the gameplay folder for SHOC then? I do that in COP with the weight adjustment when I am adding new guns to check it is all working. I know it works with Troops of Doom but does it not with vanilla?
---END QUOTATION---



Eh, I think that with SOC you have to use the all.spawn for your starting kit. At least, back in 2010 when I was meddling with all.spawn work that's the way I did it.
  13:30:57  29 March 2012
profilee-mailreply Message URLTo the Top
Lijenstina
Doom metal in the shade of the flying radiators
(Resident)

 

 
On forum: 07/23/2005
Messages: 1902
You can't add them into the gameplay/character*xml because it uses the dont_spawn_character_supplies section that disables it for actor.
  13:33:14  29 March 2012
profilee-mailreply Message URLTo the Top
angrydog
Senior Resident
 

 
On forum: 09/01/2009
Messages: 3341

---QUOTATION---
Perhaps even easier, edit escape_dialog.script, in particular the function give_weapon_to_actor (trader, actor) section. Here is where you define the items Wolf gives you for the first mission. It isn't save-game compatible, but you only need the name of the item plus the relevant code (which is in there already, you can copy and paste to get more lines). You could give Marked One every weapon in the game quite easily this way, and all at once. If you need to move around, just temporarily boost the carry weight to an insanely high amount.

Can you not just add them all to your starting kit in the gameplay folder for SHOC then? I do that in COP with the weight adjustment when I am adding new guns to check it is all working. I know it works with Troops of Doom but does it not with vanilla?

Eh, I think that with SOC you have to use the all.spawn for your starting kit. At least, back in 2010 when I was meddling with all.spawn work that's the way I did it.
---END QUOTATION---



there is a line in the actor section that prevents the character supplies from spawning:
[dont_spawn_character_supplies]
you have to remove this line and then you can use the character_desc_general.xml to spawn gear
  13:35:49  29 March 2012
profilee-mailreply Message URLTo the Top
Lijenstina
Doom metal in the shade of the flying radiators
(Resident)

 

 
On forum: 07/23/2005
Messages: 1902
I feel ignored.
  14:22:49  29 March 2012
profilee-mailreply Message URLTo the Top
Darius6
The sound guy...
(Resident)

 

 
On forum: 04/05/2007
Messages: 2131

---QUOTATION---
Why do change the trader files when you can just by adding one line in the db.script that links a function in a script, spawn all/needed weapons on game start /load? Then just comment out the line in the db.script when is not needed and reload the same save and everything returns back to normal.

No log seems that a ltx value - entry is wrong.

The copy - paste "trick" doesn't do anything - it will just paste whatever was in the clipboard - usually a previous crash not the one that resulted in the no log ctd. If you use 1.0004 or 1.006 there is a logger on the stalkerin site - that should make a backup log - haven't tested it. However that could help only in some cases - additional debug is needed.


EDIT:
There you go. Now there is no excuses for not using this

This is the spawner for pure vanilla.

info_portions.xml goes into config\gameplay
http://pastebin.com/WFxvtxJN

db.script and spawn_start_weapons.script goes into scripts
http://pastebin.com/gTjXUNCA
http://pastebin.com/m1kTLTHz

Tested it works. The infoportion is for making sure that the weapons spawn only once not on every level load.
---END QUOTATION---



Thanks! I'll try these. Though first I have to find which file is causing the ctd. But with these files, it's way much easier to pinpoint the specific file, than by editing the trader file.
  14:31:25  29 March 2012
profilee-mailreply Message URLTo the Top
Kaidonni
First the Zone, then the world!
(Resident)

 

 
On forum: 08/30/2008
Messages: 1072

---QUOTATION---
I feel ignored.
---END QUOTATION---



You'll always have my custom inventory thread to shine in.
  15:00:56  29 March 2012
profilee-mailreply Message URLTo the Top
Lijenstina
Doom metal in the shade of the flying radiators
(Resident)

 

 
On forum: 07/23/2005
Messages: 1902

---QUOTATION---
I feel ignored.

You'll always have my custom inventory thread to shine in.
---END QUOTATION---



Actually i did a script that works for the faction patches. Check it out.
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2021 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.