Page 1 of 1

[Solved]How can I change the storage amount of my tank?

Posted: Sat Sep 12, 2015 4:09 pm
by memcallen
How do I change the amount that my tank can store?

Re: How can I change the storage amount of my tank?

Posted: Sat Sep 26, 2015 12:42 pm
by Klonan
Are you making a new tank mod or you want to change the normal game tank?

If you want to change the normal tank, then heres what you do
Navigate to this directory
Open up entities.lua

Ctrl-f for 'tank_driving'
You should see something like this
And you can change 'inventory_size' from 80 to whatever you may please



Note: this may break the game updating, so make a backup of the file and replace it back before trying to update in the future

Re: How can I change the storage amount of my tank?

Posted: Wed Sep 30, 2015 1:34 am
by memcallen
I'm creating a new tank, but I should've been more specific. I meant liquid tanks, which is why I'm asking. I'm not even sure if it's possible at this point.

Re: How can I change the storage amount of my tank?

Posted: Tue Oct 06, 2015 11:23 am
by cartmen180
the liquid storage tanks are handled as really large pipes. Just change the base_area in the entity type.

Re: How can I change the storage amount of my tank?

Posted: Thu Oct 08, 2015 8:03 pm
by memcallen
Thanks, I got it to work.