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

Faulty

Jail or Medal
103 Badges
Sep 22, 2009
2.946
296
  • Arsenal of Democracy
  • Darkest Hour
  • Crusader Kings II
  • Victoria 2: A House Divided
  • Cities: Skylines
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Crusader Kings Complete
  • Stellaris: Federations
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Surviving Mars: First Colony Edition
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Pride of Nations
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Steel Division: Normandy 44
  • Crusader Kings II: Conclave
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
e: nevermind
 

NorwayBernd

Lt. General
17 Badges
Sep 21, 2011
1.314
3
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II
Just a quick question: how exactly are flags made? I assume something like "command = { type = local_setflag which = testing_flag }" in the event is not enough, I have to add this flag in some directory, mustn't I?
 

NorwayBernd

Lt. General
17 Badges
Sep 21, 2011
1.314
3
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II
On the contrary.
Defining a flag by command (or in AI/scenario files if you need that flag to be set on scenario start) is all that you need to create it :)
Really? How delightful! :D
 

NorwayBernd

Lt. General
17 Badges
Sep 21, 2011
1.314
3
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II
Very sorry to double post, but I seem to have encountered a problem...

I added the following events, and now, whenever I start a new scenario, the game crashes. I don't even get an error message, the game just quits. Nothing in savedebug.txt.

I have checked and double-checked, and I cannot find anything wrong with it. Though it may just be my inability to see obvious errors, I do find it strange that I don't get an error message that suggests what might be wrong...

Code:
#############################################################
#	Events for Germany adding cores in Poland; two phases.
#############################################################
# 80400 - Fate of Poland (creation of the General Government)
# 80401 - Expansion of the General Government (adding occupied Soviet provinces to the General Government)
# 80500 - Integration of the General Government
# 80501 - Integration of the Expanded General Government
# 
# 
# 
# 





###################################################################
# EVENT 80400 - Fate of Poland (creation of the General Government)
###################################################################
	event = {
		id = 80400
		random = no
		country = GER
		style = 2
		save_date = yes

    
		trigger = {
			NOT = {
			core = { province = 232 data = GER }
			exists = POL
			flag = GERintegrate
			}

			owned = { province = 232 data = GER }
			control = { province = 232 data = GER }
		} 
		name = "Fate of Poland"
		desc = "With Poland crushed, it is time to decide what to do with it."
		picture = "congresspoland"


		date = { day = 1 month = january year = 1933 }
		offset = 100  
		deathdate = { day = 1 month = january year = 1960 }

		action_a = {
			ai_chance = 1
			name = "Restore independent Poland!"
	
			command = { type = belligerence value = -20 }
	
			command = { type = removeclaim which = 231 }#Wloclawek
			command = { type = removeclaim which = 227 }#Czestochowa
			command = { type = removeclaim which = 229 }#Ostroleka
			command = { type = removeclaim which = 232 }#Warsaw
			command = { type = removeclaim which = 223 }#Lodz
			command = { type = removeclaim which = 234 }#Radom		#Just in case GER has claimed these (human only)
			command = { type = removeclaim which = 233 }#Sosnowiec
			command = { type = removeclaim which = 237 }#Tarnow
			command = { type = removeclaim which = 228 }#Siedlce
			command = { type = removeclaim which = 243 }#Lublin
			command = { type = removeclaim which = 235 }#Krakow
			command = { type = removeclaim which = 236 }#Nowy Sacz
			command = { type = removeclaim which = 246 }#Chelm
	
			command = { type = addclaim which = 252 }#Suwalki
			command = { type = addclaim which = 254 }#Bialystok  		 #Does POL released by GER get these as cores? If yes, and the M-R treaty is not signed, this is necesarry so POL doesn't recieve them.
			command = { type = addclaim which = 250 }#Lomza
			command = { type = addclaim which = 253 }#Slonim
			command = { type = addclaim which = 239 }#Premyzl
	
			command = { type = independence which = POL value = 1 when = 0 }
			command = { type = make_puppet which = POL }
			command = { type = secedeprovince which = POL value = 231 }#Wloclawek
			command = { type = secedeprovince which = POL value = 227 }#Czestochowa
			command = { type = secedeprovince which = POL value = 229 }#Ostroleka
			command = { type = secedeprovince which = POL value = 232 }#Warsaw
			command = { type = secedeprovince which = POL value = 223 }#Lodz
			command = { type = secedeprovince which = POL value = 234 }#Radom
			command = { type = secedeprovince which = POL value = 233 }#Sosnowiec
			command = { type = secedeprovince which = POL value = 237 }#Tarnow
			command = { type = secedeprovince which = POL value = 228 }#Siedlce
			command = { type = secedeprovince which = POL value = 243 }#Lublin
			command = { type = secedeprovince which = POL value = 235 }#Krakow
			command = { type = secedeprovince which = POL value = 236 }#Nowy Sacz
			command = { type = secedeprovince which = POL value = 246 }#Chelm
			command = { type = sleepevent which = 80500 }

        }

		action_b = {
			ai_chance = 99
			name = "Create the General Government and integrate them!"
			command = { type = belligerence value = 5 }

			command = { type = addclaim which = 231 }#Wloclawek
			command = { type = addclaim which = 227 }#Czestochowa
			command = { type = addclaim which = 229 }#Ostroleka
			command = { type = addclaim which = 232 }#Warsaw
			command = { type = addclaim which = 223 }#Lodz
			command = { type = addclaim which = 234 }#Radom
			command = { type = addclaim which = 233 }#Sosnowiec
			command = { type = addclaim which = 237 }#Tarnow
			command = { type = addclaim which = 228 }#Siedlce
			command = { type = addclaim which = 243 }#Lublin
			command = { type = addclaim which = 235 }#Krakow
			command = { type = addclaim which = 236 }#Nowy Sacz
			command = { type = addclaim which = 252 }#Suwalki
			command = { type = addclaim which = 246 }#Chelm
			command = { type = dissent value = -5 }
			command = { type = local_setflag which = GERintegrate }

        }

		action = {
			ai_chance = 0
			name = "Continue with military occupation !"
			command = { type = belligerence value = 5 }
			command = { type = dissent value = 5 } 

        }

	}




