I think I have a way of doing it, but its rather intrusive.Norrefeldt said:GYeah, that's really tricky. It cannot even be done with flags.
I think I have a way of doing it, but its rather intrusive.Norrefeldt said:GYeah, that's really tricky. It cannot even be done with flags.
You can'r go below level 1 forts. Once they are there, and the AI will build them naturally, they are there for good.sturmvogel said:I think the most important things to do are to destroy all fort levels in a ex-native province and then to drop the population in that order. Leaving a minimal fort is ahistoric and makes them immediately proof against any casual attacks. IIRC I had 5,000 left in Appalache after the event fired, which is likely too much. If we can't do it in one event then perhaps one event for each action.
It should be the same as the 1419 setup. There weren't any Europeans in North East America in 1520 (except maybe some bold fishermen around Newfoundland).YodaMaster said:I can take it in charge. I see the countries to be removed but how many natives instead for each "involved" province?
trigger = {
OR = {
owned = { province = 107 data = CHE }
owned = { province = 107 data = HUR }
owned = { province = 107 data = OHI }
}
NOT = {
control = { province = 107 data = CHE }
control = { province = 107 data = HUR }
control = { province = 107 data = OHI }
control = { province = 107 data = NAT } #natives
control = { province = 107 data = REB } #rebels
}
}
###Foriegn Diseases Events###
#Cherokee Nation Events: 145000 - 145999
#European Disease
event = {
id = 145000
random = no
country = CHE
trigger = {
OR = {
neighbour = ENG
neighbour = FRA
neighbour = HOL
neighbour = POR
neighbour = SCO
neighbour = SPA
neighbour = SWE
}
}
date = { day = 1 month = january year = 1419 }
offset = 1000
deathdate = { day = 31 month = december year = 1820 }
name = "Foreign Diseases Spread Throughout Our Settlements"
desc = "The Native American Woodland tribes of North Eastern America were virtually defenceless against the various microbes and viruses the Europeans brought to the lands they called 'the New World'. Typhoid, small pox, influenza and even the common cold, to name but a few, thinned native populations and ravaged the stability of the native american society. It was a turbulent time for all who witnessed such destruction and few, if any at all, would escape the ramafications. "
action_a = {
name = "Mourning War !"
command = { type = stability value = -4 }
command = { type = population which = -2 value = -10000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = provincetax which = -2 value = -1 }
command = { type = provincetax which = -1 value = -1 }
command = { type = provincetax which = -1 value = -1 }
command = { type = revoltrisk which = 24 value = 5 }
command = { type = domestic which = offensive value = 1 }
command = { type = domestic which = innovative value = -1 }
}
}
#Huron Confederacy Events: 189000 - 189999
#European Disease
event = {
id = 189000
random = no
country = HUR
trigger = {
OR = {
neighbour = ENG
neighbour = FRA
neighbour = HOL
neighbour = POR
neighbour = SCO
neighbour = SPA
neighbour = SWE
}
}
date = { day = 1 month = january year = 1419 }
offset = 1000
deathdate = { day = 31 month = december year = 1820 }
name = "Foreign Diseases Spread Throughout Our Settlements"
desc = "The Native American Woodland tribes of North Eastern America were virtually defenceless against the various microbes and viruses the Europeans brought to the lands they called 'the New World'. Typhoid, small pox, influenza and even the common cold, to name but a few, thinned native populations and ravaged the stability of the native american society. It was a turbulent time for all who witnessed such destruction and few, if any at all, would escape the ramafications. "
action_a = {
name = "Mourning War !"
command = { type = stability value = -4 }
command = { type = population which = -2 value = -10000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = provincetax which = -2 value = -1 }
command = { type = provincetax which = -1 value = -1 }
command = { type = provincetax which = -1 value = -1 }
command = { type = revoltrisk which = 24 value = 5 }
command = { type = domestic which = offensive value = 1 }
command = { type = domestic which = innovative value = -1 }
}
}
#Iroquois Confederacy Events: 246000 - 246999
#European Disease
event = {
id = 246000
random = no
country = OHI
trigger = {
OR = {
neighbour = ENG
neighbour = FRA
neighbour = HOL
neighbour = POR
neighbour = SCO
neighbour = SPA
neighbour = SWE
}
}
date = { day = 1 month = january year = 1419 }
offset = 1000
deathdate = { day = 31 month = december year = 1820 }
name = "Foreign Diseases Spread Throughout Our Settlements"
desc = "The Native American Woodland tribes of North Eastern America were virtually defenceless against the various microbes and viruses the Europeans brought to the lands they called 'the New World'. Typhoid, small pox, influenza and even the common cold, to name but a few, thinned native populations and ravaged the stability of the native american society. It was a turbulent time for all who witnessed such destruction and few, if any at all, would escape the ramafications. "
action_a = {
name = "Mourning War !"
command = { type = stability value = -4 }
command = { type = population which = -2 value = -10000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = population which = -1 value = -3000 }
command = { type = provincetax which = -2 value = -1 }
command = { type = provincetax which = -1 value = -1 }
command = { type = provincetax which = -1 value = -1 }
command = { type = revoltrisk which = 24 value = 5 }
command = { type = domestic which = offensive value = 1 }
command = { type = domestic which = innovative value = -1 }
}
}
#Foreign Invaders Ravage Oswego
event = {
id = 2500180
random = no
province = 89
trigger = {
OR = {
owned = { province = 89 data = CHE }
owned = { province = 89 data = HUR }
owned = { province = 89 data = OHI }
}
NOT = {
control = { province = 89 data = CHE }
control = { province = 89 data = HUR }
control = { province = 89 data = OHI }
control = { province = 89 data = NAT } #natives
control = { province = 89 data = REB } #rebels
}
}
date = { day = 1 month = january year = 1419 }
offset = 360
deathdate = { year = 1820 }
name = "Foreign Invaders Ravage Oswego"
desc = "As Europeans annexed huge swathes of land previously occupied by the great Native American Confederacies, the vast majority of local natives either fled to friendlier territories or unoccupied lands further inland."
action_a = {
name = "We must retreat inland !"
command = { type = population which = 89 value = -5000 }
}
}
#Native Dispersion in Oswego
event = {
id = 2500089
random = no
province = 89
trigger = {
OR = {
event = 2500180 #Foreign Invaders Ravage Oswego ->CHE
event = 2500181 #Foreign Invaders Ravage Oswego ->HUR
event = 2500182 #Foreign Invaders Ravage Oswego ->OHI
}
NOT = {
continent = america
}
}
date = { day = 1 month = january year = 1419 }
offset = 360
deathdate = { year = 1820 }
name = "Native Dispersion in Oswego"
desc = "As Europeans annexed huge swathes of land previously occupied by the great Native American Confederacies, the vast majority of local natives either fled to friendlier territories or unoccupied lands further inland."
action_a = {
name = "It's ours ! All ours !"
command = { type = fortress which = 89 value = -2 }
command = { type = population which = 89 value = -20000 }
command = { type = losemanufactory which = 89 }
command = { type = provinceculture which = 89 value = -1 }
command = { type = conversion which = 89 }
}
}
#Foreign Invaders Ravage Oswego
event = {
id = [COLOR=gold]337248[/COLOR]
trigger = {
OR = {
owned = { province = 89 data = CHE }
owned = { province = 89 data = HUR }
owned = { province = 89 data = OHI }
}
NOT = {
[COLOR=gold]OR = {[/COLOR]
control = { province = 89 data = CHE }
control = { province = 89 data = HUR }
control = { province = 89 data = OHI }
control = { province = 89 data = NAT } #natives
control = { province = 89 data = REB } #rebels
[COLOR=gold]}[/COLOR]
}
}
random = no
province = 89
name = "Foreign Invaders Ravage Oswego"
desc = "As [COLOR=gold]Foreign Invaders ravaged[/COLOR] swathes of land occupied by the great Native American Confederacies, the vast majority of local natives either fled to friendlier territories or unoccupied lands further inland."
date = { day = 1 month = january year = 1419 }
offset = [COLOR=gold]1[/COLOR]
deathdate = { [COLOR=gold]year = 1820[/COLOR] }
action_a = {
name = "We must retreat inland !"
command = { type = population which = 89 value = -5000 }
}
}
#Native Dispersion in Oswego
event = {
id = [COLOR=gold]337249[/COLOR]
trigger = {
[COLOR=gold]event = 337248 #Foreign Invaders Ravage Oswego[/COLOR]
NOT = {
continent = america
}
}
random = no
province = 89
name = "Native Dispersion in Oswego"
desc = "As [COLOR=gold]we[/COLOR] annexed huge swathes of land previously occupied by the great Native American Confederacies, the vast majority of local natives either fled to friendlier territories or unoccupied lands further inland."
date = { day = 1 month = january year = 1419 }
offset = 360
deathdate = { [COLOR=gold]year = 1820[/COLOR] }
action_a = {
name = "It's ours ! All ours !"
command = { type = fortress which = 89 value = -2 }
command = { type = population which = 89 value = -20000 }
command = { type = losemanufactory which = 89 }
command = { type = provinceculture which = 89 value = -1 }
command = { type = conversion which = 89 }
}
}
YodaMaster said:Grey:Code:#Foreign Invaders Ravage Oswego event = { id = [COLOR=gold]337248[/COLOR] trigger = { OR = { owned = { province = 89 data = CHE } owned = { province = 89 data = HUR } owned = { province = 89 data = OHI } } NOT = { [COLOR=gold]OR = {[/COLOR] control = { province = 89 data = CHE } control = { province = 89 data = HUR } control = { province = 89 data = OHI } control = { province = 89 data = NAT } #natives control = { province = 89 data = REB } #rebels [COLOR=gold]}[/COLOR] } } random = no province = 89 name = "Foreign Invaders Ravage Oswego" desc = "As [COLOR=gold]Foreign Invaders ravaged[/COLOR] swathes of land occupied by the great Native American Confederacies, the vast majority of local natives either fled to friendlier territories or unoccupied lands further inland." [COLOR=Gray] date = { day = 1 month = january year = 1419 } offset = 1 deathdate = { year = 1820 }[/COLOR] action_a = { name = "We must retreat inland !" command = { type = population which = 89 value = -5000 } } } #Native Dispersion in Oswego event = { id = [COLOR=gold]337249[/COLOR] trigger = { [COLOR=gold]event = 337248 #Foreign Invaders Ravage Oswego[/COLOR] NOT = { continent = america } } random = no province = 89 name = "Native Dispersion in Oswego" desc = "As [COLOR=gold]we[/COLOR] annexed huge swathes of land previously occupied by the great Native American Confederacies, the vast majority of local natives either fled to friendlier territories or unoccupied lands further inland." [COLOR=Gray] date = { day = 1 month = january year = 1419 } offset = 1 deathdate = { year = 1820 }[/COLOR] action_a = { name = "It's ours ! All ours !" command = { type = fortress which = 89 value = -2 } command = { type = population which = 89 value = -20000 } command = { type = losemanufactory which = 89 } command = { type = provinceculture which = 89 value = -1 } command = { type = conversion which = 89 } } }
Not needed. As long as there are triggers, per daywalkers faq, an event does not need a date. Since this is anytime during the game, that's an extra 3+ lines of code that needs to be read, per event with this type of trigger. Soem of us like to play or test games rather than wait for usless loadtimes..
Yes, offset is 0, but the differance between 0 and 1 here doesn't matter.
No, this is wrong. Date is needed or event will never fire (and I tried your solution for these provincespec events to be sure).Jinnai said:Not needed. As long as there are triggers, per daywalkers faq, an event does not need a date. Since this is anytime during the game, that's an extra 3+ lines of code that needs to be read, per event with this type of trigger. Soem of us like to play or test games rather than wait for usless loadtimes..
Yes, offset is 0, but the differance between 0 and 1 here doesn't matter.
This was covered byribbon22 said:Then the events will just have to be combined and fire only for non-NA tribes.
So, use a province-based event that utilizes the following trigger:
NOT = {
OR = {
owned = CHE
owned = HUR
owned = OHI
}
}
And the effects would thus occur once the province changed ownership to a non-NA tribe tag.
NOT = {
continent = america
}
#Native Dispersion in Oswego
event = {
id = 337224
trigger = {
NOT = {
OR = {
owned = { province = 89 data = CHE }
owned = { province = 89 data = HUR }
owned = { province = 89 data = OHI }
}
}
provincereligion = { province = 89 data = pagan }
}
random = no
province = 89
name = "Native Dispersion in Oswego"
desc = "As we annexed huge swathes of land previously occupied by the great Native American Confederacies, the vast majority of local natives either fled to friendlier territories or unoccupied lands further inland."
date = { day = 1 month = january year = 1419 }
offset = 360
deathdate = { year = 1820 }
action_a = {
name = "It's ours ! All ours !"
command = { type = fortress which = 89 value = -2 }
command = { type = population which = 89 value = -20000 }
command = { type = losemanufactory which = 89 }
command = { type = provinceculture which = 89 value = -1 }
command = { type = conversion which = 89 }
}
}
I think date use in trigger is better imo for something meant to fire anytime and meant to have such a short offset. Less loading time required.YodaMaster said:No, this is wrong. Date is needed or event will never fire (and I tried your solution for these provincespec events to be sure).
Only random events work without date (or with date in trigger).