Kirii 1 Posted March 21, 2010 Share Posted March 21, 2010 (edited) I thought of a great but simple mod. Increase the stack count of potions to unlimited instead of 20. And make Runes stackable. I have searched through the drop.txt and balance.txt but didn't see anything that might be the setting. Anybody have any ideas where to look? Thanks, Kirii Edited March 21, 2010 by Kirii 1 Link to comment
Malachor 11 Posted March 22, 2010 Share Posted March 22, 2010 I've had a look in blueprint, itemtype, iteminfo,and weaponpool, and although I've found references to various potions and runes in them, none have anything remotely resembling stack size or stackable. Unless I missed it, I guess the only other option would be the game's executable. 1 Link to comment
Kirii 1 Posted March 24, 2010 Author Share Posted March 24, 2010 I've had a look in blueprint, itemtype, iteminfo,and weaponpool, and although I've found references to various potions and runes in them, none have anything remotely resembling stack size or stackable.Unless I missed it, I guess the only other option would be the game's executable. Well, tried all those files and the skin xml file in the pak folder. I managed to make every potion take up "0" blocks instead of "1" in the inventory, essentially making them invisible and take up no room, but then they become unusable and un-purchasable. I did stumble across the code for the player chest and shared chest though. I managed to create three more tabs of inventory in the chest but they ended up just being duplicates of the shared chest. The code can be found in the skin-xml.zip file in the pak folder under windows=>chestinventory.xml. Maybe somebody with a little more knowledge could figure out how to change the new tabs into 2nd and 3rd shared chests? Link to comment
Delta! 987 Posted May 22, 2010 Share Posted May 22, 2010 Multiple tabs would be greeeeaat! I'm playing with 6 characters at the moment( Seraphim, Dryad, High elf, Shadow Warrior, Temple Guardian, and Dragon Mage) , all in single player and one shared tab is just not enough! some of the weapons that I pass along from one character to another just takes up to much space! 1 Link to comment
DMCain 1 Posted May 28, 2010 Share Posted May 28, 2010 I did stumble across the code for the player chest and shared chest though. I managed to create three more tabs of inventory in the chest but they ended up just being duplicates of the shared chest. The code can be found in the skin-xml.zip file in the pak folder under windows=>chestinventory.xml. Maybe somebody with a little more knowledge could figure out how to change the new tabs into 2nd and 3rd shared chests? I looked into this myself. and I also got 2 duplicates of the shared chest. After much vexation, I have come to the conclusion that LokaID's need to be made for the additional tabs. Tab1 - LokaID="UI_SHAREDCHEST" (we got this one already) Tab2 - LokaID="UI_SHAREDCHEST2" Tab3 - LokaID="UI_SHAREDCHEST3" I'll keep digging to see if I can find where the UI definitions are handled and see if I can create the additional chest tabs. If I can find the UI definitions, I think I'll try for 2 player chests and 2-3 shared. (Yes, I collect that much crap. ) Link to comment
Gumby 3 Posted January 20, 2011 Share Posted January 20, 2011 (edited) I can't believe no one hasn't looked into this since the last post in May of last year. I mean doesn't this bug anyone else that you need to use up a lot of space for the different potions? In every other game I've played someone has figured out a way to increase the stack size to say 50-100. Hell I'd happily send someone a case of their favorite beer if they posted a mod for it. Edited January 20, 2011 by Gumby 1 Link to comment
Delta! 987 Posted February 25, 2011 Share Posted February 25, 2011 (edited) Anyone figured something out about stacking potions to more than 20? would really appreciate help with that. Edited February 25, 2011 by Delta! Link to comment
Dragon Brother 619 Posted February 25, 2011 Share Posted February 25, 2011 No such luck, as mentioned above its most likely hardcoded somewhere and thus unchangeable. Link to comment
doublexagent 0 Posted August 28, 2014 Share Posted August 28, 2014 I did stumble across the code for the player chest and shared chest though. I managed to create three more tabs of inventory in the chest but they ended up just being duplicates of the shared chest. The code can be found in the skin-xml.zip file in the pak folder under windows=>chestinventory.xml. Maybe somebody with a little more knowledge could figure out how to change the new tabs into 2nd and 3rd shared chests? I looked into this myself. and I also got 2 duplicates of the shared chest. After much vexation, I have come to the conclusion that LokaID's need to be made for the additional tabs. Tab1 - LokaID="UI_SHAREDCHEST" (we got this one already) Tab2 - LokaID="UI_SHAREDCHEST2" Tab3 - LokaID="UI_SHAREDCHEST3" I'll keep digging to see if I can find where the UI definitions are handled and see if I can create the additional chest tabs. If I can find the UI definitions, I think I'll try for 2 player chests and 2-3 shared. (Yes, I collect that much crap. ) Could u explain how to do this? Please Link to comment
Saraphima 34 Posted September 18, 2014 Share Posted September 18, 2014 (edited) You might need to add this part of code per tab. This is for the chestinventory.xml file. <CSuiInventory Name="Inventory1" forcecolorhit="1"> <rect x="28" y="13" width="784" height="337" /> <CWindow neverhit="1"> <rect x="-5" y="-5"/> <CVisualBitmap template="frame.inv"/> <CVisInventory Name="VIS_SUI_INVENTORY" Color="0xffffffff" ColorShader="shader.color" TexShader="shader.preview_do_n_sg"/> </CWindow> </CSuiInventory> <CButton template="button.tab" name="Tab1"> <rect x="170" y="-18" width="120" height="32" /> <CTextbox neverhit="1"> <rect x="0" y="6" width="120" height="20" /> <CVisualText template="text.tab" LokaID="UI_SHAREDCHEST"/> </CTextbox> <!-- cSuiToolTipData lokaid="UI_TT_EQUIPTAB"/ --> </CButton> for the tabs you should just be able to copy this part but change tab1 to tab2 and maybe us_sharedchest2. The 170 should be 292. This makes you have 3 tabs but so far you can only click on them but you can't add of take out from them...yet. Edited September 19, 2014 by Saraphima Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now