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

1 2 | Next 10 events »| All Messages
Posted by/on
Question/AnswerMake Oldest Up Sort by Ascending
  19:57:25  12 September 2012
profilee-mailreply Message URLTo the Top
FatalFunnel
(Senior)
 
On forum: 11/07/2011
 

Message edited by:
FatalFunnel
09/14/2012 5:20:28
Messages: 133

---QUOTATION---
Fatalfunel ----> NO!!!!!

I wouldn't say no. I consider it doable by scripting, however it'd probably be a terrible PITA that I doubt anyone would be willing to shoulder.
---END QUOTATION---



This is pretty much what I thought, even if it is possible to do through a script, it's likely to be highly inefficient, just like the idea of just cloning the weapons that ranked NPCs are armed with.


Addendum, the way I could see this working would be to write the same weapon as 2 weapons with different classes, then come up with an AI script that switches from weapon x, to weapon y, depending on the distance that their target is.

The first part I know is possible, and is rather easy compared to the second part, which may be harder to come up with a script for.
  15:38:42  12 September 2012
profilee-mailreply Message URLTo the Top
Meltac
messing with code
(Resident)

 

 
On forum: 01/21/2010
Messages: 1519

---QUOTATION---
Fatalfunel ----> NO!!!!!
---END QUOTATION---



I wouldn't say no. I consider it doable by scripting, however it'd probably be a terrible PITA that I doubt anyone would be willing to shoulder.
  14:06:14  12 September 2012
profilee-mailreply Message URLTo the Top
ZaGaR
Skaarj Hybrid - NaPali survivor
(Resident)

 

 
On forum: 07/24/2007
Messages: 647
Fatalfunel ----> NO!!!!!
  05:28:20  12 September 2012
profilee-mailreply Message URLTo the Top
FatalFunnel
(Senior)
 
On forum: 11/07/2011
Messages: 133
So, having read this thread and the other thread, linked in here, it's possible to have NPCs utilize assault rifles in semi-auto.

Now here's the real question, is there any way that we can scale this by NPC rank, and even more difficult, have them switch fire modes?

The only thing I can think of in regards to my question above is giving higher ranked NPCs in the char_desc files a clone of the same weapon with a different class attenuated to it.
  08:36:35  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
  02:37:00  25 March 2008
profilee-mailreply Message URLTo the Top
ket
Senior Resident
 

 
On forum: 01/13/2006
Messages: 1432
Maybe I'm being picky, but why the hell did GSC give relatively good pistols like the browning HP a crappy WP_PM weapon class? Surely it should be WP_HPSA (as I set it to) and as in the case of the beretta WP_HPSA or WP_WALTH and so on. Doesnt make sence at all. Were they at the vodka again?
  17:41:08  24 March 2008
profilee-mailreply Message URLTo the Top
silverpower
short-haired anarchist hippy scum
(Resident)

 

 
On forum: 08/26/2007
Messages: 790
Seems I need to update my class listing.

WP_GROZA is used for weapons with an *integral* GL - grenade_launcher_status = 1. Not = 2, = 1. Still treated as an assault rifle...
  14:47:45  31 January 2008
profilee-mailreply Message URLTo the Top
ket
Senior Resident
 

 
On forum: 01/13/2006
 

Message edited by:
ket
01/31/2008 14:52:35
Messages: 1432
Bugger.. maybe I'll leave that alone for now then until I figure out exactly what the ef stuff is for. Its not gospel what I said in my other post, it just makes sence that a lower ef number = higher priority. In theory this means if high calibre pistols were changed from an ef of 5, to say 3, an NPC would quite realistically switch between rifle and sidearm depending on his proximity to the intended target.

Alternatively ef numbers might have some indirect baring on weapon class. I noticed that even by making a (relative) minor adjustment (LR300 carbines weapon class being changed from AK74 to GROZA) appeard to work perfectly.. until it come to attaching a grenade launcher, you could attach it, BUT it would not appear on the weapon model and you couldnt switch to it - the grenade launcher attachment would literally only appear on the weapon icon.
  06:12:31  31 January 2008
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4297
I don't know about the ef stuff. Interesting find on the possible priority.

But the grenades are on the bodies after the fact; they are randomly put on the bodies after the NPCs die. See the gamedata\confic\misc\death_items_*.ltx files and how they are used by gamedata\scripts\death_manager.script.
  03:58:31  31 January 2008
profilee-mailreply Message URLTo the Top
ket
Senior Resident
 

 
On forum: 01/13/2006
Messages: 1432
Anyone on the ef weapon type things?
 
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.