• 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.

MiguelOurense

Corporal
33 Badges
Dec 27, 2011
32
2
  • Europa Universalis IV: Conquest of Paradise
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Darkest Hour
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Cities: Skylines Industries
  • Cities: Skylines - Parklife
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV
  • Cities: Skylines
Hi!
could anyone explain me what this do?

command = { type = local_clrflag which = loser }

It's from the mod AAR, file db\events\aar-events/AAR-SPx-Spain.txt


And also, when I took this option playing the game, the national disension increases to 99%, but I don't see in the file the command that orders the dissent value going up to this level :S

Thanks!
 
I could mean that it lost the war so it was given a loser flag. I don't know unless you show the event it came with.
 
This is the event:


event = {
id = 13301411
country = SPA

date = { day = 1 month = 1 year = 1930 }
deathdate = { day = 1 month = january year = 1933 }
offset = 365

trigger = {
atwar = no
event = 13301410
or = {
flag = great_depression
local_flag = depression
}
local_flag = loser
}
name = "EVT_13301411_NAME"
Desc = "EVT_13301411_DESC"
Picture = "SCW_soviet_intervention"

action = {
name = "Fascism didn't really work for us, we should try something new..."
ai_chance = 99
command = { type = set_domestic which = political_left value = 8 }
command = { type = set_domestic which = democratic value = 5 }
command = { type = local_clrflag which = loser }
command = { type = country which = SPR }
command = { type = dissent value = 10 }
}
action = {
name = "We need to broaden our outlook and reconquer our old place under the sun"
ai_chance = 1
command = { type = addcore which = 717 } #south america & the old colonies
command = { type = addcore which = 718 }
command = { type = addcore which = 721 }
command = { type = addcore which = 722 }
command = { type = addcore which = 723 }
command = { type = addcore which = 724 }
command = { type = addcore which = 725 }
command = { type = addcore which = 726 }
command = { type = addcore which = 889 }
command = { type = addcore which = 1565 }
command = { type = addcore which = 1566 }
command = { type = addcore which = 1567 }
command = { type = addcore which = 1568 }
command = { type = addcore which = 1569 }
command = { type = addcore which = 1570 }
command = { type = addcore which = 1571 }
command = { type = addcore which = 1572 }
command = { type = addcore which = 1573 }
command = { type = addcore which = 1574 }
command = { type = addcore which = 1575 }
command = { type = addcore which = 1576 }
command = { type = addcore which = 1577 }
command = { type = addcore which = 1578 }
command = { type = addcore which = 1579 }
command = { type = addcore which = 1580 }
command = { type = addcore which = 1756 }
command = { type = addcore which = 1765 }
command = { type = addcore which = 1775 }
command = { type = addcore which = 1776 }
command = { type = addcore which = 1777 }
command = { type = addcore which = 1778 }
command = { type = addcore which = 1779 }
command = { type = addcore which = 1780 }
command = { type = addcore which = 1781 }
command = { type = addcore which = 1985 }
command = { type = addcore which = 1986 }
command = { type = addcore which = 1987 }
command = { type = addcore which = 1988 }
command = { type = addcore which = 1989 }
command = { type = addcore which = 1990 }
command = { type = addcore which = 1991 }
command = { type = addcore which = 1992 }
command = { type = addcore which = 1993 }
command = { type = addcore which = 1994 }
command = { type = addcore which = 1995 }
command = { type = addcore which = 1996 }
command = { type = addcore which = 2007 }
command = { type = addcore which = 2007 }
command = { type = addcore which = 2008 }
command = { type = addcore which = 2009 }
command = { type = addcore which = 2010 }
command = { type = addcore which = 2011 }
command = { type = addcore which = 2012 }
command = { type = addcore which = 2013 }
command = { type = addcore which = 2014 }
command = { type = addcore which = 2015 }
command = { type = addcore which = 2016 }
command = { type = addcore which = 2017 }
command = { type = addcore which = 2018 }
command = { type = addcore which = 2019 }
command = { type = addcore which = 2020 }
command = { type = addcore which = 2021 }
command = { type = addcore which = 2022 }
command = { type = addcore which = 2023 }
command = { type = addcore which = 2024 }
command = { type = addcore which = 2025 }
command = { type = addcore which = 2026 }
command = { type = addcore which = 2027 }
command = { type = addcore which = 2028 }
command = { type = addcore which = 2029 }
command = { type = addcore which = 2030 }
command = { type = addcore which = 2031 }
command = { type = addcore which = 2032 }
command = { type = addcore which = 2033 }
command = { type = addcore which = 2034 }
command = { type = addcore which = 2035 }
command = { type = addcore which = 2036 }
command = { type = addcore which = 2037 }
command = { type = addcore which = 2038 }
command = { type = addcore which = 2039 }
command = { type = addcore which = 2040 }
command = { type = addcore which = 2040 }
command = { type = addcore which = 2041 }
command = { type = addcore which = 2042 }
command = { type = addcore which = 2042 }
command = { type = addcore which = 2043 }
command = { type = addcore which = 2043 }
command = { type = addcore which = 2044 }
command = { type = addcore which = 2045 }
command = { type = addcore which = 2048 }
command = { type = addcore which = 2049 }
command = { type = addcore which = 2050 }
command = { type = addcore which = 2053 }
command = { type = addcore which = 2054 }
command = { type = addcore which = 2055 }
command = { type = addcore which = 2056 }
command = { type = addcore which = 2063 }
command = { type = addcore which = 2064 }
command = { type = addcore which = 2077 }
command = { type = addcore which = 2078 }
command = { type = addcore which = 2080 }
command = { type = addcore which = 2081 }
command = { type = addcore which = 2082 }
command = { type = addcore which = 2083 }
command = { type = addcore which = 2084 }
command = { type = addcore which = 2085 }
command = { type = addcore which = 2085 }
command = { type = addcore which = 2086 }
command = { type = addcore which = 2087 }
command = { type = addcore which = 2088 }
command = { type = addcore which = 2079 }
command = { type = addcore which = 1966 }
command = { type = addcore which = 1980 }
command = { type = addcore which = 1977 }
command = { type = addcore which = 1965 }
command = { type = addcore which = 1967 }
command = { type = addcore which = 1969 }
command = { type = addcore which = 1970 }
command = { type = addcore which = 1976 }
command = { type = addcore which = 1978 }
command = { type = addcore which = 1968 }
command = { type = addcore which = 1979 }
command = { type = addcore which = 1981 }
command = { type = addcore which = 1982 }
command = { type = addcore which = 1974 }
command = { type = addcore which = 1972 }
command = { type = addcore which = 1971 }
command = { type = addcore which = 1973 }
command = { type = addcore which = 1975 }
command = { type = addcore which = 1883 }
command = { type = addcore which = 1884 }
command = { type = addcore which = 1885 }
command = { type = addcore which = 1886 }
command = { type = addcore which = 1887 }
command = { type = addcore which = 1888 }
command = { type = addcore which = 1889 }
command = { type = addcore which = 1890 }
command = { type = addcore which = 1891 }
command = { type = addcore which = 1892 }
command = { type = addcore which = 1893 }
command = { type = addcore which = 1894 }
command = { type = addcore which = 1895 }
command = { type = addcore which = 1896 }
command = { type = addcore which = 1897 }
command = { type = addcore which = 1898 }
command = { type = addcore which = 1899 }
command = { type = addcore which = 1900 }
command = { type = addcore which = 1901 }
command = { type = addcore which = 1902 }
command = { type = addcore which = 1903 }
command = { type = addcore which = 1904 }
command = { type = addcore which = 1905 }
command = { type = addcore which = 1906 }
command = { type = addcore which = 1907 }
command = { type = addcore which = 1909 }
command = { type = addcore which = 1919 }
command = { type = addcore which = 1920 }
command = { type = addcore which = 1921 }
command = { type = addcore which = 1922 }
command = { type = addcore which = 1923 }
command = { type = addcore which = 1924 }
command = { type = addcore which = 1925 }
command = { type = addcore which = 1926 }
command = { type = addcore which = 1927 }
command = { type = addcore which = 1928 }
command = { type = addcore which = 1948 }
command = { type = addcore which = 1949 }
command = { type = addcore which = 1950 }
command = { type = addcore which = 1952 }
command = { type = addcore which = 1951 }
command = { type = addcore which = 1953 }
command = { type = local_clrflag which = loser }
command = { type = civil_war which = SPR }
command = { type = war which = PRU } # they simply won't accept that...
command = { type = war which = COL } # for some of them, USA might join in, if they have not jet given up hegemnony ...
command = { type = war which = VEN }
command = { type = war which = CHL }
command = { type = war which = ARG }
command = { type = war which = BOL }
command = { type = war which = PAN }
command = { type = war which = COL }
}
}
 
