Page 1 of 1

Leader Command Radius

Posted: Sun Sep 23, 2007 11:26 pm
by Jagger
Is it possible to mod a leader's command radius? I looked at both models and units and did not find a value for command radius. Anyone know if that data is available?

Pocus if we do not have those values available, is it possible you can make that data available?

Posted: Sun Sep 23, 2007 11:32 pm
by Rafiki
It varies with the leader's strategic rating, I think, but what e.g. a rating of 1 translates to in term of regions, I don't know.

Posted: Mon Sep 24, 2007 12:37 am
by Jagger
Rafiki wrote:It varies with the leader's strategic rating, I think, but what e.g. a rating of 1 translates to in term of regions, I don't know.


I suspect you are right.

I wonder if AGEOD has a small database that can be modified so we can experiment with the impact of changing command radius or if it is hardcoded?

Posted: Mon Sep 24, 2007 8:52 am
by Pocus
The variables are not hardcoded but are not exported systematically, too much work :)

But I exported the 3 you would need, for the next 1.07 version.

Posted: Tue Sep 25, 2007 3:45 am
by Jagger
Pocus wrote:The variables are not hardcoded but are not exported systematically, too much work :)

But I exported the 3 you would need, for the next 1.07 version.


Thanks Pocus! I will experiment with them this week.

Posted: Tue Sep 25, 2007 7:07 am
by Pocus
In case of doubt, they are these ones:

ldrGHQStackMinRange = 3 // Minimum GHQ (Army) range
ldrGHQStackCoeffRange = 100 // Strat Value coefficient to get GHQ (Army) range (100% = 100% of strat rating)
ldrGHQStackBonusRange = 0 // Strat Value bonus to get GHQ (Army) range (after ldrGHQStackCoeffRange_ is applied)

Posted: Tue Sep 25, 2007 7:30 am
by Jagger
Pocus wrote:In case of doubt, they are these ones:

ldrGHQStackMinRange = 3 // Minimum GHQ (Army) range
ldrGHQStackCoeffRange = 100 // Strat Value coefficient to get GHQ (Army) range (100% = 100% of strat rating)
ldrGHQStackBonusRange = 0 // Strat Value bonus to get GHQ (Army) range (after ldrGHQStackCoeffRange_ is applied)


Got it! I am testing it with values of 0, 9 and 0. :dada:

I think it should be interesting.

Posted: Tue Sep 25, 2007 11:21 am
by Pocus
9% ??? it means no radius except if you have a strat of 6. Don't try to play the AI with that!

Posted: Tue Sep 25, 2007 7:45 pm
by Jagger
Pocus wrote:9% ??? it means no radius except if you have a strat of 6. Don't try to play the AI with that!


Actually the AI is not doing badly in my testing. Although the intent is to use during PBEM.

With the above ratings, all army commanders, except those with strategic rating of 6 and above, provide army bonus only within their own 20-30 mile region. Encourages concentrated armies which frees up maneuvering space.

Thus the Grants, Lees, Shermans, etc can provide army leadership out one additional region for a total army command radius of 40-60 miles. The commanders with strat ratings less than 6 are restricted to a army commander rating of 20-30 miles of a single region. Seems reasonable for army attack/defense bonuses. Although I also increased the benefit of army bonuses by reducing the command modifier from -2 to -1.