Question? (Full Version)

All Forums >> [Current Games From Matrix.] >> [American Civil War] >> Forge of Freedom: The American Civil War 1861-1865



Message


Mike Scholl -> Question? (12/24/2006 8:03:11 PM)

Has anyone else out there noticed when playing against the AI it seems to use "Unrest" and "Disease" as weapons? Whereever you are doing well you get disease? Or if the AI makes an aggressive move the province it's moving into gets disease? Or even if you are being carefull to avoid "unrest" causing activities, it still spreads rapidly in your direction every time a province changes hands?

It's not that such occurances are unexpected in the course of the game..., it's just that these circumstances seem to bring them on with alarming regularity. At least when I'm playing against the AI. Has anyone else noticed this phenomonon?





ericbabe -> RE: Question? (12/24/2006 8:26:07 PM)

I can attest that both these things happen purely at random -- there's no coordination with the AI's plans.   For instance, here's the code for determining where disease strikes:

quote:


// pick a random brigade
// disease strikes here
// worse in swamps
   char buf[256];
   int noBrigades = 0;
   TPieceLoop        Loop(PTGame->PTProvMap);
   GAMEPIECE        p;
   for (Loop.Reset(); Loop.Continue(); Loop.Next())
   {
       p = (GAMEPIECE) Loop;
       if (p->IsBrigade())
           noBrigades++;
   }
   int choice = Random(noBrigades)+1;
   GAMEPIECE pDisease = NULL;
   // find chosen brigade
   {
       TPieceLoop        Loop(PTGame->PTProvMap);
       GAMEPIECE        p;
       for (Loop.Reset(); Loop.Continue(); Loop.Next())
       {
           p = (GAMEPIECE) Loop;
           if (p->IsBrigade())
           {
               choice--;
               if (choice<=0)
               {
                   pDisease = p;
                   break;
               }
           }
       }
   }
   if (pDisease)....







Joram -> RE: Question? (12/24/2006 9:27:46 PM)

Don't know about disease because you never see reported when it hits the enemy but I have seen very large portions of AI controlled "Home" territory in unrest.  A lot of the time you can't see it as it's hidden by fog of war but I do know they can get hit as hard as a normal player can (even though I think they have a bonus to avoid unrest in some circumstances).




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.734375