###################################################################
# EVENT 80500 - INTEGRATION OF THE GENERAL GOVERNMENT
###################################################################
	event = {
		id = 80500
		random = no
		save_date = yes
		country = GER
		style = 2

		trigger = {
			NOT = {	core = { province = 232 data = GER }}
			event = { id = 80400 days = 720 } #2 years because I can't bother waiting longer
	
			NOT = {
			exists = POL
			}
			owned = { province = 232 data = GER }#Warsaw
			owned = { province = 230 data = GER }#Plock
			owned = { province = 231 data = GER }#Wloclawek
			owned = { province = 223 data = GER }#Lodz
			owned = { province = 227 data = GER }#Czestochowa
			owned = { province = 233 data = GER }#Sosnowiec
			owned = { province = 235 data = GER }#Krakow
			owned = { province = 236 data = GER }#Nowy Sacz
			owned = { province = 237 data = GER }#Tarnow
			owned = { province = 234 data = GER }#Radom
			owned = { province = 228 data = GER }#Siedlce
			owned = { province = 229 data = GER }#Ostroleka
			owned = { province = 243 data = GER }#Lublin
			owned = { province = 226 data = GER }#Chelm
			owned = { province = 252 data = GER }#Suwalki
							#Obviously, you still need to own and control them.
			control = { province = 232 data = GER }#Warsaw
			control = { province = 230 data = GER }#Plock
			control = { province = 231 data = GER }#Wloclawek
			control = { province = 223 data = GER }#Lodz
			control = { province = 227 data = GER }#Czestochowa
			control = { province = 233 data = GER }#Sosnowiec
			control = { province = 235 data = GER }#Krakow
			control = { province = 236 data = GER }#Nowy Sacz
			control = { province = 237 data = GER }#Tarnow
			control = { province = 234 data = GER }#Radom
			control = { province = 228 data = GER }#Siedlce
			control = { province = 229 data = GER }#Ostroleka
			control = { province = 243 data = GER }#Lublin
			control = { province = 226 data = GER }#Chelm
			control = { province = 252 data = GER }#Suwalki


		}


		name = "Integration of the General Government"


		desc = "The General Government is now considered an integral part of our nation."
	
		picture = "constitutional"

		action_a = {
			name = "Great!"
			ai_chance = 90
		command = { type = dissent value = -3 }
		command = { type = addcore which = 231 } #Wloclawek
		command = { type = addcore which = 230 } #Plock
		command = { type = addcore which = 229 } #Ostroleka
		command = { type = addcore which = 232 } #Warsaw
		command = { type = addcore which = 223 } #Lodz
		command = { type = addcore which = 227 } #Czestochowa
		command = { type = addcore which = 233 } #Sosnowiec
		command = { type = addcore which = 235 } #Krakow
		command = { type = addcore which = 234 } #Radom
		command = { type = addcore which = 228 } #Siedlce
		command = { type = addcore which = 236 } #Nowy Sacz
		command = { type = addcore which = 243 } #Lublin
		command = { type = addcore which = 237 } #Tarnow
		command = { type = addcore which = 252 } #Suwalki
		command = { type = addcore which = 246 } #Chelm
	#	command = { type = addcore which = 239 } #Premyzl
		}
		action_b = {
			name = "It's not the right time yet!"
			ai_chance = 10
			command = { }					#Since it is slightly ahistorical, I feel this is necessary to create a certain tense
		}

	}








