• 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.
Depending on how your dynamic economy system works, I might ask permission to use it in AAR.

My implementation is kind of stuck in the drawing phase atm (values are placeholders).

8ftl1b51051bmxg5g.jpg
 
Depending on how your dynamic economy system works, I might ask permission to use it in AAR.

My implementation is kind of stuck in the drawing phase atm (values are placeholders).

8ftl1b51051bmxg5g.jpg

Both of you guys should get at some point on skype and coordinate with Eric. I would like to avoid the work to somehow integrate 3 different economy models in the future. :p
 
Woohoo, last time I cared to draw diagrams was the beginnings of NWO1 making WW2 surrender events. It really did help to grasp the concept but took heaps of time. But I plan to have much more time starting in June so there's still hope for such great undertakings :) If you want to use my economic system, feel free, be warned however it's quite simplistic and in spite of the event's name, static. That means that a specific province will always get prescribed growth or decline whatever the situation is (e.g. if China achieves peaceful unification in 1940s the calculated decline of IC in 1950 will nevertheless happen). Going through many ways to tackle how those events are scripted, I find it difficult to believe there's a way to make it dynamic and have events of reasonable size (<100 MB :) ) but I used to say that 1 event for 1 country is not possible and proved myself wrong so maybe...

In the first post there's a link to "reference" folder where you can find inner workings of the system (in economic_dev folder). The order of analysis is worldgdp_source (mostly obsolete after my numerous arbitrary changes) -> industry_development -> provinces (sheets from left to right). Then I cut out values from the last sheet in provinces, paste them into output.csv and feed them to my app that prints out events. You look like you have bigger vision than me, so maybe you can develop something more interesting out of it? If you have any questions (I suppose you can be stuck at some point of my file chain), PM me, so I can clarify how it works or send the application if you think you'll need it.

Points about Soviet ministers noted, I'm a couple of pages behind when it comes to bugfixes but I'm not losing anything :)

And about the question of playing 1933/1936 scenario with the mod installed... I modified an event for Japanese surrender and made a silent event detecting if Germany (GER) doesn't exist and they both activate proper flags to make the mod working. To sum up, even if WW2 surrender events are in the works, some rudimentary way of enabling post-war events is already in.
 
