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

Adonnus

General
54 Badges
Apr 17, 2011
2.313
2.088
  • Semper Fi
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III Complete
  • Darkest Hour
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Holy Fury
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Crusader Kings III
  • Imperator: Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • War of the Roses
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Victoria: Revolutions
  • Rome Gold
  • Supreme Ruler 2020
  • Europa Universalis IV: Pre-order
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • 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
K, here's my event. The problem is that, I can't write an event in event_text in the Config folder without is screwing up somehow. The game displayed "UNKNOWN STRING WANTED" or just "EVT_8000000_NAME" instead of the actual thing. Problem is, one of these things, a seemingly random one, works, usually the EVT_8000000_ACTIONA one.

So, these descriptions and such won't show up.

#Foundation of the Gestapo
event = {
id = 8000000
random = no
country = GER
trigger = { ai = no }

date = { day = 6 month = march year = 1933 }
name = "EVT_8000000_NAME"
desc = "EVT_8000000_DESC"
style = 2
picture = "Wehrmacht"
action = {
name = "EVT_8000000_ACTIONA"
command = { type = dissent value = 1 } # -1
}
action = {
name = "EVT_8000000_ACTIONB"
command = { type = dissent value = 1 } # -1
}
}
 

Adonnus

General
54 Badges
Apr 17, 2011
2.313
2.088
  • Semper Fi
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III Complete
  • Darkest Hour
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Holy Fury
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Crusader Kings III
  • Imperator: Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • War of the Roses
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Victoria: Revolutions
  • Rome Gold
  • Supreme Ruler 2020
  • Europa Universalis IV: Pre-order
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • 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
EVT_8000000_NAME;;Foundation of the Gestapo;;;X
EVT_8000000_DESC;In January 1933 Hermann Göring was appointed head of the old Prussian Police and began filling it with Nazi Party members. On 26 April 1933 he reorganized the force's Amt III as the Gestapo a secret state police intended to serve the Nazi cause. The Gestapo had the authority to investigate cases of treason espionage sabotage and criminal attacks on the Nazi Party and Germany. The basic Gestapo law passed by the government in 1936 gave the Gestapo ability to operate without judicial oversight. The Gestapo was specifically exempted from responsibility to administrative courts where citizens normally could sue the state to conform to laws. As early as 1935 however a Prussian administrative court had ruled that the Gestapo's actions were not subject to judicial review.;;;X
EVT_8000000_ACTIONA;Very well;;;X
EVT_8000000_ACTIONB;This is not permitted;;;X
 

Lyrecryer

Back by Unpopular Demand!
85 Badges
Feb 27, 2010
2.074
13
  • Cities: Skylines - After Dark
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars
  • Crusader Kings II: Horse Lords
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Victoria 2
  • 500k Club
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cradle of Civilization
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: No Step Back
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV
  • Crusader Kings III: Royal Edition
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Third Rome
  • Surviving Mars
  • Europa Universalis III Complete
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis III Complete
  • Europa Universalis 4: Emperor
You don't have enough semi-colons at the end.

it should be
Code:
EXAMPLE_CODE;EXAMPLE_TEXT;;;;;;;;;;X
 

novapaddy

War-Father
103 Badges
Aug 26, 2009
8.904
1.314
  • The Kings Crusade
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Lead and Gold
  • Legio
  • Arsenal of Democracy
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron Anthology
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • 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
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • East India Company
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
K, here's my event. The problem is that, I can't write an event in event_text in the Config folder without is screwing up somehow. The game displayed "UNKNOWN STRING WANTED" or just "EVT_8000000_NAME" instead of the actual thing. Problem is, one of these things, a seemingly random one, works, usually the EVT_8000000_ACTIONA one.
So, these descriptions and such won't show up.
#Foundation of the Gestapo
event = {
id = 8000000
random = no
country = GER
trigger = { ai = no }

date = { day = 6 month = march year = 1933 }
name = "EVT_8000000_NAME"
desc = "EVT_8000000_DESC"
style = 2
picture = "Wehrmacht"
action = {
name = "EVT_8000000_ACTIONA"
command = { type = dissent value = 1 } # -1
}
action = {
name = "EVT_8000000_ACTIONB"
command = { type = dissent value = 1 } # -1
}
}

Yeah, I find I get this kind of thing from time to time, and when you study the code, line by line, there is nothing wrong with it...

So, you have to think like the computer?

The line: trigger = { ai = no }... why the double negative... I mean isn't the ai already automatically set to no?
... so I would remove it altogether, or do this;

trigger = {
ai = no
}
... I have found, especially in the AI files, that I have to do this, for stuff to work.

As for this bit:
name = "EVT_8000000_NAME"
desc = "EVT_8000000_DESC"

Very easy to drop or miscount a "0". Does it have to have so many figures?

At my last attempt, I would simply copy the same lines from another, working, event, and change the number to suit my new number. This usually works.

Also, put your events into Mods.csv, instead of events_text.csv as you'll end up with your events mixed up with DH events, and you don't want that, and also, it is easier to port your mod text, if it is all in the one place.

not much of a help, but some?