Starman001 Posted December 17, 2013 Share Posted December 17, 2013 With the new EW out, and finally being able to edit the ini's again, the only thing left that I find very bad is the "issue" that items are produced instantly... Big Mods already changed that, but it doesn't seems to be in the ini-files, must be somewhere in the exe to activate the values in the ini first (since item have a time flag already, it's just not used) Can someone please give me hand here ? Link to comment Share on other sites More sharing options...
PsyckoSama Posted December 17, 2013 Share Posted December 17, 2013 I'm interested in this as well. I have some mod ideas that would be well served by this. Link to comment Share on other sites More sharing options...
Amineri Posted December 18, 2013 Share Posted December 18, 2013 Fortunately this is a one-liner ... In XComStrategyGame.upk in XGItemTree.GetItemBuildTime change: if((eItemCat != 3) || IsShipWeapon(eItem)) 07 4E 00 84 9B 38 3A 00 6C 42 00 00 38 3A 24 03 16 18 16 00 1B 47 18 00 00 00 00 00 00 38 3A 00 6D 42 00 00 16 16 to: if((eItemCat != 3) && IsShipWeapon(eItem)) 07 4E 00 82 9B 38 3A 00 6C 42 00 00 38 3A 24 03 16 18 16 00 1B 47 18 00 00 00 00 00 00 38 3A 00 6D 42 00 00 16 16 Since ship weapons are in category 3 this will never be true, resulting in all items taking time to build. Link to comment Share on other sites More sharing options...
Starman001 Posted December 18, 2013 Author Share Posted December 18, 2013 (edited) Thanks for that info. Can I do that with any free available hex editor ? (edit)Hm... cannot even find that position with a hex editor inside the file (edit2),.,... ok, searching for the hex-string brought up a result... changed 84 to 82, game starts and production seems timed... let's hope it's stable :) i wil now change the ini accordingly... Edited December 18, 2013 by Starman001 Link to comment Share on other sites More sharing options...
Amineri Posted December 20, 2013 Share Posted December 20, 2013 I can't really take credit ... this is the method that JL developed many months ago and has been used in Long War for the duration. So it should be pretty stable :). Link to comment Share on other sites More sharing options...
Recommended Posts