ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
NPC spawning without weapon? or dropping them?

« Previous 10 events | 1 2 | All Messages
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  05:42:46  29 June 2012
profilee-mailreply Message URLTo the Top
Derranged
Senior Resident
 

 
On forum: 04/12/2010
Messages: 1009
Well, that is pretty weird if you ask me... I have no clue really, I guess just keep looking. If you use "Agent Ransack" do a search for "wpn_bm16 = 1, prob"

If you don't know what Agent Ransack is, it is a very useful tool which looks through every file for that line of script.
  14:04:51  29 June 2012
profilee-mailreply Message URLTo the Top
Kocayine
Senior Resident
 

 
On forum: 07/15/2010
Messages: 918

---QUOTATION---
Well, that is pretty weird if you ask me... I have no clue really, I guess just keep looking. If you use "Agent Ransack" do a search for "wpn_bm16 = 1, prob"

If you don't know what Agent Ransack is, it is a very useful tool which looks through every file for that line of script.
---END QUOTATION---



Thanks for the suggestion, already using grepWin for that but I guess they do exactly the same thing the two programs.

It seems like there is no weapons that uses the "prob". (Probability of spawning, I guess it means). Only items like guitars, food and what not... and it doesn't seem like (I know this is hard to say because the character_desc files are massive) any characters have missing weapons in their "supplies".
  14:20:25  29 June 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
06/29/2012 14:22:42
Messages: 1902
The problem with the vanilla weapon spawn generator in the xml's is that sometimes an npc get spawned a lot of weapons and sometimes it doesn't have any.

For instance, if the probability is three weapons is 0.3 ( 30%) each is quite possible to have no weapons spawned and or all three are spawned. Also if the npc doesn't have ammo for the weapon it will not be used.
  14:26:31  29 June 2012
profilee-mailreply Message URLTo the Top
Kocayine
Senior Resident
 

 
On forum: 07/15/2010
Messages: 918

---QUOTATION---
The problem with the vanilla weapon spawn generator in the xml's is that sometimes an npc get spawned a lot of weapons and sometimes it doesn't have any.

For instance, if the probability is three weapons is 0.3 ( 30%) each is quite possible to have no weapons spawned and or all three are spawned. Also if the npc doesn't have ammo for the weapon it will not be used.
---END QUOTATION---



But each inventory in the character_desc files only have one weapon and there's not even a "prob". It's set to definitely give the said NPC the listed weapon.
  18:35:44  29 June 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
06/29/2012 18:42:42
Messages: 1902
All of the some 1000 characters defined in the xmls ?

EDIT:
Interesting. It does seem to be set to spawn for the most part.

Hm. The other possibility is that amk_offline did sell the weapon of the npc.
  18:38:11  29 June 2012
profilee-mailreply Message URLTo the Top
Kocayine
Senior Resident
 

 
On forum: 07/15/2010
Messages: 918

---QUOTATION---
All of the some 1000 characters defined in the xmls ?
---END QUOTATION---

I have been thru almost all of them, atleast the bandits. Besides, if that was the source of the problem wouldn't it be like that every time the NPC spawned?
  20:50:55  29 June 2012
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6349
I had this a few times in my megamod. No idea of the cause. I had no ai packs in it and nothing out of the ordinary, except a few hacks of my own. I guess the engine is very particular (actually i now know it is) to some changes regarding npc's.
 
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.