Well...my design is dynamic based, so in theory it might be possible to overlay it over your province based economy system(?). It won't modify base IC considerably, instead I'm going to focus on Industrial Efficiency, dissent, etc.
I find it difficult to believe there's a way to make it dynamic and have events of reasonable size (<100 MB ) but I used to say that 1 event for 1 country is not possible and proved myself wrong so maybe...
Structure will probably be a (vastly) extended version of my simple economy system in CG. Events there weren't large afaik.
Thanks for the reference data!
Code:
# Economic Policy
event = {
	id = 1002
	random = no
	persistent = yes
	
	decision = {
		ai = no
	}
	
	decision_trigger = { 
		ai = no
	}
				
	trigger = {
		ai = no
	}
	
	name = "Change Economic Policy"
	decision_desc = "Firing this event changes your national policy regarding the economy. Options vary depending on your current circumstances." 
	desc = "Monetary and fiscal policy can be adjusted based on need. Loosening economic policy increases economic growth while increasing risk. Optionally, one can manually set policy."
	style = 2
	
	picture = "ep"
	decision_picture = "decision_ep"

	date = { day = 1 month = january year = 1900 }
	offset = 5
	deathdate = { day = 30 month = december year = 1990 }
	
	#Loosen Economic Policy
	action = {
		trigger = {
			not = { local_flag = dereg_econ }
			domestic = { type = free_market value = 6 }
		}
		name = "Deregulate Economic Policy"
		command = { type = local_setflag which = dereg_econ }
		command = { type = industrial_modifier which = total value = 10 }
	}
	
	#Create Economic Policy
	action = {
		trigger = {
			local_flag = dereg_econ
			not = { domestic = { type = free_market value = 5 } }
		}
		name = "Create Regulatory Laws"
		command = { type = local_clrflag which = dereg_econ }
		command = { type = industrial_modifier which = total value = -10 }
		command = { type = dissent value = 5 }
	}
	
	#Strengthen Economic Regulation
	action = {
		trigger = {
			not = { domestic = { type = free_market value = 7 } }
			not = { local_flag = dereg_econ }
			not = { local_flag = reg_econ }
		}
		name = "Strengthen Regulatory Laws"
		command = { type = local_setflag which = reg_econ }
	}
	
	#Weaken Economic Regulation
	action = {
		trigger = {
			domestic = { type = freemarket value = 6 }
			not = { local_flag = dereg_econ }
			local_flag = reg_econ
		}
		name = "Weaken Regulatory Laws"
		command = { type = local_clrflag which = reg_econ }
	}
	
	#Increase Tarrifs
	action = {
		trigger = {
			not = { domestic = { type = freemarket value = 7 } }
		}
		name = "Increase Import Tarrifs"
		command = { type = research_mod value = -10 }
		command = { type = industrial_modifier which = total value = 5 }
#		command = { type = industrial_modifier which = money value = 5 }
	}
	
	#Lower Tarrifs
	action = {
		trigger = {
			domestic = { type = freemarket value = 5 }
		}
		name = "Decrease Import Tarrifs"
		command = { type = research_mod value = 10}
		command = { type = industrial_modifier which = total value = -5 }
#		command = { type = industrial_modifier which = money value = -5 }
		command = { type = dissent value = 10 }

	}
	
	#Loosen Monetary Policy
	action = {
		trigger = {
			or = {
				and = {
					ic = 200
					money = 1250
				}
				and = {
					not = { ic = 200 }
					money = 1000
				}
				and = {
					not = { ic = 120 }
					money = 750
				}
				and = {
					not = { ic = 80 }
					money = 500
				}
				and = {
					not = { ic = 40 }
					money = 250
				}
			}
			domestic = { type = freemarket value = 6 }
		}
		name = "Loosen Monetary Policy"
		command = { trigger = { ic = 200 } type = money value = -250 }
		command = { trigger = { ic = 120 } type = money value = -250 }
		command = { trigger = { ic = 80 } type = money value = -250 }
		command = { trigger = { ic = 40 } type = money value = -250 }
		command = { type = money value = -250 }
		command = { type = industrial_modifier which = total value = 1 }
	}
	#Strengthen Monetary Policy
	action = {
		trigger = {
			or = {
				and = {
					ic = 200
					not = { money = 1250 }
				}
				and = {
					not = { ic = 200 }
					not = { money = 1000 }
				}
				and = {
					not = { ic = 120 }
					not = { money = 750 }
				}
				and = {
					not = { ic = 80 }
					not = { money = 500 }
				}
				and = {
					not = { ic = 40 }
					not = { money = 250 }
				}
			}
			not = { domestic = { type = freemarket value = 5 } }
		}
		name = "Strengthen Monetary Policy"
		command = { trigger = { ic = 200 } type = money value = 250 }
		command = { trigger = { ic = 120 } type = money value = 250 }
		command = { trigger = { ic = 80 } type = money value = 250 }
		command = { trigger = { ic = 40 } type = money value = 250 }
		command = { type = money value = 250 }
		command = { type = industrial_modifier which = total value = -1 }
	}
	
	#Increase Monetary Value/Currency Reform
	action = {
		trigger = {
			or = {
				and = {
					ic = 200
					money = 1250
				}
				and = {
					not = { ic = 200 }
					money = 1000
				}
				and = {
					not = { ic = 120 }
					money = 750
				}
				and = {
					not = { ic = 80 }
					money = 500
				}
				and = {
					not = { ic = 40 }
					money = 250
				}
			}
			domestic = { type = freemarket value = 6 }
		}
		name = "Currency Reform/Deflation"
		command = { trigger = { ic = 200 } type = money value = -250 }
		command = { trigger = { ic = 120 } type = money value = -250 }
		command = { trigger = { ic = 80 } type = money value = -250 }
		command = { trigger = { ic = 40 } type = money value = -250 }
		command = { type = money value = -250 }
		command = { type = dissent value = 5 } # Debitors and Merchants Unhappy
		command = { type = industrial_modifier which = supplies value = 5}
		command = { type = industrial_modifier which = total value = -5 }
	}
	
	#Decrease Monetary Value/Print Money
	action = {
		trigger = {
			or = {
				and = {
					ic = 200
					not = { money = 1250 }
				}
				and = {
					not = { ic = 200 }
					not = { money = 1000 }
				}
				and = {
					not = { ic = 120 }
					not = { money = 750 }
				}
				and = {
					not = { ic = 80 }
					not = { money = 500 }
				}
				and = {
					not = { ic = 40 }
					not = { money = 250 }
				}
			}
			not = { domestic = { type = freemarket value = 5 } }
		}
		name = "Quantitative Easing/Inflation"
		command = { trigger = { ic = 200 } type = money value = 250 }
		command = { trigger = { ic = 120 } type = money value = 250 }
		command = { trigger = { ic = 80 } type = money value = 250 }
		command = { trigger = { ic = 40 } type = money value = 250 }
		command = { type = money value = 250 }
		command = { type = dissent value = 5 } # Creditors and Consumers Unhappy
		command = { type = industrial_modifier which = supplies value = -5} # to simulate money since not possible atm
		command = { type = industrial_modifier which = total value = 5 }
	}
	
	#Tighten Fiscal Policy
	
	#Loosen Fiscal Policy
}


