Is there a way to increase the amount of prestige earned by the AI as turns go by?
Something like 30/turn to start, jumping to 40/turn on turn 4, and then 50/turn on turn 7.
I know that I can change the initial amount of prestige and the prestige per turn using the scenario editor, but I'd like to make it so that the AI gets an increasing amount of prestige per turn the longer the scenario goes on.
Is it even possible?
Increasing AI prestige earnings later in scenario?
Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design
-
- Brigadier-General - 15 cm Nblwf 41
- Posts: 1912
- Joined: Thu Sep 13, 2012 7:42 am
Re: Increasing AI prestige earnings later in scenario?
You can script prestige increases. Unfortunately, the script editor doesn't appear to do basic maths so you can't say [prestige boost = turn number x amount]. Instead you have to use a lot of repetition.
So for example, script it so that one turn 1 add 25 prestige, another script adds 50 on turn 2, another adds 75 on tuurn 3 and so on.
It is a bit less work to add a larger amount less often - turn 4 add 250, turn 8 add 500, turn 12 add 750 prestige.
I'm really hoping someone has a better way!
So for example, script it so that one turn 1 add 25 prestige, another script adds 50 on turn 2, another adds 75 on tuurn 3 and so on.
It is a bit less work to add a larger amount less often - turn 4 add 250, turn 8 add 500, turn 12 add 750 prestige.
I'm really hoping someone has a better way!
Re: Increasing AI prestige earnings later in scenario?
captainjack wrote:You can script prestige increases. Unfortunately, the script editor doesn't appear to do basic maths so you can't say [prestige boost = turn number x amount]. Instead you have to use a lot of repetition.
So for example, script it so that one turn 1 add 25 prestige, another script adds 50 on turn 2, another adds 75 on tuurn 3 and so on.
It is a bit less work to add a larger amount less often - turn 4 add 250, turn 8 add 500, turn 12 add 750 prestige.
I'm really hoping someone has a better way!
The scripted way isn't exactly elegant, but it is better than just handing the AI a ton of prestige at the start of the scenario. That method just gets a bunch of front-loaded unit spam instead of the steady increase in resistance that I'm looking for.
As always, captainjack, thanks for the info.
Re: Increasing AI prestige earnings later in scenario?
There are two ways to add prestige.
With examples.
1) Scenario Params -> Sides :
Prestige per turn 100
2) Scenario Params -> Scripts :
Beginning of Turn [10 -1] ; Run Count = 5 ; Add Axis prestige 500
Which should give 100 points turns 1 - 9, 600 points turns 10 - 15, 100 points turns 16+.
The Run Count variable reduces the number of lines needed.
With examples.
1) Scenario Params -> Sides :
Prestige per turn 100
2) Scenario Params -> Scripts :
Beginning of Turn [10 -1] ; Run Count = 5 ; Add Axis prestige 500
Which should give 100 points turns 1 - 9, 600 points turns 10 - 15, 100 points turns 16+.
The Run Count variable reduces the number of lines needed.
There comes a time on every project when it is time to shoot the engineer and ship the damn thing.
-
- Brigadier-General - 15 cm Nblwf 41
- Posts: 1912
- Joined: Thu Sep 13, 2012 7:42 am
Re: Increasing AI prestige earnings later in scenario?
Thanks Dalfrede.
It's always good to find another scripting tool.
It's always good to find another scripting tool.
Re: Increasing AI prestige earnings later in scenario?
Thank you, dalfrede!!!dalfrede wrote:There are two ways to add prestige.
With examples.
1) Scenario Params -> Sides :
Prestige per turn 100
2) Scenario Params -> Scripts :
Beginning of Turn [10 -1] ; Run Count = 5 ; Add Axis prestige 500
Which should give 100 points turns 1 - 9, 600 points turns 10 - 15, 100 points turns 16+.
The Run Count variable reduces the number of lines needed.
Assuming that substituting 'Allies' for 'Axis' would give the additional prestige to the other side, I think I have everything I need to make things much more difficult for myself.
