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

RRT877

Captain
2 Badges
Sep 9, 2010
417
0
rrt877.blogspot.com
  • Arsenal of Democracy
  • 500k Club
Hi guys, we need you Help ..

.. we tries to made an Event witch forces every country to joins one of the three grad blocks.

Code:
event = {
id = 888000
random = no
persistent = yes
tag = { AFG ALB ARG AUS BEL BHU BOL BRA BUL CGX CHC CHI CHL COL COS CSX CUB CXB CYN CZE DEN DOM ECU EST ETH FIN GRE GUA HAI HOL HON HUN IRE IRQ ITA JAP LAT LIB LIT LUX MAN MEX NIC NOR OMN PAN PAR PER PHI POL POR PRU ROM SWE SAL SAU SIA SIK SPR TIB TUR URU USA VEN YEM YUG U02 U06 U03 U04 U67 }

decision = {  }
decision_trigger = { ai = no }

trigger = { ai = yes }


name = "Join the War"
desc = "The Time has come, in these days no one can stay neutal, we must fight!"
style = 2

date = { day = 26 month = june year = 1914 }
offset = 1
deathdate = { day = 30 month = december year = 1963 }

	action_a = {
	trigger = { }
	ai_chance = 30
	name = "Join Allies"
	command = { type = alliance which = ENG }
	command = { type = relation which = ENG value = 100 }
	command = { type = set_domestic which = democratic value = 7 }
	command = { type = set_domestic which = political_left value = 5 }
	}
			
	action_b = {
	trigger = { }
	ai_chance = 30
	name = "Join Comintern"
	command = { type = alliance which = SOV }
	command = { type = relation which = SOV value = 100 }
	command = { type = set_domestic which = democratic value = 3 }
	command = { type = set_domestic which = political_left value = 7 }
	}
	
	action_c = {
	trigger = { }
	ai_chance = 30
	name = "Join Axis"
	command = { type = alliance which = GER }
	command = { type = relation which = GER value = 100 }
	command = { type = set_domestic which = democratic value = 3 }
	command = { type = set_domestic which = political_left value = 3 }
	}
}

There we now, but we are very bad in such thinks.

The Problem is that:

1. the event will fire and fire again every day, but its used to let every country make one decision and then stop. Shorting time rage won't work and and off set didn't work easer.

2. The Soviet Union got sucked out of the commintern, we don't know why, it isen't in the scrip an tan and mon neaser.

3. puttens and countrie witch are allready in an block or just a puppten can't choose.

please give us a hand
 
I think the best solution would be to make a decision for ENG like "Ask other countries to join the war on our side". This decision will trigger an event with all the TAGs as you wrote, with "all = yes" which means that the event will fire for every country in the tag list.

And remove persistent = yes as suggested above.

EDIT: if you don't want puppets or member of other alliances to fire, just add a trigger:
trigger = {
NOT= { ispuppet = yes } #isppupet = no is bugged, don't use it
NOT = { participant = { value = 4 } } #the country is NOT already part of ANY alliance (not only Axis, Allies, Comintern: any alliance)
}
 
This should work

event = {
id = 888000
random = no
persistent = yes
tag = { AFG ALB ARG AUS BEL BHU BOL BRA BUL CGX CHC CHI CHL COL COS CSX CUB CXB CYN CZE DEN DOM ECU EST ETH FIN GRE GUA HAI HOL HON HUN IRE IRQ ITA JAP LAT LIB LIT LUX MAN MEX NIC NOR OMN PAN PAR PER PHI POL POR PRU ROM SWE SAL SAU SIA SIK SPR TIB TUR URU USA VEN YEM YUG U02 U06 U03 U04 U67 }

decision = { NOT = { participant = { value = 4 }} }
decision_trigger = { ai = no }

trigger = { ai = yes
NOT = { participant = { value = 4 }}
}


name = "Join the War"
desc = "The Time has come, in these days no one can stay neutal, we must fight!"
style = 2

date = { day = 26 month = june year = 1914 }
offset = 1
deathdate = { day = 30 month = december year = 1963 }

action_a = {
trigger = { }
ai_chance = 30
name = "Join Allies"
command = { type = alliance which = ENG }
command = { type = relation which = ENG value = 100 }
command = { type = set_domestic which = democratic value = 7 }
command = { type = set_domestic which = political_left value = 5 }
}

action_b = {
trigger = { }
ai_chance = 30
name = "Join Comintern"
command = { type = alliance which = SOV }
command = { type = relation which = SOV value = 100 }
command = { type = set_domestic which = democratic value = 3 }
command = { type = set_domestic which = political_left value = 7 }
}

action_c = {
trigger = { }
ai_chance = 30
name = "Join Axis"
command = { type = alliance which = GER }
command = { type = relation which = GER value = 100 }
command = { type = set_domestic which = democratic value = 3 }
command = { type = set_domestic which = political_left value = 3 }
}
action_d = { #alternative action that let the nation ally with a random nation
trigger = { ai =yes }
ai_chance = 100
name = "Join random"
command = { type = alliance which = -1 }
}
}
 
Ill test it as soon as possible ..

-

This is what I workedout:

Code:
event = {
id = 888000
random = no
persistent = yes
tag = { AFG ALB ARG AST AUS BEL BOL BRA BUL CAN CGX CHC CHI CHL COL COS CUB CYN CZE DEN DOM ECU EST ETH FIN GRE GUA HAI HOL HON HUN IRE ITA JAP LAT LIB LIT LUX MEX MON NIC NOR NZL PAN PAR PER POL POR PRU ROM SWE SAF SAL SAU SIA SPR TAN TIB TUR URU USA VEN YEM YUG }
decision = {  }
decision_trigger = { ai = no }

trigger = { ai = yes }


name = "Join the War"
desc = "The Time has come, in these days no one can stay neutal, we must fight!"
style = 2

date = { day = 26 month = june year = 1914 }
offset = 1
deathdate = { day = 30 month = december year = 1963 }

	action_a = {
	trigger = { }
	ai_chance = 30
	name = "Join Comintern"
	command = { type = alliance which = SOV }
	command = { type = relation which = SOV value = 100 }
	command = { type = set_domestic which = democratic value = 2 }
	command = { type = set_domestic which = political_left value = 8 }
	}

	action_b = {
	trigger = { }
	ai_chance = 30
	name = "Join Allies"
	command = { type = alliance which = ENG }
	command = { type = relation which = ENG value = 100 }
	command = { type = set_domestic which = democratic value = 7 }
	command = { type = set_domestic which = political_left value = 5 }
	}
			
	action_c = {
	trigger = { }
	ai_chance = 30
	name = "Join Axis"
	command = { type = alliance which = GER }
	command = { type = relation which = GER value = 100 }
	command = { type = set_domestic which = democratic value = 3 }
	command = { type = set_domestic which = political_left value = 3 }
	}
}

But you have to remove all not Axi Ali Com alliances from the scenario ( EUG )

alsow, TAN & MON from Comintern and all from Allies, expect of ENG and FRA.

Then you have to start a new game, pause it, check all boxes, then save the game, deleate the even via text editor and load it again.

I know this is not very comfortable but it works.
 
Last edited: