Changing regimes in random games.

Discuss and post your mods and scenarios here for others to download.

Moderator: Vic

Post Reply
User avatar
MasterChief
Posts: 159
Joined: Mon Feb 09, 2004 12:29 am
Location: The Hundred Fathom Curve

Changing regimes in random games.

Post by MasterChief »

This has become my favorite game and now that I have moved on to playing human opponents I can’t push away from the computer.

One grip I have is that I cannot select the regimes I want to include in a random game.

I know you can go into the editor and I have done that but there is a lot to change. I have figured most out except the unit graphics. For example, if I want to change the Eastern Empire (Russian) to the New Union (French) I can change regime name, people group and flags fairly easy but I can’t figure out how to get the unit graphics to switch from Russian to French. Could use a little guidance. [:)]
Chief of the Watch... Over the 1MC, pass the word... "DIVE!" "DIVE!"... sound two blasts of the Diving Alarm ... and pass the word, "DIVE! "DIVE!"
Lunaticus_matrixforum
Posts: 834
Joined: Wed Dec 31, 2008 3:50 pm
Location: Germany

RE: Changing regimes in random games.

Post by Lunaticus_matrixforum »

Well I think the issue is that after you have changed the regime settings from Russian to French the settings on the map for units and cities are still Russian. I.e. you still have an army consisting of Russian troops and you own cities with Russian population.
You can in the best way change this with a small editor event maybe as follows (in the first line for tempvar1 you can choose which people to change to, 3 is for French. You need to execute this in the editor. It could also easily be incorporated into a usual event but maybe this is something for Vic to deliver as a patch...

0)    SETVAR: TempVar1 = 3
1)    LOOPER: TempVar10 FROM 0 TO CheckTotalUnits
2)      CHECK: CheckUnitX(TempVar10) > -1
3)        CHECK: CheckUnitOwner(TempVar10) == 0
4)          EXECUTE: ExecUnitPeopleModify(TempVar10, -1, TempVar1, -1)
6)        END CHECK
7)      END CHECK
8)    END LOOPER
9)    LOOPER: TempVar10 FROM 0 TO CheckMapWidth
10)     LOOPER: TempVar11 FROM 0 TO CheckMapHeight
11)       CHECK: CheckHexOwner(TempVar10, TempVar11) == 0
12)         EXECUTE: ExecChangePeople(TempVar10, TempVar11, TempVar1)
13)       END CHECK
14)     END LOOPER
15)   END LOOPER

Post Reply

Return to “Mods and Scenarios”