[Warlords] Year of the four emperors

Paolo80

Chieftain
Joined
Dec 20, 2019
Messages
85
Hi guys,

here a warlords' scenario setting in the four emperors years (69 d.c.). You can play as Galba, Otho, Vitellius or Vespasian. Your goal is conquering the three Italian cities Mediolanum, Cremona and Roma. There are still some points to fix. This scenario is only in Italian language.

17/01/2020: I fixed some bugs. I added a "mercenaries" choice at the beginning of the game.

Here the download link:

https://forums.civfanatics.com/resources/year-of-the-four-emperors-68-69-d-c-warlords.28006/

Here the historic link:

https://en.wikipedia.org/wiki/Year_of_the_Four_Emperors

I'm waiting for suggestions.

Enjoy
 
Last edited:
Here the beginning map
 

Attachments

  • screen.png
    screen.png
    336.3 KB · Views: 487
I added new version with English text
 

Attachments

  • Civ4ScreenShot0001.JPG
    Civ4ScreenShot0001.JPG
    79.2 KB · Views: 429
I would want to prevent every team to declare war to another team until the 19th turn.

I wrote in CvEventManager.py the following lines

Code:
def onBeginGameTurn(self, argsList):

....

if iGameTurn < 19:
            for i in range(4):
                for j in range(4):
                    eTeam = gc.getTeam(i)
                    if i == j:
                        return
                    else:
                        eTeam.makePeace(gc.getPlayer(j).getTeam())

to force every team make peace with each others, but it doesn't seem work.

Someone can help me?

Thank you
 
I solved. I changed war option and updated the scenario. Now you can declare war to other players only after Nero's death.

Enjoy
 
I wanted to see if the victory condition works so I opened world builder and gave myself some units near the 3 cities of Roma, Mediolanum, and Bedriacum.
Nothing happened! Is the victory condition delayed until a bit later?
By the way I recommend you try to update this to BtS or from now on create mods in BtS because much more people play BTS then Warlords or Vanilla.
 
Victory condition works after the end of the year 69 (turn 93). Here the last code in version 4:

Code:
if iGameTurn > 93:

            pCity1 = CyMap().plot(32, 23)
            pCity2 = CyMap().plot(35, 21)
            pCity3 = CyMap().plot(38, 14)

            if pCity1.getOwner() == pCity2.getOwner() and pCity3.getOwner() == pCity2.getOwner() and pCity1.getOwner() != 4:
                gc.getGame().setWinner(pCity1.getOwner(), 7)
 
Victory condition works after the end of the year 69 (turn 93). Here the last code in version 4:

Code:
if iGameTurn > 93:

            pCity1 = CyMap().plot(32, 23)
            pCity2 = CyMap().plot(35, 21)
            pCity3 = CyMap().plot(38, 14)

            if pCity1.getOwner() == pCity2.getOwner() and pCity3.getOwner() == pCity2.getOwner() and pCity1.getOwner() != 4:
                gc.getGame().setWinner(pCity1.getOwner(), 7)
That makes sense. Thanks for enlightening me!
 
Top Bottom