###################################################################
# EVENT 80401 - EXPANSION OF THE GENERAL GOVERNMENT
###################################################################
	event = {
		id = 80401
		random = no
		save_date = yes
		country = GER
		style = 2


		trigger = {
			NOT = {
			core = { province = 254 data = GER }
			exists = POL
			}
			war = { country = GER country = SOV }
			control = { province = 252 data = GER }#Suwalki
			control = { province = 254 data = GER }#Bialystok
			control = { province = 250 data = GER }#Lomza
			control = { province = 253 data = GER }#Slonim
			control = { province = 239 data = GER }#Premyzl
			control = { province = 242 data = GER }#Lwow
			control = { province = 241 data = GER }#Stryj
			control = { province = 240 data = GER }#Tarnopol
			control = { province = 238 data = GER }#Stanislawow
		} 
		name = "Expansion of the General Government"
		desc = "With these provinces under our control, we are ready to expand the General Government."
		picture = "congresspoland"


		date = { day = 1 month = january year = 1933 }
		offset = 100  
		deathdate = { day = 1 month = january year = 1960 }

		action_a = {
		ai_chance = 90 
		name = "Very well"


			command = { type = addclaim which = 254 }#Bialystok
			command = { type = addclaim which = 250 }#Lomza
			command = { type = addclaim which = 253 }#Slonim
			command = { type = addclaim which = 239 }#Premyzl
			command = { type = addclaim which = 242 }#Lwow
			command = { type = addclaim which = 241 }#Stryj
			command = { type = addclaim which = 240 }#Tarnopol
			command = { type = addclaim which = 238 }#Stanislawow
			command = { type = local_setflag which = GERintegrate2 }
			command = { type = belligerence value = 10 }
		}

		action_b = {
		ai_chance = 10
		name = "No! We will not expand the Greater German Reich to include these lands!"

			command = { type = belligerence value = -10 }
			command = { type = sleepevent which = 80501 }
		}
	}



###################################################################
# EVENT 80501 - INTEGRATION OF THE EXPANDED GENERAL GOVERNMENT
###################################################################
event = {
	id = 80501
	random = no
	country = GER
	style = 2

		trigger = {
			NOT = {
			core = { province = 254 data = GER }
			}
			event = { id = 80400 days = 720 } #2 years because I can't bother to wait longer.
	
			flag = { GERintegrate2 }
	
			NOT = {	exists = POL }	

			OR = {
				control = { province = 254 data = GER }#Bialystok
				control = { province = 250 data = GER }#Lomza
				control = { province = 253 data = GER }#Slonim
				control = { province = 239 data = GER }#Premyzl
				control = { province = 242 data = GER }#Lwow		#Controlling just one should be enough, in case Romania or Hungary control some of them.
				control = { province = 241 data = GER }#Stryj
				control = { province = 240 data = GER }#Tarnopol
				control = { province = 238 data = GER }#Stanislawow
			}
	
		}
	
		name = "Integration of the expanded General Government"
	
		desc = "The additional parts of the General Government are now considered an integral part of our nation."

		picture = "constitutional"

		action_a = {
		name = "Great!"
		ai_chance = 90
			command = { type = dissent value = -3 }
			command = { type = addcore which = 254 } #Bialystok
			command = { type = addcore which = 250 } #Lomza
			command = { type = addcore which = 253 } #Slonim
			command = { type = addcore which = 239 } #Premyzl
			command = { type = addcore which = 242 } #Lwow
			command = { type = addcore which = 241 } #Stryj
			command = { type = addcore which = 240 } #Tarnopol
			command = { type = addcore which = 238 } #Stanislawow
			
		}
		action_b = {
		name = "It's not the right time yet!"
			ai_chance = 10
		command = { }					#Since it is slightly ahistorical, I feel this is necessary to create a certain tense
		}

	}
 

