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

Tayran

Colonel
38 Badges
Jan 3, 2001
895
18
Visit site
  • Darkest Hour
  • Cities: Skylines - After Dark
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III
  • Hearts of Iron III
  • Tyranny: Archon Edition
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Empire of Sin
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Cities: Skylines
  • 500k Club
  • Warlock: Master of the Arcane
  • Victoria 2
Ive been sitting all morning trying to figure out why these two events dont work. They work individually, if I delete one of them, the game runs, and the other way. But when I put them together, it crashes!
Any clues?

Code:
[COLOR=Yellow]## The start of the national socialist five year plan ##
event = {
id = 94061
country = SWE
picture = "Industry"

date = { day = 13 month = january year = 1936 }
name = "The start of the national socialst five year plan"

desc = "x"

action_a = {
name = "Start the plan!"
command = { type = supplies value = -1000 }

}
}

## Protests from the neighbours ##
event = {
id = 94062
country = SWE
picture = "bolshevik_troops"

date = { day = 15 month = january year = 1936 }
name = "Nordic delegation arrives."

desc = "x"

action_a = {
name = "Fear us!"
command = { type = relation which = NOR value = -100 }
command = { type = relation which = DEN value = -100 }
command = { type = relation which = FIN value = -100 }
command = { type = domestic which = interventionism value = 4 }
command = { type = end_non_aggression which = SWE where = DEN }
command = { type = end_non_aggression which = SWE where = FIN }
command = { type = end_non_aggression which = SWE where = NOR }

}
}[/COLOR]
 

Tayran

Colonel
38 Badges
Jan 3, 2001
895
18
Visit site
  • Darkest Hour
  • Cities: Skylines - After Dark
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III
  • Hearts of Iron III
  • Tyranny: Archon Edition
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Empire of Sin
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Cities: Skylines
  • 500k Club
  • Warlock: Master of the Arcane
  • Victoria 2
Fernando Torres said:
Which message did you get ?

I got a very strange error message that said something about the date, and then it quoted the description on one of the events..
Thats why Im at a loss, normally, the error message kinda tells you whats wrong.
 

Tayran

Colonel
38 Badges
Jan 3, 2001
895
18
Visit site
  • Darkest Hour
  • Cities: Skylines - After Dark
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III
  • Hearts of Iron III
  • Tyranny: Archon Edition
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Empire of Sin
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Cities: Skylines
  • 500k Club
  • Warlock: Master of the Arcane
  • Victoria 2
error_msg.jpg


Code:
########################################
#### Sweden
########################################


### SNSAP Coup ###
event = {
id = 94058
country = SWE
picture = "Riot2"

date = { day = 1 month = january year = 1936 }
name = "SNSAP coup"
desc = "The final stage of SNSAP's road to power is complete. They now have seized control. The nation is in turmoil, but national socialistic
rule is in place. Erik Hjelm has disposed of the social democrat prime minister and proclaimed himself Leader of Sweden."

action_a = {
name = "Long live SNSAP!"
command = { type = regime_falls }
command = { type = dissent value = 5 }
	command = { type = domestic which = democratic value = -10 }
	command = { type = domestic which = political_left value = -10 }
	command = { type = domestic which = interventionism value = 1 }
        command = { type = domestic which = freedom value = -10 }
        

}
}

## Reorganization of the army ##
event = {
id = 94059
country = SWE
picture = "militaryparade1"

date = { day = 15 month = january year = 1936 }
name = "SNSAP reorganizes the army"
desc = "One of biggest issues on SNSAP's agenda is the restoration of Sweden as a military power. This requires a brutal change in policy. Instead of building for peace, they now starts preparing for war.
Massive conscription into a three year military program for all men of age are put in place and resources are taken from luxury spending, rations are issued on special goods. All excess spending is put into the miltary."

action_a = {
name = "We build for war."
command = { type = manpowerpool value = 100 }
command = { type = supplies value = 1000 }
command = { type = relative_manpower value = 10 }
command = { type = dissent value = 2 }
command = { type = domestic which = defense_lobby value = 10 }
command = { type = domestic which = professional_army value = 10 }
command = { type = domestic which = interventionism value = 1 }

}
}

## SNSAP takes control of the industry ##
event = {
id = 94060
country = SWE
picture = "Industry"

date = { day = 10 month = january year = 1936 }
name = "SNSAP reorganizes the army"
desc = "Too long the Swedish industry had been ruled by greedy capitalists. SNSAP has disposed of them and now places loyal national socialists in charge."

action_a = {
name = "We are in control now."
command = { type = domestic which = free_market value = -10 }
command = { type = dissent value = 1 }


}
}

## The start of the national socialst five year plan ##
event = {
id = 94061
country = SWE
picture = "Industry"

date = { day = 13 month = january year = 1936 }
name = "The start of the national socialst five year plan"
desc = "After evalution of the economy, led by August Stehn, the SNSAP leadership realized that it would require more to get the industry growing. Basicly the swedish industry is in very bad shape. Certainly not capable of supporting a war machine. Cuts had been made in all sectors and put into the armaments industry. But now it was time to start building from the bottom. New exploits of all necessary resources are searched for. Sweden is going to be able to support itself! In addition, evalution of the mining industry has started, this needs to be more efficient, August Stehn states in his reports."

action_a = {
name = "Start the plan!"
command = { type = supplies value = -1000 }

}
}

## Protests from the neighbours ##
event = {
id = 94062
country = SWE
picture = "bolshevik_troops"

date = { day = 15 month = january year = 1936 }
name = "Nordic delegation arrives."
desc = "A delegation from Norway, Denmark and Finland arrives in Stockholm in the beginning of march. The neighbouring countries are worried by all the turmoil within the swedish nation. They have heard reports of executions, massacres of protesters. Erik Hjelm, laughs at this and orders the execution of the the diplomats. Their heads are sent back to their respective country. A clear message, Sweden is in charge now, we will stand back for nothing!"

action_a = {
name = "Fear us!"
command = { type = relation which = NOR value = -100 }
command = { type = relation which = DEN value = -100 }
command = { type = relation which = FIN value = -100 }
command = { type = domestic which = interventionism value = 4 }
command = { type = end_non_aggression which = SWE where = DEN }
command = { type = end_non_aggression which = SWE where = FIN }
command = { type = end_non_aggression which = SWE where = NOR }

}
}

And its the last two that causes problems.