This is the event:


event = {
id = 13301411
country = SPA

date = { day = 1 month = 1 year = 1930 }
deathdate = { day = 1 month = january year = 1933 }
offset = 365

trigger = {
atwar = no
event = 13301410
or = {
flag = great_depression
local_flag = depression
}
local_flag = loser
}
name = "EVT_13301411_NAME"
Desc = "EVT_13301411_DESC"
Picture = "SCW_soviet_intervention"

action = {
name = "Fascism didn't really work for us, we should try something new..."
ai_chance = 99
command = { type = set_domestic which = political_left value = 8 }
command = { type = set_domestic which = democratic value = 5 }
command = { type = local_clrflag which = loser }
command = { type = country which = SPR }
command = { type = dissent value = 10 }
}
action = {
name = "We need to broaden our outlook and reconquer our old place under the sun"
ai_chance = 1
command = { type = addcore which = 717 } #south america & the old colonies
command = { type = addcore which = 718 }
command = { type = addcore which = 721 }
command = { type = addcore which = 722 }
command = { type = addcore which = 723 }
command = { type = addcore which = 724 }
command = { type = addcore which = 725 }
command = { type = addcore which = 726 }
command = { type = addcore which = 889 }
command = { type = addcore which = 1565 }
command = { type = addcore which = 1566 }
command = { type = addcore which = 1567 }
command = { type = addcore which = 1568 }
command = { type = addcore which = 1569 }
command = { type = addcore which = 1570 }
command = { type = addcore which = 1571 }
command = { type = addcore which = 1572 }
command = { type = addcore which = 1573 }
command = { type = addcore which = 1574 }
command = { type = addcore which = 1575 }
command = { type = addcore which = 1576 }
command = { type = addcore which = 1577 }
command = { type = addcore which = 1578 }
command = { type = addcore which = 1579 }
command = { type = addcore which = 1580 }
command = { type = addcore which = 1756 }
command = { type = addcore which = 1765 }
command = { type = addcore which = 1775 }
command = { type = addcore which = 1776 }
command = { type = addcore which = 1777 }
command = { type = addcore which = 1778 }
command = { type = addcore which = 1779 }
command = { type = addcore which = 1780 }
command = { type = addcore which = 1781 }
command = { type = addcore which = 1985 }
command = { type = addcore which = 1986 }
command = { type = addcore which = 1987 }
command = { type = addcore which = 1988 }
command = { type = addcore which = 1989 }
command = { type = addcore which = 1990 }
command = { type = addcore which = 1991 }
command = { type = addcore which = 1992 }
command = { type = addcore which = 1993 }
command = { type = addcore which = 1994 }
command = { type = addcore which = 1995 }
command = { type = addcore which = 1996 }
command = { type = addcore which = 2007 }
command = { type = addcore which = 2007 }
command = { type = addcore which = 2008 }
command = { type = addcore which = 2009 }
command = { type = addcore which = 2010 }
command = { type = addcore which = 2011 }
command = { type = addcore which = 2012 }
command = { type = addcore which = 2013 }
command = { type = addcore which = 2014 }
command = { type = addcore which = 2015 }
command = { type = addcore which = 2016 }
command = { type = addcore which = 2017 }
command = { type = addcore which = 2018 }
command = { type = addcore which = 2019 }
command = { type = addcore which = 2020 }
command = { type = addcore which = 2021 }
command = { type = addcore which = 2022 }
command = { type = addcore which = 2023 }
command = { type = addcore which = 2024 }
command = { type = addcore which = 2025 }
command = { type = addcore which = 2026 }
command = { type = addcore which = 2027 }
command = { type = addcore which = 2028 }
command = { type = addcore which = 2029 }
command = { type = addcore which = 2030 }
command = { type = addcore which = 2031 }
command = { type = addcore which = 2032 }
command = { type = addcore which = 2033 }
command = { type = addcore which = 2034 }
command = { type = addcore which = 2035 }
command = { type = addcore which = 2036 }
command = { type = addcore which = 2037 }
command = { type = addcore which = 2038 }
command = { type = addcore which = 2039 }
command = { type = addcore which = 2040 }
command = { type = addcore which = 2040 }
command = { type = addcore which = 2041 }
command = { type = addcore which = 2042 }
command = { type = addcore which = 2042 }
command = { type = addcore which = 2043 }
command = { type = addcore which = 2043 }
command = { type = addcore which = 2044 }
command = { type = addcore which = 2045 }
command = { type = addcore which = 2048 }
command = { type = addcore which = 2049 }
command = { type = addcore which = 2050 }
command = { type = addcore which = 2053 }
command = { type = addcore which = 2054 }
command = { type = addcore which = 2055 }
command = { type = addcore which = 2056 }
command = { type = addcore which = 2063 }
command = { type = addcore which = 2064 }
command = { type = addcore which = 2077 }
command = { type = addcore which = 2078 }
command = { type = addcore which = 2080 }
command = { type = addcore which = 2081 }
command = { type = addcore which = 2082 }
command = { type = addcore which = 2083 }
command = { type = addcore which = 2084 }
command = { type = addcore which = 2085 }
command = { type = addcore which = 2085 }
command = { type = addcore which = 2086 }
command = { type = addcore which = 2087 }
command = { type = addcore which = 2088 }
command = { type = addcore which = 2079 }
command = { type = addcore which = 1966 }
command = { type = addcore which = 1980 }
command = { type = addcore which = 1977 }
command = { type = addcore which = 1965 }
command = { type = addcore which = 1967 }
command = { type = addcore which = 1969 }
command = { type = addcore which = 1970 }
command = { type = addcore which = 1976 }
command = { type = addcore which = 1978 }
command = { type = addcore which = 1968 }
command = { type = addcore which = 1979 }
command = { type = addcore which = 1981 }
command = { type = addcore which = 1982 }
command = { type = addcore which = 1974 }
command = { type = addcore which = 1972 }
command = { type = addcore which = 1971 }
command = { type = addcore which = 1973 }
command = { type = addcore which = 1975 }
command = { type = addcore which = 1883 }
command = { type = addcore which = 1884 }
command = { type = addcore which = 1885 }
command = { type = addcore which = 1886 }
command = { type = addcore which = 1887 }
command = { type = addcore which = 1888 }
command = { type = addcore which = 1889 }
command = { type = addcore which = 1890 }
command = { type = addcore which = 1891 }
command = { type = addcore which = 1892 }
command = { type = addcore which = 1893 }
command = { type = addcore which = 1894 }
command = { type = addcore which = 1895 }
command = { type = addcore which = 1896 }
command = { type = addcore which = 1897 }
command = { type = addcore which = 1898 }
command = { type = addcore which = 1899 }
command = { type = addcore which = 1900 }
command = { type = addcore which = 1901 }
command = { type = addcore which = 1902 }
command = { type = addcore which = 1903 }
command = { type = addcore which = 1904 }
command = { type = addcore which = 1905 }
command = { type = addcore which = 1906 }
command = { type = addcore which = 1907 }
command = { type = addcore which = 1909 }
command = { type = addcore which = 1919 }
command = { type = addcore which = 1920 }
command = { type = addcore which = 1921 }
command = { type = addcore which = 1922 }
command = { type = addcore which = 1923 }
command = { type = addcore which = 1924 }
command = { type = addcore which = 1925 }
command = { type = addcore which = 1926 }
command = { type = addcore which = 1927 }
command = { type = addcore which = 1928 }
command = { type = addcore which = 1948 }
command = { type = addcore which = 1949 }
command = { type = addcore which = 1950 }
command = { type = addcore which = 1952 }
command = { type = addcore which = 1951 }
command = { type = addcore which = 1953 }
command = { type = local_clrflag which = loser }
command = { type = civil_war which = SPR }
command = { type = war which = PRU } # they simply won't accept that...
command = { type = war which = COL } # for some of them, USA might join in, if they have not jet given up hegemnony ...
command = { type = war which = VEN }
command = { type = war which = CHL }
command = { type = war which = ARG }
command = { type = war which = BOL }
command = { type = war which = PAN }
command = { type = war which = COL }
}
}
We clearflag loser since that is from the WWI scenario and we are nearing the WWII scenario so it doesn't matter anymore. Flags are internal boolean (true/false) markers (variables) that are used to keep track of certain things (ex. evt_id_action_a_selected = true) and have no impact on dissent.