MartinBG

Darkest Hour Developer
2 Badges
Nov 16, 2007
5.634
257
  • Hearts of Iron II: Beta
  • Hearts of Iron IV Sign-up
Open settings.cfg (in your main game folder), find this line:
0 # Extra debug logs (savedebug.txt): 0 = disabled, 1 = enabled, 2 = enabled + extra map statistics
and change it to:
2 # Extra debug logs (savedebug.txt): 0 = disabled, 1 = enabled, 2 = enabled + extra map statistics
Start the scenario. If it crashes go and open savedebug.txt - there should be some clues inside on what the problem is.
 

NorwayBernd

Lt. General
17 Badges
Sep 21, 2011
1.314
3
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II
Oh. Now the game crashes before I can even open it.

Apparently missing translations from some of the events from Faulty's Communist Germany mod are to blame... That is very odd...
wcfpZzH.png
 

NorwayBernd

Lt. General
17 Badges
Sep 21, 2011
1.314
3
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II
The only errors listed there are missing translations that have got to do with the communist Germany mod.... :/
 

unmerged(82211)

Lt. General
2 Badges
Aug 14, 2007
1.613
2
  • Darkest Hour
  • Europa Universalis III Complete
The only errors listed there are missing translations that have got to do with the communist Germany mod.... :/
Then maybe there's a lack of ";" in the CSV file.
 

NorwayBernd

Lt. General
17 Badges
Sep 21, 2011
1.314
3
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II
No, that's not the problem.

Now, I have been a little stupid: I did not realise that it was possible to just hit ignore and launch the game.

I did so now, and upon starting a new scenario, it again seems like there's something wrong with the Communist Germany mod files (which is absolutely bizarre, since the game worked fine after I installed the Communist Germany Mod, and before I added the events of mine)... Apparently there's something wrong with some Trotsky ministers...

wT3dLuk.png


WYcktpq.png


I can see what's supposedly wrong, but why on earth do I encounter this error now, and not before?


EDIT: Okay, I've gotten around the problem in a way. I made a copy of Darkest Hour Full and pasted my events there instead. Since the CGM is not installed there, I had no problems. I however found out that at some point, the file congresspoland.bmp must have been renamed congress.bmp, and that "flag = { GERintegrate2 }" must be replaced by "flag = GERintegrate2". :)
 
Last edited:

NorwayBernd

Lt. General
17 Badges
Sep 21, 2011
1.314
3
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II

unmerged(49363)

Sergeant
Oct 13, 2005
60
0
Hello all!

I am trying to add a couple of events for Germany that would simulate their synthetic oil and rubber industries. The "Free_oil" command is working great, but I can not seem to find the command for free rares.

The modding docs state to use "free_rare_material," but that did not work. I alsi tried "free_rares," but that also did not work.

All other aspects of the events are working fine. But the incorrect commands above make the game CTD. The debug log states that is CTDs because of the bad commands.

Also, I was thinking off adding oil to rares conversion in the Synthetic Oil techs. Would "Oil_to_rare_Materials" bne the correct command to add to the tech?

Thanks in advance!!!
 

Arcangelus

Major
9 Badges
Apr 8, 2012
753
36
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Crusader Kings II: The Old Gods
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
  • Victoria 3 Sign Up
The command for off-map rare material production is "free_rare_materials". For example:
Code:
command = { type = free_rare_materials value = 250 }
 

EmperorWillham

Secretary of General Affairs
18 Badges
Apr 20, 2011
1.040
3
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: La Resistance
  • Crusader Kings II
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Cities: Skylines
  • 500k Club
  • Victoria 2
hi can you help me with this Event?

