ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Call of Pripyat Forum » Mod discussion
Anyone know how to remove the prerequisites from Weapon Upgrades?

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  20:09:56  4 March 2010
profilee-mailreply Message URLTo the Top
FourAces
(Senior)
 
On forum: 02/06/2008
Messages: 115
Anyone know how to remove the prerequisites from Weapon Upgrades?

I want to activate the whole upgrade system for a weapon/armor. I want to maintain the A vs. B choices, but I want the player to choose what upgrade to install first, even if that comes from the third row. While looking for this I found the conditions that limit it based on the toolsets, and removed them easily enough. I cannot find anything that actually seems to work for weapon prerequisites.

As far as I can tell the following do not actually work:

weapon_upgrades.ltx
precondition_functor = inventory_upgrades.precondition_functor_a
precondition_parameter = a & b

upgrades_properties.ltx
functor = inventory_upgrades.property_functor_*

For this last I tried converting all * to "a" but that did nothing.

It is hard to decode this since so much is inactive code bloat that they did not comment out.

Thanks!
  22:59:01  4 March 2010
profilee-mailreply Message URLTo the Top
Les_Punk
(Novice)
 
On forum: 11/06/2007
 

Message edited by:
Les_Punk
03/04/2010 22:59:28
Messages: 32
Haven't tried it, but it sounds like this mod does what you want:
http://stalker.filefront.com/file/Full_Upgrades_Without_Tools;109575

Otherwise, I think you need to edit the Stalkers_upgrade_info.ltx in the \gamedata\configs\misc section. You need to change everything to look like this:
up_sect_firsta_novice_outfit = true

instead of most of them looking like this:
up_sect_firstc_novice_outfit = {!upgrade_hint_kardan(2)} false, true
up_sect_firste_novice_outfit = {!upgrade_hint_kardan(3)} false, true

I think, I'm not positive. May want to back up that file first
  02:56:37  5 March 2010
profilee-mailreply Message URLTo the Top
FourAces
(Senior)
 
On forum: 02/06/2008
 

Message edited by:
FourAces
03/05/2010 2:57:26
Messages: 115

---QUOTATION---
Haven't tried it, but it sounds like this mod does what you want:

---END QUOTATION---



Thanks, but that just allows all the upgrades to be made without considering if you have brought the mechanic any tools. I want to make it so that players can start with Tier 3 upgrades if they want. Basically, I want to eliminate the "previous upgrade" check.

Most of the upgrades (both Vanilla and my new ones) are not logically linked (except the A or B choices). Why should you have to install a Tier 1 upgrade before you can install a Tier 2 even though they have nothing to do with each other. The scopes are the silliest. You need to modify a trigger to install a scope? I think not.

Right now I have the tool check disabled, but you would still have to pay for the T1 & T2 upgrades to get to a T3.
 
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.