Transport Fever

Transport Fever

Capacity Adjuster
47 Comments
Lord Raccoon 30 Jun, 2019 @ 12:31pm 
done
SPQR  [author] 30 Jun, 2019 @ 12:28pm 
Gimme the error code in the "lua error" discussion if you can.
Lord Raccoon 30 Jun, 2019 @ 12:27pm 
ye. So i changed capconfig.all to -1 and game crashes with error related with other mods. To be precised - with hugedragonyk mod "police cars". But if i turn it off - ur mod conflicts with others. I can give a full error code if u need
SPQR  [author] 30 Jun, 2019 @ 12:17pm 
'Let me check my notes...'
Lord Raccoon 30 Jun, 2019 @ 12:03pm 
maybe i did something wrong? But i just changed 3 things:
capacity.all = 1
capacity.cargo=1
capacity.passengers=1.5

Maybe i should set capacity.all to -1?
SPQR  [author] 30 Jun, 2019 @ 11:59am 
@Lord Racoon I use it every day. But just for you, I'll test it with no other mods running; haven't done that for a while
Lord Raccoon 30 Jun, 2019 @ 7:22am 
well, update: the mod doesnt work. Changed the passenger capacity line, to 1.5. Turned on the mod, set it to the first to be loaded. It doesnt work at all.
Lord Raccoon 24 Jun, 2019 @ 10:36am 
changed only one number - passenger capacity and didnt touch anything else. The game crashes with lua error, which says about the conflict with other mods
ilalvaro 5 May, 2019 @ 4:06am 
For me it was easy to use, just read the txt, but yesterday I couldn't find neither the txt or the mod configuration in the capacity adjuster's folder. Now I know why haha
SPQR  [author] 5 May, 2019 @ 3:26am 
This update should be as much as this mod ever needs. I do have an idea to make the config a little more user-friendly, but I don't know how necessary that is.
SPQR  [author] 5 May, 2019 @ 1:08am 
Yep... I have a couple of ideas. The main one is that I had to go back to a backup copy because I accidentally overwrote this with another one! But I don't think the backup copy is fully debugged. I have to refactor this mod in any case, and I'll find time to do it this week since I use it a lot myself so I want a working version. Apologies to anyone else who was using it!
ilalvaro 4 May, 2019 @ 2:32pm 
Since the today's update, the mod has stopped working, with new vehicles showing the original capacity. Any ideas?
GodKingfaves 14 Apr, 2019 @ 5:41pm 
any word on the version that doesnt increast price?
villavine10 14 Apr, 2019 @ 8:41am 
Will this work on modded vehicles? Because i love this one train model, but it has a low capacity.
SPQR  [author] 12 Jan, 2019 @ 3:22am 
kotnour.t sure, no problem. My code is very basic, in any case. And some of it is a little ropey in this version!
kotnour.t 23 Dec, 2018 @ 10:00am 
Hi, I have created custom "Complete rebalance mod" and I would like to use your Capacity Adjuster. Can I implement your code in my mod and add you like a co-author?
abel1717 28 Oct, 2018 @ 1:09pm 
It will be perfect to allow to adjust engine power as well. I tried to look for a mod that does it but can'f find any.
SPQR  [author] 19 Oct, 2018 @ 1:48pm 
@Dong Kong it works by the date that a vehicle becomes available, so you can't apply it to just a single vehicle.
GodKingfaves 13 Oct, 2018 @ 6:13pm 
would be nice if you could
RacistGaming 7 Oct, 2018 @ 4:02pm 
first, does this work for mods that add vehicles? second if i wanna lower a flatcar from 30 to 10 what would i change
SPQR  [author] 7 Oct, 2018 @ 1:36pm 
@GodKingfaves - that's a feature. I'd have to create a version that doesn't do that. I suppose I might...
GodKingfaves 25 Sep, 2018 @ 3:31pm 
this is a nice mod, the only thing i DONOT like about it is that when you increase the capacity it also increases the cost to buy and maint on the vehicle/wagon, anyway to fix?
SPQR  [author] 16 Sep, 2018 @ 2:57pm 
Ryeng - nice catch. It's on the pile for my next dive into LUA mods...
WASTEOFTlME 6 Jun, 2018 @ 11:50pm 
@Yvandrath @SPQR, changing line 56 in the mod.lua from <for j=caps-1,0,-1> to <for j=caps,0,-1> fixes the compartment bug where the last compartment remains unaffected by the capacity adjuster. So far hasn't caused any issues for me, but will report if anything comes up.
SPQR  [author] 24 Dec, 2017 @ 8:45am 
@Yvandrath, Crude, Oil and Fuel don't take up the same amount of space in ships. IDK why...
Yvandrath 22 Dec, 2017 @ 3:49pm 
Great mod, but for some reason vehicles with compartments doesn't change capacity for the last good on the list (for example tanker in each compartment have capacity like; 250 crude or 250 oil or 125 fuel). It doesn't matter if it's original or moded, nor type of vehicle or number of possible cargoes. It is always last cargo on the list (not the last compartment).
SPQR  [author] 15 Dec, 2017 @ 4:59am 
Also, the mod isn't broken. It has a feature that isn't working, and I haven't had time to unit test the updated version.
Drucinda 1 Oct, 2017 @ 4:25am 
I show the mod in my active mod list, but under the 446800 folder there is no 1104465202
SPQR  [author] 27 Sep, 2017 @ 4:48am 
At the moment the loading speed isn't behaving and I've spotted a couple of other (minor) errors. I just got back from a vacation so no fixes for at least a fortnight :-(
Dimple 15 Sep, 2017 @ 5:45am 
Hi, are all errors now fixed?
SPQR  [author] 1 Sep, 2017 @ 12:47pm 
Catch! Thanks. Won't be able to fix it for a couple of days.
Nicky 1 Sep, 2017 @ 8:55am 
you have an error in the file startdates.lua at line 16. it should be :

return fixWithinBounds(capConfig.PASSENGERS.all,0.1,16)


a similar error is at line 20 i suppose.
SPQR  [author] 11 Aug, 2017 @ 6:30am 
@dr4gon-day can you tell me what the lua error says? And if possible, which mods are active when tou get the error?
dr4gon-day 11 Aug, 2017 @ 4:17am 
when i deactivate all mods and make a new vanilla game it works.
dr4gon-day 11 Aug, 2017 @ 4:10am 
And i changed nothing in the config.
dr4gon-day 11 Aug, 2017 @ 4:08am 
yeah i know this mod. But i could not manage to get your mod work i get lua error.
SPQR  [author] 11 Aug, 2017 @ 3:35am 
@dr4gon-day yes it does. But you should also use FX2K's auto-balance mod to make sure costs balance at the same time: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=804326961
dr4gon-day 10 Aug, 2017 @ 11:03pm 
Does this script works with mod vehicle?
SPQR  [author] 10 Aug, 2017 @ 6:53am 
I've updated the instructions both here and in the readme. Hope this helps.
stampfk 10 Aug, 2017 @ 6:32am 
How can i use this modification?
SPQR  [author] 10 Aug, 2017 @ 5:19am 
@BlankBullet - I had added detailed instructions but I accidentally overwrote them. I'll put them back later today.
1BlankBullet 9 Aug, 2017 @ 9:28pm 
Where would I go to change the settings of the mod? Do I need to go into the actual files and edit numbers or do I just access some menu in-game?
Dgidge 8 Aug, 2017 @ 12:34pm 
Thank's ! I dont want to use it, but for somewho, it will be really usefull !
SPQR  [author] 8 Aug, 2017 @ 12:07pm 
I've added some more information to the description.
Dgidge 8 Aug, 2017 @ 10:41am 
I mean, It's will be realy interesting, but I need to see exemples to subscribes
Dgidge 8 Aug, 2017 @ 10:40am 
could you explain your mod more easy ?
Skyedarque (LOD) 8 Aug, 2017 @ 10:23am 
How do you use this mod.