• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

PAW

Captain
17 Badges
Feb 9, 2011
403
21
  • Crusader Kings II
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Iron Cross
  • Heir to the Throne
  • Hearts of Iron III
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • East India Company
  • Darkest Hour
  • Hearts of Iron Anthology
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Hearts of Iron IV Sign-up
Hello,

I just finished my 1900 start setup.
I am now creating revolts & wars events file for those things that are not major wars.

I have successfully created ones based on an exact date. However, lots of the actions don't have specific dates.
see list: https://en.wikipedia.org/wiki/List_of_wars:_1900–1944#1900–1909

So, how do I do a random Revolt in 1900 say.

I know I can use

date = { year = 1916 month = may day = 15 } # Actual Date = 16 May 1916

deathdate = { day = 30 month = december year = 1999 }

Thx,
PAW
 
command = { type = revolt which = -2 }

Will create a revolt in a random owned or national province.

command = { type = revolt which = -1 }

Will create a revolt in a random owned or controlled non-national province.

Is this what you were looking for?
 
Sorry - looking for how to make the revolt happen sometime during the year 1900 as do not have an exact date
For exact date i just use date =
What code to use to fire off in the year 1900?
 
Sorry - looking for how to make the revolt happen sometime during the year 1900 as do not have an exact date
For exact date i just use date =
What code to use to fire off in the year 1900?
Try this

Code:
event = {
    id = NNNNNN
    random = no
    country = XXX
    style = 2

    trigger = {
        random = 5  (% chance of event happening)
        
        }

    date = { day = 0 month = january year = 1900 }
    offset = 5  (How often do you want it to check to happen? )
    deathdate = { day = 29 month = december year = 1900 }

    name =
    desc =
    picture =

    action = {
        name =
        command =
    }
}
 
Try this

Code:
event = {
    id = NNNNNN
    random = no
    country = XXX
    style = 2

    trigger = {
        random = 5  (% chance of event happening)
       
        }

    date = { day = 0 month = january year = 1900 }
    offset = 5  (How often do you want it to check to happen? )
    deathdate = { day = 29 month = december year = 1900 }

    name =
    desc =
    picture =

    action = {
        name =
        command =
    }
}
Perfect - that is exactly what i needed!
Thx a million.
 
  • 1Like
Reactions: