Thread: Wishlist Multi-Tier PD.
View Single Post
  #13  
Old September 5th, 2008, 11:06 PM

Loren Loren is offline
First Lieutenant
 
Join Date: Nov 2006
Posts: 739
Thanks: 1
Thanked 8 Times in 8 Posts
Loren is on a distinguished road
Default Re: Multi-Tier PD.

Quote:
Originally Posted by HoneyBadger View Post
And having unlimited PD scales not only means more processing, but more micromanagement, and a more crowded screen. PD shouldn't be precise, you should still need to recruit units and support it-and understand what you have, and conform your tactics to it-to really make it shine. It should never do the work for you, if you want to get the most out of it.
Other than extreme chokepoints I can't see any reason for really high PD to be used. Allowing it wouldn't mean it would show up in most cases and wouldn't be a CPU drag. Remember that it doesn't need to actually be calculated except when there is a battle.

Quote:
As far as a self-growing/shrinking PD, that would be nice, but it would also be difficult for the player to manage, and a headache to program-and for that matter, again probably a big drain on processor speed.
CPU time = infinitesimal.

The following code runs (not that it's truly executable as is) once per turn calculation. If the first test fails it's not going to use even a microsecond. If it passes I doubt this is a millisecond.

It is quite possible that the dominion isn't stored this way and that test becomes slightly more complex but it's still hard to reach even a millisecond.

If (Month Mod 3) = 1 then
For Province in Provinces do
With Data[Province] do
If (PD > 10) then
Case Dominion of
1..MaxInt : Inc(Pd);
-1..-MaxInt : Dec(Pd);
End;
Reply With Quote