event = { 
	id = 1003
	random = no
	persistent = yes
	one_action = yes
	
	trigger = {
		random = 2
	}
	
	name = "Economic Development"
	desc = "Economies in every nation experienced times of boom and bust. Government regulations have always tried to rein in the more extreme impacts of the markets, trying to maintain a modest and steady upward trend. Sometimes, these regulations failed. Other times, government safety nets successfully prevented entire nations from collapsing. Your economic policy changes the possible outcomes."
	style = 2
	picture = "ep"
	
	date = { day = 1 month = january year = 1900 }
	offset = 12
	deathdate = { day = 30 month = december year = 1990 }
	
	# Freemarket
	action = {
		trigger = { 
			local_flag = dereg_econ
			not = { local_flag = bull_market }
		}
		name = "It's a bull market!"
		command = { type = industrial_modifier which = total value = 10 }
		command = { type = dissent value = -10 }
		command = { type = local_setflag which = bull_market }
		command = { type = local_clrflag which = bear_market }
	}
	
	action = {
		trigger = {
			local_flag = dereg_econ
			not = { local_flag = bear_market }
		}
		name = "It's a bear market!"
		command = { type = industrial_modifier which = total value = -10 }
		command = { type = dissent value = 25 }
		command = { type = local_setflag which = bear_market }
		command = { type = local_clrflag which = bull_market }
	}
	
	# Regulated Market
	action = {
		trigger = {
			not = { local_flag = dereg_econ }
			not = { local_flag = reg_econ }
		}
		name = "Development Bubble Booms."
		command = { type = industrial_modifier which = total value = 4 }
	}
	
	action = {
		trigger = {
			not = { local_flag = dereg_econ }
			not = { local_flag = reg_econ }
		}
		name = "Speculative Boom."
		command = { type = industrial_modifier which = total value = 2 }
	}
	
	action = {
		trigger = {
			not = { local_flag = dereg_econ }
			not = { local_flag = reg_econ }
		}
		name = "Market Bubble Pops."
		command = { type = industrial_modifier which = total value = -2 }
	}
	
	action = {
		trigger = {
			not = { local_flag = dereg_econ }
			not = { local_flag = reg_econ }
		}
		name = "Stock Market Crash!"
		command = { type = industrial_modifier which = total value = -4 }
	}
	
	# Highly Regulated Market
	
	action = {
		trigger = {
			local_flag = reg_econ
		}
		name = "Steady Economic Growth"
		command = { type = industrial_modifier which = total value = 2 }
	}
	
	action = {
		trigger = {
			local_flag = reg_econ
		}
		name = "Protests Over Economic Stagnation"
		command = { type = dissent value = 5 }
	}
	
	action = {
		trigger = {
			local_flag = reg_econ
		}
		name = "Minor Economic Recession"
		command = { trigger = { not = { money = 250 } } type = dissent value = 10 }
		command = { trigger = { money = 250 } type = money value = -250 }
	}
	
}

