Page 1 of 1

max items

PostPosted: Sat Nov 10, 12 8:24 am
by LinaInverse
Can some1 tell me is it possible to edit the max quantity of items in inventory. For ex. if I want to carry 24 sodacans, or 31 medkit.
I already tried to export all and search for that, but no success...

I can't see the "maxCopies" anywhere in the classes (where I need).

PostPosted: Sat Nov 10, 12 11:30 am
by Alex
To carry multiple items, you need to set these variables, in the defaultproperties:
Code: Select all

The actual code that uses those variables is HandlePickupQuery in DeusExPickup (line 32)

PostPosted: Sat Nov 10, 12 11:51 am
by LinaInverse
Thank you. But how the game knows how many sodacans i can pickup, if there's no such property as maxcopies in the "default" settings of it's class, for example, like in ammo (than again - no "maxcopies" for LAM)? Is it hardcoded?

PostPosted: Sat Nov 10, 12 10:19 pm
by Alex
The variable maxCopies is in the SodaCan class, on line 31 to be exact.

PostPosted: Sun Nov 11, 12 1:12 am
by LinaInverse
oh my god... ok, i admit that i'm blind, and my noobishness reaches beyond limits, but allow me one more question - why i can't see these "maxcopies" in the editor, only when exported? it's a bug? or my stupidity again?


OK lets consider this topic as closed. Thanks again.