Page 1 of 1

Free upkeep in ports

Posted: Wed Nov 27, 2019 3:50 pm
by Kossatx
Hi, I would like to remove free upkeep for ships in ports. Is it possible?

Re: Free upkeep in ports

Posted: Wed Nov 27, 2019 8:30 pm
by Robotron
open script called:

game_resources.lua

Scroll down to:

function GetUpkeep(faction, pureArmyCost)

goto line 148 which should read:

Code: Select all

if unit.alive and unit.prototype.upkeepPP > 0 and not (unit.type == Unit.NAVAL and unit.hex.construction ~= nil) then
change that line to:

Code: Select all

if unit.alive and unit.prototype.upkeepPP > 0 then
Why do you want to change free upkeep anyway? Do you think it's unbalanced?

Re: Free upkeep in ports

Posted: Wed Nov 27, 2019 10:03 pm
by Kossatx
I only play against AI, and I think AI isn't smart enought to use ports to avoid fleets upkeep. That's the only reason I do it.