Germany getting manpower via convoys?

PC/MAC : Commander the Great War is the latest release in the popular Commander series to bring the thrill, excitement and mind-breaking decision making of these difficult times to life.

Moderators: Slitherine Core, The Lordz

Post Reply
Robotron
Lieutenant Colonel - Panther D
Lieutenant Colonel - Panther D
Posts: 1247
Joined: Tue Nov 23, 2010 3:35 pm

Germany getting manpower via convoys?

Post by Robotron » Sat Aug 08, 2015 9:37 am

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. :)

DanielHerr
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 117
Joined: Sun Jan 11, 2015 7:51 pm
Contact:

Re: Germany getting manpower via convoys?

Post by DanielHerr » Sat Aug 08, 2015 8:56 pm

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.
danielherr.github.io

Robotron
Lieutenant Colonel - Panther D
Lieutenant Colonel - Panther D
Posts: 1247
Joined: Tue Nov 23, 2010 3:35 pm

Re: Germany getting manpower via convoys?

Post by Robotron » Sun Aug 09, 2015 8:30 am

Thanks a bunch, will try that! Do you think the entente-AI might be too handicapped if I chose to apply (-unit.hp/5)?

DanielHerr
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 117
Joined: Sun Jan 11, 2015 7:51 pm
Contact:

Re: Germany getting manpower via convoys?

Post by DanielHerr » Sun Aug 09, 2015 6:53 pm

Not likely, since it was at (-unit.hp / 10) in 1.5.
danielherr.github.io

Rongor
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 11
Joined: Thu Jul 31, 2014 1:03 am

Re: Germany getting manpower via convoys?

Post by Rongor » Thu Aug 20, 2015 9:59 am

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.

Post Reply

Return to “Commander - The Great War”