ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
how can i make NPC's drop their default weapons?

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  01:32:17  6 April 2014
profilee-mailreply Message URLTo the Top
optical_illusion
Senior Resident
 

 
On forum: 02/09/2013
Messages: 176
how can i make NPC's drop their default weapons?

Aside from editing their bleed config that makes them go into wounded mode and sometimes drop their weapons, or sometimes they sheath it..is there any better way?
  04:15:43  6 April 2014
profilee-mailreply Message URLTo the Top
Alundaio
Sad Clown
(Resident)

 

 
On forum: 04/05/2010
 

Message edited by:
Alundaio
04/06/2014 4:18:05
Messages: 2230
The animation state manager is what makes them drop their weapon. Look in state_lib.script for the 'wounded' states. It will have weapon = "dropped". However, I have no idea why you are experiencing unreliability when it comes to dropping the weapon.

You could just try weapon = "none" and it will go into their inventory instead of dropping it. I think maybe the problem is they drop the gun but immediately re-pick it up and strap it before they fall to the ground wounded.
 
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-2022 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.