Each node in the diagram will be something like a decision version of the incomplete events below (wrote for something else)
Code:
# CHC/CHI/UCH Post War Economic Collapse
event = {
	id = 
	random = no
	
	name = "Chinese Economic Collapse"
	desc = "The Republic Era which spanned from 1911-1949 was almost four decades of constant warfare for the Chinese Nation. Internal strife and external aggression was not kind for the economy, which reached it's lowest point in recorded history in 1950. Precious industrial capital was destroyed, while many intellectuals and entrepreneurs fled overseas. What had been the world's largest economy through all of civilized history is now worse than the exploited former colony of India. Thankfully, the nation remains largely agrarian, and food safety remains within reach, for now."
	style = 2
	picture = "ccip_unrest"

}

# State Owned Enterprise Reformation (Nationalists)
event = {
	id =
	random = no
	country = CHI/UCH
	
	name = "State Owned Enterprise Reformation"
	
	action = {
		trigger = {
			//Kicked to Taiwan
		}
		name = "We need to maintain central control for the war!"
	}
	
	action = {
		name = "Allow gradual market liberalization"
		//BEST
	}
	
	action = {
		name = "Enact broad market reforms"
		//TERRIBLE IDEA
	}
}
# Land Redistribution Policy
event = {
	id =
	random = no
	
	name = "Land Redistribution Policy"
	
	action = {
		// NOT COMMUNIST
		name = "Clean up the current system"
	}
	
	action = {
		name = "Small land reform policy"
	}
	
	action = {
		// IF NATIONALIST HUGE DISSENT DUE TO POWERBASE OPPOSITION
		name = "Push for complete land reform"
	}
}
# Economic Recovery Policy
event = {
	id =
	random =no
	country =
	
	name = "Economic Recovery Policy"
	
	action = {
		trigger = {
			//Social Conservative/Market Liberal
		}
		name = "Adopt a free market system"
	}
	
	action = {
		name = "Adopt a Soviet-style planned economy"
	}
	
	action = {
		trigger = {
			//Leninist/LWR
		}
		name = "We need our own decentralized planned economy"
	}
	
	action = {
		name = "Keep our current system"
	}
}

# Economic Recovery Strategy

event = {
	id =
	random =
	country =
	
	name = "Economic Recovery Strategy"
	
	action = {
		name = "Focus on import substitution (protectionism)"
		//INEFFICIENT AND DISASTROUS
	}
	
	action = { // Communist and Nationalist Early
		name = "Focus on self-sufficiency (isolationism)"
		//INEFFICIENT
	}
	
	action = {
		name = "Focus on export promotion (mercantilism)"
		//SUCCESSFUL
	}
}

# Economic Sector Focus

event = {
	id =
	random =
	country =
	
	name = "Strategic Economic Sector Focus"
	
	action = {
		name = "Focus on heavy industry"
		//MOST SUCCESSFUL STRATEGY
	}
	
	action = {
		name = "Focus on light industry"
	}
	
	action = {
		name = "Focus on agriculture output"
	}
	
	action = {
		trigger = {
			//communist
		}
		name = "Focus on them all"
		//LEADS TO FAILURE!
	}
}

# Taiwan Government Subsidization

event = {
	id =
	random =
	country =
	
	trigger = {
		//Kicked to Taiwan
	}

	name = "Government Dominates Economy"
	
	action = {
		trigger = {
		//Self Sufficiency
		}
		name = "Government reserves are used to sustain our isolationist economic focus"
		//Counters Malus of Self Sufficiency for a while
	}
	
	action = {
		trigger = {
			//Export Promotion
		}
		name = "Domestic upstream industries flourish"
		//Positive Industrial Impact
	}
	
	action = {
		trigger = {
			//Import Substitution
		}
		name = "Government reserves run out maintaining protectionist policies"
		//Status Quo
	}
}

We can compare more once I get the design finished and a working model done.
 
Another thing: my game keeps crashing due to something related to the United Arab Republic in 1958. After Egypt invites Iraq, it crashes.