Are you referring to the second decision? You dissent skyrockets due to the DoW's most likely. Otherwise, the top one shouldn't give you 99% dissent.
 
Playing spanish event-chain, eh? :)

@the looser flag: As limith has already stated, flags are like booleans, a nation (or the whole world) can either have it (true) or not (false). But what you really want to know, is what it does!
So, the looser/winner flags in AAR are used to trigger not just a few historic events (like the German reparation payments, for example, the decline of the Wiemar republic, ...), but they do MUCH more. I.e. hyperinflation will happen to countries who are losers, in the case of Spain this flag is set at game start, as they were really in a deep crisis at that time, after loosing the Spanish-American war, nearly all their colonies AND a bad campaign in Morocco. However, the looser flag is not only a bad thing to have, it makes nations aspire revenge, and allows them to expand their arms industry a bit more while at peace. Also, they may deal with the great depression a bit better, if they are fascist.

These are just a few things that can happen with that flag set, if you are interested, grep through your AAR installation for the "local_flag = looser", and you will get a nice list of what it's involved in.

@dissent: I actually didn't intend to make a player go create the "Spanish Empire 2.0", so i never bothered to decrease the dissent all these DOWs give (remember: your nation is an isolationist democracy at that time, and EVERY SINGLE declaration of war involves a significant dissent hit.) But if you intend to play with your odds, and create a new superpower to have fun with during WW2, go ahead. Maybe you will have to fight the USA, though...


