Author Topic: Change the number of stacked items and the size of the backpack  (Read 378 times)

AX/pupil

  • Newbie
  • *
  • Posts: 2
    • View Profile
Change the number of stacked items and the size of the backpack
« on: February 02, 2020, 11:30:39 am »
Hello, I have a server myself. I'd like to ask where I can change the number of items stacked and the size of my backpack.

Lurler

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1249
    • View Profile
Re: Change the number of stacked items and the size of the backpack
« Reply #1 on: February 03, 2020, 04:47:04 am »
You can make a mod that would change that. Though, explaining how to do a mod would be beyond a short answer on a forum. If modding is something you can realistically do - changing stack sizes is quite easy. Otherwise you can ask help from people on our discord. I'm sure someone will be willing to help you with such a small change.
« Last Edit: February 03, 2020, 05:29:48 am by Lurler »

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1454
    • View Profile
Re: Change the number of stacked items and the size of the backpack
« Reply #2 on: February 03, 2020, 04:49:42 am »
If you want a starting point, here is the "more stack" mod by @proy27 https://drive.google.com/file/d/1RT-ZDZScusRtPjraItEhIXlKdyoGS3De/view it's a server-side mod (client is not aware of it). You can unpack it, see how it's implemented, edit it to include the changes you want, and repack again (use 7-zip with mode Zip "without compression" (it will be not recognized by the game otherwise)).
To increase the size of the backpack you can override this file https://github.com/AtomicTorchStudio/CryoFall/blob/master/Core.cpk/Scripts/Characters/State/PlayerCharacterPrivateState.cs#L138 and change 40 to any number you want.

Regards!