#########################################################################
# Construction begins on the Golden Gate Bridge
#@ 1933-1-05
#########################################################################
event = {
id = 0000004
random = no
country = USA
one_action = yes

name = "Construction begins on the Golden Gate Bridge"
desc = "On January 5, 1933, construction begins on the Golden Gate Bridge, as workers began excavating 3.25 million cubic feet of dirt for the structure’s huge anchorages.
Although the idea for a Bridge went back as far as 1869, the proposal took root in 1916. A former engineering student, James Wilkins, working as a journalist with the San Francisco Bulletin, called for a suspension bridge with a center span of 3,000 feet, nearly twice the length of any in existence. Wilkins’ idea was estimated to cost an astounding 100 million dollers. So, San Francisco's city engineer, Michael M. O'Shaughnessy who was credited for coming up with the name Golden Gate Bridge, began asking bridge engineers whether they could do it for less.
Engineer and poet Joseph Strauss, a 5-foot tall Cincinnati-born Chicagoan, said he could. Eventually, O'Shaughnessy and Strauss concluded they could build a pure suspension bridge within a practical range of 25-30 million dollers with a main span at least 4,000 feet. The construction plan still faced opposition, including litigation, from many sources. By the time most of the obstacles were cleared, the Great Depression of 1929 had begun, limiting financing options, so officials convinced voters to support 35 million dollers in bonded indebtedness, citing the jobs that would be created for the project. However, the bonds couldn’t be sold until 1932, when San-Francisco based Bank of America agreed to buy the entire project in order to help the local economy."


style = 2
picture = "Construction begins on the Golden Gate Bridge"

trigger = {

year = 1933
}

date = { day = 5 month = January year = 1933 }

action = { name = "This bridge well be built!"
command = { type = dissent value = -3 }
}
}
 
Last edited:

Arcangelus

Major
9 Badges
Apr 8, 2012
753
36
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Crusader Kings II: The Old Gods
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
  • Victoria 3 Sign Up
The description is far too long to put it outside a config file, and the trigger is redundant. The name of the picture is weird... but irrelevant for making the event itself work.

I recommend adding the description (and the name while you are at it) to a .csv file (let's say config/mods.csv) in lines like this:
Code:
EVT4_NAME;Construction begins on the Golden Gate Bridge;;;Inicia construcción del Puente Golden Gate;;;;;;X
EVT4_DESC;On January 5, 1933, construction begins on the Golden Gate Bridge, as workers began excavating 3.25 million cubic feet of dirt for the structure’s huge anchorages.\nAlthough the idea for a Bridge went back as far as 1869, the proposal took root in 1916. A former engineering student, James Wilkins, working as a journalist with the San Francisco Bulletin, called for a suspension bridge with a center span of 3,000 feet, nearly twice the length of any in existence. Wilkins’ idea was estimated to cost an astounding 100 million dollers. So, San Francisco's city engineer, Michael M. O'Shaughnessy who was credited for coming up with the name Golden Gate Bridge, began asking bridge engineers whether they could do it for less.\nEngineer and poet Joseph Strauss, a 5-foot tall Cincinnati-born Chicagoan, said he could. Eventually, O'Shaughnessy and Strauss concluded they could build a pure suspension bridge within a practical range of 25-30 million dollers with a main span at least 4,000 feet. The construction plan still faced opposition, including litigation, from many sources. By the time most of the obstacles were cleared, the Great Depression of 1929 had begun, limiting financing options, so officials convinced voters to support 35 million dollers in bonded indebtedness, citing the jobs that would be created for the project. However, the bonds couldn’t be sold until 1932, when San-Francisco based Bank of America agreed to buy the entire project in order to help the local economy.;;;;;;;;;X
And then replace it in the event:
Code:
################################################## #######################
# Construction begins on the Golden Gate Bridge
#@ 1933-1-05
################################################## #######################
event = {
	id = 4
	random = no
	country = USA
	one_action = yes

	name = EVT4_NAME
	desc = EVT4_DESC
	style = 2
	picture = "Construction begins on the Golden Gate Bridge"

	date = { day = 5 month = January year = 1933 }

	action = {
		name = "This bridge well be built!"
		command = { type = dissent value = -3 }
		}
	}

If the picture doesn't work, change the name of the image to something like "Golden_Gate_Begins" (a single string without spaces in between".