Oh, and while you are at it: what are you modding, besides this event? Care to share your work, so i can add it to AAR?
 
Playing spanish event-chain, eh? :)

@the looser flag: As limith has already stated, flags are like booleans, a nation (or the whole world) can either have it (true) or not (false). But what you really want to know, is what it does!
So, the looser/winner flags in AAR are used to trigger not just a few historic events (like the German reparation payments, for example, the decline of the Wiemar republic, ...), but they do MUCH more. I.e. hyperinflation will happen to countries who are losers, in the case of Spain this flag is set at game start, as they were really in a deep crisis at that time, after loosing the Spanish-American war, nearly all their colonies AND a bad campaign in Morocco. However, the looser flag is not only a bad thing to have, it makes nations aspire revenge, and allows them to expand their arms industry a bit more while at peace. Also, they may deal with the great depression a bit better, if they are fascist.

These are just a few things that can happen with that flag set, if you are interested, grep through your AAR installation for the "local_flag = looser", and you will get a nice list of what it's involved in.

@dissent: I actually didn't intend to make a player go create the "Spanish Empire 2.0", so i never bothered to decrease the dissent all these DOWs give (remember: your nation is an isolationist democracy at that time, and EVERY SINGLE declaration of war involves a significant dissent hit.) But if you intend to play with your odds, and create a new superpower to have fun with during WW2, go ahead. Maybe you will have to fight the USA, though...