EDIT: When I try to load up as Egypt, they aren't even listed as a playable country (this is after they formed the union with Syria but a hour or to in-game before the event went to Iraq).
I finally got it to where Iraq says, "Yes" and the game progresses, so I guess there is a bug if they say, "No". However, when they join, nothing happens (i.e. Iraq is still it's own nation).
 
Last edited:
Yes, as long as things go historically (more-or-less).

As soon as Nazi Germany is annexed (ceases to exist), almost all of the mod's mechanisms kick in.

And about yet again unbalanced Indonesian war of independence: in many previous versions I tried to change the balance of the war and make Dutch AI much more active to help them regain rebelling provinces faster. What I overlooked was an AI setting to make both countries ignore invasion AI as long as there's a land front between those countries (and practically this is always the case). After unblocking the invasion AI, the Dutch make wonderful use of their transports and marines and crush rebels, which is very good, given strength they have at their disposal. Of course I'll cut down the amount of Dutch divisions so it will be no longer one-sided but I was happy to see them so eager to make amphibious landings.
 
Alright, so as long as Germany is annexed the mod will trigger? I'm mostly wondering if some unhistorical things happen it will still work as long as Germany is annexed.
 
Well...my design is dynamic based, so in theory it might be possible to overlay it over your province based economy system(?). It won't modify base IC considerably, instead I'm going to focus on Industrial Efficiency, dissent, etc.

If you're going the way of regulating industrial efficiency, then you're right, there's plenty of options that can be taken into account and the events will be small and simple. I went the way of changing provincial output because I wanted to let colonial nations grow their own healthy industrial base (1936 IC placement is not very generous for countries outside of Europe, especially Africa) and reasoned that when the a country has 0 IC then even multiplying it by some hefty value will do nothing :) (as I see in DH countries get free 3 IC but it's still very small and I'm not sure if it gets multiplied by industrial modifier).

In the end, maybe there's a place for some dual approach where the changes are based on industrial modifiers but there are special events for colonial provinces giving them IC and resources. Overall, I like my approach better (I don't have to worry that high industrial-modifier country, which was meant to bump up puny own industrial base, conquers other countries and gets an unproportionately high amount of IC) but I understand it may be too rigid.
 
Alright, so as long as Germany is annexed the mod will trigger? I'm mostly wondering if some unhistorical things happen it will still work as long as Germany is annexed.

It should work even if there's an unhistorical finish to the war and most of mod's events should work OK regardless. But I bet, at this point, there are some faulty triggers that could produce weird results. If you happen to see such things, please report!
 
Thanks for the responses, I'll make sure to report anything I see. A bit of an off topic question, does Republican Spain get any special choices or events if they win the civil war?
 
Another thing: my game keeps crashing due to something related to the United Arab Republic in 1958. After Egypt invites Iraq, it crashes.

EDIT: When I try to load up as Egypt, they aren't even listed as a playable country (this is after they formed the union with Syria but a hour or to in-game before the event went to Iraq).
I finally got it to where Iraq says, "Yes" and the game progresses, so I guess there is a bug if they say, "No". However, when they join, nothing happens (i.e. Iraq is still it's own nation).

Just making sure you noticed this in the chaos above, ha.
 
Both of you guys should get at some point on skype and coordinate with Eric. I would like to avoid the work to somehow integrate 3 different economy models in the future. :p

And get in touch with me too, please, before going ahead :).
Btw: I've been playing NWO2 recently, it's awesome!
 
Last edited:
Just making sure you noticed this in the chaos above, ha.

Yeah, I just started digging deep and copied out all the bug reports. Wow, that's a lot of them.

A bit of an off topic question, does Republican Spain get any special choices or events if they win the civil war?

Nope. I feel they should get at least something, especially that if Spain is annexed during WW2 and liberated by USA the Republicans will be released (starting in 1.8.1) but we'll see.
 
Depending on how your dynamic economy system works, I might ask permission to use it in AAR.

My implementation is kind of stuck in the drawing phase atm (values are placeholders).

8ftl1b51051bmxg5g.jpg

What program is that? :eek:
 
Hey, sorry to bug but where is the link to the latest download and to the color scale? I can't seem to find it.