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 Oldest Up Sort by Ascending
  23:17:43  28 June 2012
profilee-mailreply Message URLTo the Top
bamah
Senior Resident
 

 
On forum: 02/10/2008
 

Message edited by:
bamah
06/28/2012 23:22:34
Messages: 911
mp_ranks

Add the new weapons you've added to the mp_ranks.ltx file under section 4. This allows the NPC to use the weapon. Check the console for a bolded white error. Is it asking for a rank for the weapon?

Adding a weapon to the char_dec_XXXX files just gives him the weapon you want him to have.

EDIT:Just read ur first post. Does it use a random loadout for npcs. If you spawn them via menu that may cause an issue.
  20:50:39  28 June 2012
profilee-mailreply Message URLTo the Top
Kocayine
Senior Resident
 

 
On forum: 07/15/2010
Messages: 918
Does nobody have a clue?
  21:34:43  25 June 2012
profilee-mailreply Message URLTo the Top
Kocayine
Senior Resident
 

 
On forum: 07/15/2010
Messages: 918

---QUOTATION---
Yes that is lot of work but you don´t add by all NPC´s the weapon.

But why the bandit in the Agroprom undergrounds have a weapon 2nd time you entered that i don´t know
---END QUOTATION---



Because the problem lies elsewhere.
  21:13:24  25 June 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240
Yes that is lot of work but you don´t add by all NPC´s the weapon.

But why the bandit in the Agroprom undergrounds have a weapon 2nd time you entered that i don´t know
  21:05:35  25 June 2012
profilee-mailreply Message URLTo the Top
Kocayine
Senior Resident
 

 
On forum: 07/15/2010
Messages: 918

---QUOTATION---
You must add the weapon in the character_desc_level_name.xml
There are all NPC´s listed and there you can chose the weapon or add.
---END QUOTATION---

That has already been done for me. I'm not making a mod here, I'm playing one. Besides, adding weapons in those files would be a MASSIVE work and it would seem like the character_desc files are intact because why else would the bandit in the Agroprom undergrounds have a weapon 2nd time I entered?
  21:03:49  25 June 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
 

Message edited by:
olaf1
06/25/2012 21:04:39
Messages: 240
You must add the weapon in the character_desc_level_name.xml
There are all NPC´s listed and there you can chose the weapon or add.

But i think the amk have make a new xml data is that right??
In there stand alle NPC´s for all level.
  20:50:54  25 June 2012
profilee-mailreply Message URLTo the Top
Kocayine
Senior Resident
 

 
On forum: 07/15/2010
Messages: 918
NPC spawning without weapon? or dropping them?

Hey there.

So yeah, I'm playing Narodnaya Solyanka but I thought I'd just make a thread here to perhaps get more attention as this might not be a "NS-only" problem.

Thing is that I often encounter NPCs who have no guns. It's been a while, but for example in Bar area the duty guards towards the wild territory would have no AN94's. I had to sell that to them (lol). In more recent time (today) I've experienced one of the soldiers in the Agroprom attack, just running off. When I shot him I saw how he had ammo enough for an AK74 but he had no actual weapon.

At first I thought it might be something bad in the character_desc files but when I then went into the Agroprom undergrounds, one of the first bandits that attacks you just ran off instead, evidently because he had no weapon. I reloaded a save i made before i entered the underground, where i entered it again and this time, he did indeed have an AK74 ready to blast me with.

Is there someone here with great knowledge in how the AI/NPC's work, who can mayeb help me with this no-weapons issue? Would like to solve it.


Thanks in advance
 
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.