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

« Previous 10 events | 1 2 | All Messages
Posted by/on
Question/AnswerMake Oldest Up Sort by Ascending
  14:06:45  29 January 2008
profilee-mailreply Message URLTo the Top
ket
Senior Resident
 

 
On forum: 01/13/2006
 

Message edited by:
ket
01/29/2008 14:56:38
Messages: 1432
Thanks silver. Whoever assigned weapon classes really was on crack. An L85 is pretty damn accurate, is equipped with a 4x scope and they have the AI using it as a close quarters assult rifle. Looking at that table I see ef_weapon_type and ef_main_weapon_type, now both seem pretty self explanatory but to be sure, ef_weapon_type = backup weapon priority (pistols etc) and ef_main_weapon_type = main weapon priority (assault rifles etc)

Also has anyone else noticed that the LR300 doesnt even use its own weapon class? Thats just fuckin stupid.


---QUOTATION---
Very interesting Silver, do you think this has anything to do with how an NPC will evaluate a dropped wpn and decide whether or not to pick it up?
---END QUOTATION---



Taking a stab I would say the lower the ef_weapon_type number, the higher priority it has. Which could well explain why you find NPCs with grenades on them which they never bother throwing because its all the way down at 10.
  10:39:25  29 January 2008
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
Messages: 1430
Very interesting Silver, do you think this has anything to do with how an NPC will evaluate a dropped wpn and decide whether or not to pick it up?
  07:31:23  29 January 2008
profilee-mailreply Message URLTo the Top
silverpower
short-haired anarchist hippy scum
(Resident)

 

 
On forum: 08/26/2007
Messages: 790

---QUOTATION---
weapon classes

I'm sure I got this right but just need it verified. By changing a weapon class.. for example AK74 to SVU, any NPC equipped with the AK74 will treat it like a sniper rifle, yes?
---END QUOTATION---



The class needs to be changed, and so does the 'ef_weapon_type'. This will switch them over from treating it as an assault rifle to treating it as a sniper.

From a post I made in FatRap's thread:

"Okay, there's some serious weirdness going on here.

http://www.mediafire.com/?5jwx013vdly

The formatting wouldn't be preservable so I can't C&P it here.

But there's some very anomalous things going on here.

First off, whoever labeled the classes was on crack, *period*. Full-stop.

Here's an explanation of the classes, as near as I can figure:

WP_PM: Generic pistol class - all 9x18s and all weapons that the AI won't be using. Probably.
WP_WALTH: 9x19mm class. Restricted to one weapon in vanilla - the Walther.
WP_HPSA: Higher-powered weapon class, restricted to Hi-Power.
WP_USP45: Big pistols (though all .45 pistols in-game are CCW-style compacts, except for the deagle).
WP_LR300: This class is *NOT* what you think it is, period. It has NOTHING to do with assault rifles. This is the SMG class.
WP_AK74: Generic assault-rifle class.
WP_GROZA: High-end AR class - FN2000 and Groza use it.
WP_VAL: Enhanced AR class, but (probably) not intended to be higher in the rankings as the Groza-style guns are.
WP_VINT: Autosniper class.
WP_SVU: Low-end sniper class.
WP_SVD: Sniper class.
WP_RG6: GL class.
WP_RPG7: RL class.
WP_BM16: Low-end SG class - used for break-opens in vanilla.
WP_SHOTG: Shotgun class - semi-autos only."
  04:07:16  29 January 2008
profilee-mailreply Message URLTo the Top
ket
Senior Resident
 

 
On forum: 01/13/2006
Messages: 1432
weapon classes

I'm sure I got this right but just need it verified. By changing a weapon class.. for example AK74 to SVU, any NPC equipped with the AK74 will treat it like a sniper rifle, yes?
 
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.