ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
npc's preferring shotguns?

« Previous 10 events | 1 2 | All Messages
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  17:52:15  25 May 2012
profilee-mailreply Message URLTo the Top
100RadsBar
100RadsBar - Formerly known as LoboTheMan
(Resident)

 

 
On forum: 06/03/2009
Messages: 1716

---QUOTATION---
That solution has the problem of the shotgun never being used. AI will not choose the sawed-off in close range engagements, considering it an underpowered pistol.

F..ck GSC for coding so many elementary things under the engine's hood.
---END QUOTATION---



Yes it is not a perfect solution, but at least it will save the NPC from going into combat with a sawn-off shotgun, if they have an assault rifle in their possession
  18:05:21  25 May 2012
profilee-mailreply Message URLTo the Top
the_marked_one
Senior Resident
 

 
On forum: 11/21/2010
Messages: 647
What i did was to just change ef_weapon_type (left ef_main_weapon_type alone) for the toz34 (may also check the other shotguns) so rather than being 7 its now 5, tested fine oleg no longer even equips it, it and the ammo i sold him now sits in his inventory
  18:18:23  25 May 2012
profilee-mailreply Message URLTo the Top
100RadsBar
100RadsBar - Formerly known as LoboTheMan
(Resident)

 

 
On forum: 06/03/2009
 

Message edited by:
100RadsBar
05/25/2012 18:20:03
Messages: 1716

---QUOTATION---
What i did was to just change ef_weapon_type (left ef_main_weapon_type alone) for the toz34 (may also check the other shotguns) so rather than being 7 its now 5, tested fine oleg no longer even equips it, it and the ammo i sold him now sits in his inventory
---END QUOTATION---



You can take a look at the Priboi Story Overhaul, there you can see the changes I made to the weapons. Might make it easier, to change the remaining weapons.

Direct link: http://semak.dk (Take the full version on the top of the page )
  18:30:41  25 May 2012
profilee-mailreply Message URLTo the Top
the_marked_one
Senior Resident
 

 
On forum: 11/21/2010
Messages: 647
Remaining weapons now changed, i left the winchester 1300 and spas 12 alone as those are pretty rare in my game besides i didnt want father diodor or poker to start using other weapons, the list of annoyances is getting less and less, few days time i should be done with changes that require a new game (these dont but others im doing do)
  14:30:21  13 June 2012
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4302
Yes, it is not fixed in the ZRP, which keeps the vanilla behavior. I thought about including such a change, but every mod that added weapons has their own settings in the config files that would override whatever was in the ZRP, and there might even be conflicts with those mods that only added new weapons.

No one has brought it up lately, and I suspect that's because the ones who care enough are already using something like AMK Arsenal (see link below) or the Rulix/Bak Weapon Manager.

Just an interesting FYI to show one how far you can take this ef_weapon_type change:

In the thm_id=13811 thread cited by LoboTheMan, Storm Shadow referenced silverpower's explanation in the "weapon classes" thread (thm_id=13201, post dated 29 January 2008). But silverpower and Skullhunter got together and worked more details out with a solution later in the year.

See Skullhunter's 10 August 2008 post in this thread:

---QUOTATION---
"AMK Weapon Add-on - WIP", page 5:
https://www.gsc-game.com/main.php?t=community&s=forums&s_game_type=xr&thm_id=14310&page=5&sec_id=16
---END QUOTATION---

  14:33:28  13 June 2012
profilee-mailreply Message URLTo the Top
SetaKat
Ex modder, Zones only ferret and will someday release a game
(Resident)

 

 
On forum: 02/20/2010
 

Message edited by:
SetaKat
06/13/2012 14:33:40
Messages: 6342
Great info.
Always nice when little gems like this surface.
  15:39:33  13 June 2012
profilee-mailreply Message URLTo the Top
Meltac
messing with code
(Resident)

 

 
On forum: 01/21/2010
Messages: 1519
Wow, I had no idea that this weapon priority thing ever got a solution
  10:02:44  20 June 2012
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
 

Message edited by:
Storm Shadow
06/20/2012 10:03:25
Messages: 1430
I've been testing with this for some time. and although i cant go so far as to say that Skull Hunter is wrong, I certainly havnt been able to reproduce his results with my weapons.

I dont have it all figured out just yet, but more testing is required.

anyone else had any success with this method? the problem im having is that NPCs are now preferring to use their pistols instead of there assault rifles or other weapons (regardless of range)!

also, does anyone know what ef_main_weapon_type is for and how it works....?

cheer
  13:56:39  20 June 2012
profilee-mailreply Message URLTo the Top
ZaGaR
Skaarj Hybrid - NaPali survivor
(Resident)

 

 
On forum: 07/24/2007
Messages: 647
I find also difficult to see how it works. At the time, I did some reclasification and reordering by altering both ef_weapon_type and ef_main_weapon_type, but nothing happened. I'm not eve sure that the first one can use values above 10, although they say it can. Most probably the engine truncates or converts the values >10 to something below it.
  08:37:18  2 September 2012
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
Messages: 1430
Want to know why NPCs seem to love there shitty old shotguns so much? Want to answer the age old question of "how can i give an AKSU-74 to an NPC who already has a BM-16?" want to know what ef_weapon_type really does? or want to know why NPCs will only fire some weapons in single shot and others in full auto?

all this and more is now answered in this one complete thread:
[Tutorial] The Truth about ef_weapon_type
https://www.gsc-game.com/main.php?t=community&s=forums&s_game_type=xr&thm_id=21708&sec_id=16page=1
 
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.