Oh, and while you are at it: what are you modding, besides this event? Care to share your work, so i can add it to AAR?


Well, I think the DoW are not needed. When Germany gets fascist, they don't declare war on the countries at the same time. It needs a time to get ready for the war. So, what i was thinking, it's to do a event chain for this ahistorical spanish decision.
So, if in this event in which spain has to choose within fascist or democracy (becoming the second spanish republic), it choose the fascism, I agree that the event adds cores in the old colonies. I'm trying to make this option a bit "real", adding cores in mexico, california, nuevo mexico, arizona, nevada texas an florida. I'm thinking about removing cores from south argentina and chile, as actually they were never under the real administration of the Spanish government (they could be added just as claims). It could also add portugal, as one of the biggest dreams of all the spanish conquers is to reunified the Iberian península.

Still, I don't think the declaration of war is needed. Instead of that, I was thinking about a chain of events that would happen if this choice is made:
1. The countries involved, including USA, will change their relationship with spain in -100 or something like that. Some could even put a trade embargo.
2. Spain will get, of course, a dissent value. I was thinking about 25 or 20, as they already get 20 with the event 13301400 (Aftereffects of the Spanish–American War), and 30 with the event 13301410 (Miguel Primo de Rivera's military coup), which is already a event that makes Spain to become close to a fascist government.
3. In the Hendaya meeting, as the spanish civil war never had happened and the spanish government had time enough to create an army and industry (not really big, but enough), Spain would chose to join the axis and go into the WWII.
4. After this Hendaya meeting, all the countries South and central American countries will join the Allies. The DoW can be whether from Spain to those countries, making them join the allies, or those countries will get panic and make war on Spain, joining the allies a bit later.

Of course, this way doesn't have to happen to often, and the ai_chance for this way can be 0 or 1 in the action B in event 13301411 (The Second Spanish Republic).
This will give a new version of the WWII, helping to add more ahistorical outcomes.

Hope u like my idea!
 
Well, I think the DoW are not needed. When Germany gets fascist, they don't declare war on the countries at the same time. It needs a time to get ready for the war. So, what i was thinking, it's to do a event chain for this ahistorical spanish decision.
So, if in this event in which spain has to choose within fascist or democracy (becoming the second spanish republic), it choose the fascism, I agree that the event adds cores in the old colonies. I'm trying to make this option a bit "real", adding cores in mexico, california, nuevo mexico, arizona, nevada texas an florida. I'm thinking about removing cores from south argentina and chile, as actually they were never under the real administration of the Spanish government (they could be added just as claims). It could also add portugal, as one of the biggest dreams of all the spanish conquers is to reunified the Iberian península.

Still, I don't think the declaration of war is needed. Instead of that, I was thinking about a chain of events that would happen if this choice is made:
1. The countries involved, including USA, will change their relationship with spain in -100 or something like that. Some could even put a trade embargo.
2. Spain will get, of course, a dissent value. I was thinking about 25 or 20, as they already get 20 with the event 13301400 (Aftereffects of the Spanish–American War), and 30 with the event 13301410 (Miguel Primo de Rivera's military coup), which is already a event that makes Spain to become close to a fascist government.
3. In the Hendaya meeting, as the spanish civil war never had happened and the spanish government had time enough to create an army and industry (not really big, but enough), Spain would chose to join the axis and go into the WWII.
4. After this Hendaya meeting, all the countries South and central American countries will join the Allies. The DoW can be whether from Spain to those countries, making them join the allies, or those countries will get panic and make war on Spain, joining the allies a bit later.

Of course, this way doesn't have to happen to often, and the ai_chance for this way can be 0 or 1 in the action B in event 13301411 (The Second Spanish Republic).
This will give a new version of the WWII, helping to add more ahistorical outcomes.

Hope u like my idea!

This is great stuff. :) However, i think Spain SHOULD have the possibility to DOW it's ex-colonies early. Portugal, Central-America and Mexico could of course only be conquered during or after a successful WW2.