
Convoys don't generates PP
Moderators: Slitherine Core, The Lordz
Convoys don't generates PP
Hi, I have no idea why convoys, once arrive to a friendly port don't generate PP. I have changed some things from POTZBLITZ MOD, but I have no idea what I could have changed to do this
Any idea about this?

Re: Swedish-German convoy don't generates PP
In Potzblitz convoys don't generate 10 PP per convoy strength point but a random amount of between 1 to 10 PP per convoy strength point.
Each convoy will have a different random multiplier of between 0.1 and 1, meaning if you are unlucky, a full 10 strength point convoy can only generate 10 PP which might appear like you got nothing.
This was done for balancing reasons because Entente is receiving much more convoys which would all generate 100PP in the basic game while CP, if blockaded, only has 1 convoy.
As a result Entente is swimming in PP in the basic game.
To give CP a little help the randomizer for CP convoy's PP is rolled twice and the higher value is taken.
Entente convoy randomizer is also rolled twice and the lower value is taken.
If you are VERY unlucky (chance = 1%), and I think that happened in your example, both rolls for the CP convoy were at the lowest possible value.
Each convoy will have a different random multiplier of between 0.1 and 1, meaning if you are unlucky, a full 10 strength point convoy can only generate 10 PP which might appear like you got nothing.
This was done for balancing reasons because Entente is receiving much more convoys which would all generate 100PP in the basic game while CP, if blockaded, only has 1 convoy.
As a result Entente is swimming in PP in the basic game.
To give CP a little help the randomizer for CP convoy's PP is rolled twice and the higher value is taken.
Entente convoy randomizer is also rolled twice and the lower value is taken.
If you are VERY unlucky (chance = 1%), and I think that happened in your example, both rolls for the CP convoy were at the lowest possible value.

Slitherine's Commander the Great War - Director's Cut: POTZBLITZ mod!
FIND IT HERE: http://www.slitherine.com/forum/viewtopic.php?f=218&t=77884&p=662610#p662610
Re: Convoys don't generates PP
I think this is not the problem, I have tested it a few times and no one convoy generates PP, neither CP or allies. But, by the way, could you say me where is POTZBLITZ randomized covoy's PP written?
Re: Convoys don't generates PP
I just checked V11.21 and convoy PP generation worked fine. Also the multiplayers would have complained about the problem.
I guess, the bug must be caused by something you did then.
Which version of Potzblitz is your personal mod base on? The most recent V11.21 or an earlier one?
In V11.21 the part where the randomization takes place is in
Scripts/game/game_convoys.lua in line 126 which reads:
change that to
I guess, the bug must be caused by something you did then.
Which version of Potzblitz is your personal mod base on? The most recent V11.21 or an earlier one?
In V11.21 the part where the randomization takes place is in
Scripts/game/game_convoys.lua in line 126 which reads:
Code: Select all
faction:ConsumeProductionPoints(-(unit.hp * factor))
Code: Select all
faction:ConsumeProductionPoints(-unit.hp)

Slitherine's Commander the Great War - Director's Cut: POTZBLITZ mod!
FIND IT HERE: http://www.slitherine.com/forum/viewtopic.php?f=218&t=77884&p=662610#p662610
Re: Convoys don't generates PP
Oh! Thanks a lot Robotron, problem solved. I did some mistakes editing these lines 
