Page 1 of 1

Germany getting manpower via convoys?

Posted: Sat Aug 08, 2015 9:37 am
by Robotron
I'm puzzled about the results of convoys anchoring in my german ports: besides netting me the nice 100 point production-point bonus per convoy my manpower also rises by 100 per convoy!
This seems highly unrealistic to me as it makes mp-shortage a non-issue (playing V1.62).

Two questions:

1. Is this intended or a bug?

2. Where in the script can I change this behaviour? I presume it's somewhere in data/scripts/game/game_convoys.lua ....but where exactly, what line has to be changed in what way?

Thanks in advance for any help on this. :)

Re: Germany getting manpower via convoys?

Posted: Sat Aug 08, 2015 8:56 pm
by DanielHerr
It must be intended. You can change it at line 62. You can simply delete faction:ConsumeManpower(-unit.hp) , but then the Allies wouldn't get manpower income from convoys. Instead, you might want to exclude Germany, like this:

Code: Select all

if faction.id ~= 2 then
  faction:ConsumeManpower(-unit.hp)
end
If you think 100 max is too much, change it by dividing the unit.hp, such as (-unit.hp / 10) will give up to 10 manpower. The reason unit.hp returns 100 is that the unit health system is actually based on 100, but is rounded when displayed.

Re: Germany getting manpower via convoys?

Posted: Sun Aug 09, 2015 8:30 am
by Robotron
Thanks a bunch, will try that! Do you think the entente-AI might be too handicapped if I chose to apply (-unit.hp/5)?

Re: Germany getting manpower via convoys?

Posted: Sun Aug 09, 2015 6:53 pm
by DanielHerr
Not likely, since it was at (-unit.hp / 10) in 1.5.

Re: Germany getting manpower via convoys?

Posted: Thu Aug 20, 2015 9:59 am
by Rongor
The manual says
MP generally does not increase. The only exception is that Entente
convoys provide 1 MP for every remaining strength point when arriving
in port. This represents the constant stream of colonial reinforcements
available to some nations.
So the Entente should get 1 MP per convoy stength point.
Germany gets none.