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 Newest Up Sort by Descending
  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.
  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!!!!!
  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.
  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.
 
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-2020 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.