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

kanedo

Recruit
60 Badges
Jan 20, 2011
2
0
  • Darkest Hour
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Europa Universalis IV
  • King Arthur II
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Majesty 2
  • Crusader Kings II
  • Sengoku
  • Victoria 2
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - Snowfall
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Cities: Skylines - After Dark
  • Pride of Nations
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Conclave
  • Semper Fi
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Crusader Kings Complete
  • Europa Universalis III: Chronicles
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Cities: Skylines Deluxe Edition
  • Divine Wind
  • For the Motherland
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • The Showdown Effect
  • 500k Club
Hi guys, Im trying to write an event to give a boost to the minor nations... here is what i got so far

event = {
id = 737373
random = yes
persistent = yes

trigger = {
major = no
}

name = "Colonial help package"
desc = "Tea n biscuits for our colonial friends"

date = { day = 1 month = january year = 1914 }
offset = 150


action_a = {
name = "Thank you Sir! This will help greatly"
ai_chance = 80
command = { type = free_ic value = 1 }
command = { type = free_energy value = 1 }
command = { type = free_metal value = 1 }
command = { type = free_oil value = 1 }
command = { type = free_rare_materials value = 1 }
command = { type = construct which = infrastructure where = -1 value = 100 }
command = { type = construct which = infrastructure where = -1 value = 100 }
command = { type = construct which = ic where = -1 value = 3 }
command = { type = construct which = ic where = -1 value = 3 }
command = { type = set_domestic which = professional_army value = 5 }
command = { type = supplies value = 200 } # Free stuff
command = { type = oilpool value = 200 }
command = { type = metalpool value = 200 }
command = { type = energypool value = 200 }
command = { type = rarematerialspool value = 200 }
command = { type = manpowerpool value = 300 }
command = { type = money value = 500 }
}
action_b = {
name = "Take your tea and dump it in the harbour"
ai_chance = 20
command = { }
}

So what im trying to achieve is randomly giving the minor countries a small set up in improving their provinces and a boost towards setting up a small army.
The event work ok but only if i trigger it through the console.. and the it fires on the offset i set it at.. if i dont use the console i dont see it ever happening.

Your thoughts and ideas please. this my firt try at an event and im very confuzzled :/
 
Hi guys, Im trying to write an event to give a boost to the minor nations... here is what i got so far

event = {
id = 737373
random = yes
persistent = yes

trigger = {
major = no
}

name = "Colonial help package"
desc = "Tea n biscuits for our colonial friends"

date = { day = 1 month = january year = 1914 }
offset = 150


action_a = {
name = "Thank you Sir! This will help greatly"
ai_chance = 80
command = { type = free_ic value = 1 }
command = { type = free_energy value = 1 }
command = { type = free_metal value = 1 }
command = { type = free_oil value = 1 }
command = { type = free_rare_materials value = 1 }
command = { type = construct which = infrastructure where = -1 value = 100 }
command = { type = construct which = infrastructure where = -1 value = 100 }
command = { type = construct which = ic where = -1 value = 3 }
command = { type = construct which = ic where = -1 value = 3 }
command = { type = set_domestic which = professional_army value = 5 }
command = { type = supplies value = 200 } # Free stuff
command = { type = oilpool value = 200 }
command = { type = metalpool value = 200 }
command = { type = energypool value = 200 }
command = { type = rarematerialspool value = 200 }
command = { type = manpowerpool value = 300 }
command = { type = money value = 500 }
}
action_b = {
name = "Take your tea and dump it in the harbour"
ai_chance = 20
command = { }
}

So what im trying to achieve is randomly giving the minor countries a small set up in improving their provinces and a boost towards setting up a small army.
The event work ok but only if i trigger it through the console.. and the it fires on the offset i set it at.. if i dont use the console i dont see it ever happening.

Your thoughts and ideas please. this my firt try at an event and im very confuzzled :/

-You should include a deathdate.
-Offset (imo) should be higher.
-Start date is before the start of the scenario
-You won't see it happen for other countries since it is persistent and lacks a country = <> Tag (and is not triggered via an command = { type = event ... }). It doesn't mean it doesn't happen. The event just doesn't show up in the event history log.
 
Thanks.. cleaned up the code a little and the event works exactly as intended.. well kind of, it never fires randomly, i have sat n watched the minors do nothing for 5 years.. but if i enter the event through the console with a minor TAG eg Siam or Tibet.. they grow instantly and use the "gifts"... no idea why it wont fire randomly.. oh well ;p