FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   S.T.A.L.K.E.R. CS Modding, Mapping and Editing (http://forums.filefront.com/s-t-l-k-e-r-cs-modding-mapping-editing-1532/)
-   -   editing upgrades (http://forums.filefront.com/s-t-l-k-e-r-cs-modding-mapping-editing/379319-editing-upgrades.html)

luka00 September 25th, 2008 12:10 AM

editing upgrades
 
oh my hello

ever since i bought stalker clear sky ive been annoyed about how when you wan6t to upgrade a weapon or armor the one above you upgrade will not let you upgrade the bottom one is there a way to change this.

if someone knows please inform me.

much obliged

ZanderArch September 25th, 2008 12:23 PM

Re: editing upgrades
 
Assuming you've unpacked the Gamedata, head into your configs\weapons\upgrades directory and find the file for the weapon you wish to edit.
Scroll down all the way to the bottom and you should see text like this, I'm using the Abakan file as an example.
Code:

[up_gr_ab_abakan]
elements                = up_a_abakan, up_b_abakan

[up_gr_cd_abakan]
elements                = up_c_abakan, up_d_abakan

[up_gr_ef_abakan]
elements                = up_e_abakan, up_f_abakan

[up_gr_gh_abakan]
elements                = up_g_abakan, up_h_abakan


[up_gr_i_abakan]
elements                = up_i_abakan

[up_gr_j_abakan]
elements                = up_j_abakan


[up_gr_ac_abakan]
elements                = up_ac_abakan

[up_gr_bd_abakan]
elements                = up_bd_abakan

[up_gr_eg_abakan]
elements                = up_eg_abakan

[up_gr_fh_abakan]
elements                = up_fh_abakan

[up_gr_aceg_abakan]
elements                = up_aceg_abakan

[up_gr_bdfh_abakan]
elements                = up_bdfh_abakan

The bolded text tells the game that those upgrades are mutually exclusive, you can only have one or the other. Change the lines to read like the ones not bolded.

IE:
Code:

[up_gr_ab_abakan]
elements                = up_a_abakan, up_b_abakan

[up_gr_cd_abakan]
elements                = up_c_abakan, up_d_abakan

[up_gr_ef_abakan]
elements                = up_e_abakan, up_f_abakan

[up_gr_gh_abakan]
elements                = up_g_abakan, up_h_abakan

Becomes

Code:

[up_gr_a_abakan]
elements                = up_a_abakan

[up_gr_b_abakan]   
elements                = up_b_abakan

[up_gr_c_abakan]
elements                = up_c_abakan

[up_gr_d_abakan]
elements                = up_d_abakan

[up_gr_e_abakan]
elements                = up_e_abakan

[up_gr_f_abakan]   
elements                = up_f_abakan

[up_gr_g_abakan]
elements                = up_g_abakan

[up_gr_h_abakan]
elements                = up_h_abakan

At least, I think. Haven't tried it, but it should work. Report back with your results.

ciox September 25th, 2008 12:27 PM

Re: editing upgrades
 
That would be the way to go, when I tried pulling that with armors a while ago it started crashing (with an empty .log nonetheless) if I had too many elements though, it only worked up to a point.

Oh and don't forget to edit the weapon's .ltx file too and update the names in its "UPGRADES =" field

sasha September 25th, 2008 12:34 PM

Re: editing upgrades
 
cool. port to SHOC?

ZanderArch September 25th, 2008 12:36 PM

Re: editing upgrades
 
Quote:

Originally Posted by ciox (Post 4598558)
That would be the way to go, when I tried pulling that with armors a while ago it started crashing (with an empty .log nonetheless) if I had too many elements though, it only worked up to a point.

Oh and don't forget to edit the weapon's .ltx file too and update the names in its "UPGRADES =" field

Oh, too correct. I hadn't noticed those.

Code:

upgrades                = up_gr_ab_abakan, up_gr_cd_abakan, up_gr_ef_abakan, up_gr_gh_abakan, up_gr_i_abakan, up_gr_j_abakan
and change them to read

Code:

upgrades                = up_gr_a_abakan, up_gr_b_abakan, up_gr_c_abakan, up_gr_d_abakan, up_gr_e_abakan, up_gr_f_abakan,  up_gr_g_abakan,  up_gr_h_abakan, up_gr_i_abakan, up_gr_j_abakan

luka00 September 26th, 2008 12:18 AM

Re: editing upgrades
 
Thanks allllllooooooootttttt zander i really appreciate it mate. :p

ZanderArch September 26th, 2008 02:37 AM

Re: editing upgrades
 
Quote:

Originally Posted by luka00 (Post 4599703)
Thanks allllllooooooootttttt zander i really appreciate it mate. :p

Don't forget ciox, if he didn't mention the thing in the w_ files, this never would have worked.

luka00 September 27th, 2008 01:22 AM

Re: editing upgrades
 
oh yeah sorry for forgetting you mate thanks to u also ciox cheers


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.