ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Call of Pripyat Forum » Mod discussion
Quick question on upgrades

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  04:29:59  21 March 2017
profilee-mailreply Message URLTo the Top
_xXxTWiST3DxXx_
(Senior)
 
On forum: 05/26/2009
 

Message edited by:
_xXxTWiST3DxXx_
03/21/2017 6:09:48
Messages: 126
Quick question on upgrades

What does the "upgrades" line do in the weapons configs?

(Ex.) w_ak74u.ltx line 22: upgrades = up_gr_firstab_ak74u, up_gr_seconab_ak74u, up_gr_thirdab_ak74u, up_gr_fourtab_ak74u, up_gr_fifthab_ak74u"

---
EDIT:

Also, is it possible to add more than one value to a single upgrade? Say I want to make an upgrade that improves damage but lowers fire rate. I know I can do that, but how do I get it to show the little upgrade icons on the gun description. Ex. Damage +10% Fire Rate -%15.
  01:16:02  23 March 2017
profilee-mailreply Message URLTo the Top
Alundaio
Sad Clown
(Resident)

 

 
On forum: 04/05/2010
Messages: 2220
1. The upgrades available for the weapon.


2. Add the prop_* value to properties that fits the bonus.

[up_firste_abakan]
scheme_index = 2, 0
known = 1
section = up_sect_firste_abakan
property = prop_rpm, prop_reliability
  07:16:23  25 March 2017
profilee-mailreply Message URLTo the Top
_xXxTWiST3DxXx_
(Senior)
 
On forum: 05/26/2009
 

Message edited by:
_xXxTWiST3DxXx_
03/25/2017 7:18:38
Messages: 126

---QUOTATION---
1. The upgrades available for the weapon.


2. Add the prop_* value to properties that fits the bonus.

[up_firste_abakan]
scheme_index = 2, 0
known = 1
section = up_sect_firste_abakan
property = prop_rpm, prop_reliability
---END QUOTATION---



I found that if I put in two properties like that, it uses the same value to add or subtract both properties (Just in the UI). The problem is I want to add (for ex.) 15% RPM and 25% reliability in one upgrade and to properly show this in the UI. I worked around it by adding some stuff to "inventory_upgrades.script" to allow multiple values. Thanks for the reply Alun

Also, is there a way to assign guns as secondarys or primarys so that you can only equip a pistol in one slot or a rifle in the other like the older stalker games?
 
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.: Call of Pripyat Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2007 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.