• 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.
Originally posted by Generalisimo
about the industry command, it sounds weird, but it looks it doesn't work with IDs of provinces, if we can confirm that, we must post that as a BUG. :(

If im not wrong, there are some events in original HoI 1.03b that uses the industry command with provs ID: those about 'moving industry to syberia' for SOV.
Maybe im wrong and they use -1, because i dont have the game right here and i cant confirm my 'intuitions'.:confused:
 
you are right:

action_a = {
name = "ACTIONNAME2633A" # Let's move our industrial base to Sibiria
command = { type = industry which = 781 value = -5 } #Smolensk
command = { type = industry which = 775 value = -5 } #Kiev
command = { type = industry which = 857 value = -5 } #Kharkov
command = { type = industry which = 1377 value = 5 } #Sverdlovsk
command = { type = industry which = 1378 value = 5 } #Tjeljabinsk
command = { type = industry which = 1371 value = 5 } #Magnitogorsk
}

so, no clue...
there must be an error in the code that i am not finding... :mad:
maybe it doesn't support more than 5 in the value clause... :rolleyes:
 
Originally posted by Generalisimo
you are right:
there must be an error in the code that i am not finding... :mad:
maybe it doesn't support more than 5 in the value clause... :rolleyes:

Well, that's good news but frustrating. :) What about the headofgovernment trigger? Do we know that it works? I take it you're going to test just one event at a time to see if it works?
 
Just a shot in the dark but try it with a very short desc, ie desc = "Test" to rule out any overflow errors from having too long event descriptions.
 
Originally posted by Mettermrck
What about the headofgovernment trigger? Do we know that it works?

I once made an event with that trigger and the game loaded with no problem. I didn´t really waited to the event to happen, so i don´t know if it in fact triggers, but usually, when things are wrong with events, at least in my computer and in my experience, there is a warning window when loading the scenario.

So, i´d bet that trigger works... but i wouldn´t bet very much:D
 
Originally posted by Steel
Just a shot in the dark but try it with a very short desc, ie desc = "Test" to rule out any overflow errors from having too long event descriptions.

I have used descriptions to up to 10 lines in wordpad and they worked. With 11 lines or more... crash!... i like to make exhaustive descriptions :D. I think those descriptions aren´t too long, at least at first look, but maybe it´s worth to test it.
 
Originally posted by Vulture
Safest way to avoid this is to put all DESCS in the text.csv
yes, but messing with that file can cause serious troubles, especially with diferent versions (PAN, SF, Koch, etc...) and we want to translate every version of CORE, so it is a REAL problem to work with that file. :(
 
resizing the window, i can see that this event:

name = "Prosperity for the People"
desc = "The failure of government policies in the late 1930s increased social dissent and kept America firmly out of any foreign involvement. Emboldened by this growth of isolationist sentiment, the Republicans turned to Robert Taft as their Presidential candidate in 1940. Condemning the mistakes of the past and the New Deal, Taft sought to restore public confidence and wealth by going after the corrupt businessmen and magnates who he said ‘were a blot on the American landscape.’ Swept into office on a tide of public enthusiasm, Taft immediately went to work, proposed his first round of legislation, the ‘Prosperity for the People’ program, a series of laws criminalizing bad business behavior, coupled with a program of high protective tariffs and bans on arms exports.”

has 11 lines, while the others don't pass the 9 lines, when i get home i will start with this first, then the others ;)
 
Originally posted by Generalisimo
has 11 lines, while the others don't pass the 9 lines, when i get home i will start with this first, then the others ;)

Sounds good, Generalissimo. I'll do some testing along those lines as well...I'd hate to lose the descriptions...to me they're what brings a player into the atmosphere of the times! :)
 
name = “Help our friends! Provide increase aid to Allies"

Found it, Generalissimo! It's a silly error and makes me groan that it was such a small thing. Look at the quotation marks above - notce the left is curved and the right is straight? That's the problem. I changed all quotes to straight and it loads smoothly. Crazy, huh?!? :)

Ok, I edited my original code post so that the quotes are straight and the event IDs are there. So you can copy off that if you like. Btw, for the Selective Service Act, weren't we gonna add a trigger where if the Kiri Pact takes place, the event would occur, sort of a Pacific-version of the fall of Paris? I think the Kiri Pact would scare the US as much as the fall of Paris.
 
I have a couple more event ideas for the US, milder this time and mainly there for flavor and to increase the feeling of the times.

1) Court Packing Plan - The Supreme Court was declaring many of Roosevelt's New Deal programs unconstitutional in 1936. Fearing a collapse of his reforms, Roosevelt embarked on a plan to influence the makeup of the Supreme Court. Proposed in early 1937, it was designed to expand the number of judges from 9 to 15, as well as encourage retirement of justices by age 70 with full pay.
A. The country objects! No program is passed
(+1 dissent, 10 towards democracy)
B. The Plan was a big mistake - Major negative reaction
(+3 dissent, 10 towards communism)
C. Reorganization passed - the Supreme Court will toe the line
(+2 dissent, 10 towards fascism)

2) Mid-Term Elections - November 1938, 1942, 1946
A. President is doing a lousy job - Congressional seats lost (+1 dissent, 10 towards democracy)
B. Voters back the President - party gains more seats in Congress (-1 dissent, 10 towards fascism)
C. Voters lose faith in the party (+2 dissent, 10 towards communism)

I'm not sure it would be any different for Republicans. The theory is, in normal democracy, the mid-term elections go badly for the incumbent party. So if they actually win, they gain some control over legislation, thus the slight 'whiff' of fascism. :)
 
A way of giving the US some dissent if they use nukes would be nice to weaken them a bit post-war...
 
Well, I might as well code these. :) As I said, nothing major, just a little more domestic flavor for the US.

event = {
id = A
random = no
country = USA
trigger = { headofgovernment = 6035 }

name = "The Court-Packing Plan"
desc = "The Supreme Court was declaring many of Roosevelt's New Deal programs unconstitutional in 1936. Fearing a collapse of his reforms, Roosevelt embarked on a plan to influence the makeup of the Supreme Court. Proposed in early 1937, it was designed to expand the number of judges from 9 to 15, as well as encourage retirement of justices by age 70 with full pay."

style = 0
date = { day = 1 month = january year = 1937 }
offset = 60

action_a = {
name = "The country objects! No program is passed"
command = { type = dissent value = 1 }
command = { type = alignment which = democratic value = 10 }
}
action_b = {
name = "The Plan was a big mistake - Major negative reaction"
command = { type = dissent value = 5 }
command = { type = alignment which = communist value = 10 }
}
action_c = {
name = "Reorganization passed - the Supreme Court will toe the line"
command = { type = dissent value = 2 }
command = { type = alignment which = fascist value = 10 }
}
}

event = {
id = B
random = no
country = USA
trigger = { alignment = democratic }

name = "Mid-Term Elections 1938"
desc = "The mid-term elections were a good way to gauge public reaction to the President's policies in the first two years of the term. They also signaled a realignment in the balance of power in the legislative branch. Voters turn out to the polls to grade their President!"

style = 0
date = { day = 1 month = november year = 1938 }
offset = 7

action_a = {
name = "The President is doing a lousy job - Congressional seats lost"
command = { type = dissent value = 1 }
command = { type = alignment which = democratic value = 10 }
}
action_b = {
name = "Voters back the President - party gains more seats in Congress"
command = { type = dissent value = -1 }
command = { type = alignment which = fascist value = 10 }
}
action_c = {
name = "Voters begin to lose faith in the party"
command = { type = dissent value = 2 }
command = { type = alignment which = communism value = 10 }
}
}

event = {
id = C
random = no
country = USA
trigger = { alignment = democratic }

name = "Mid-Term Elections 1942"
desc = "The mid-term elections were a good way to gauge public reaction to the President's policies in the first two years of the term. They also signaled a realignment in the balance of power in the legislative branch. Voters turn out to the polls to grade their President!"

style = 0
date = { day = 1 month = november year = 1942 }
offset = 7

action_a = {
name = "The President is doing a lousy job - Congressional seats lost"
command = { type = dissent value = 1 }
command = { type = alignment which = democratic value = 10 }
}
action_b = {
name = "Voters back the President - party gains more seats in Congress"
command = { type = dissent value = -1 }
command = { type = alignment which = fascist value = 10 }
}
action_c = {
name = "Voters begin to lose faith in the party"
command = { type = dissent value = 2 }
command = { type = alignment which = communism value = 10 }
}
}

event = {
id = D
random = no
country = USA
trigger = { alignment = democratic }

name = "Mid-Term Elections 1946"
desc = "The mid-term elections were a good way to gauge public reaction to the President's policies in the first two years of the term. They also signaled a realignment in the balance of power in the legislative branch. Voters turn out to the polls to grade their President!"

style = 0
date = { day = 1 month = november year = 1946 }
offset = 7

action_a = {
name = "The President is doing a lousy job - Congressional seats lost"
command = { type = dissent value = 1 }
command = { type = alignment which = democratic value = 10 }
}
action_b = {
name = "Voters back the President - party gains more seats in Congress"
command = { type = dissent value = -1 }
command = { type = alignment which = fascist value = 10 }
}
action_c = {
name = "Voters begin to lose faith in the party"
command = { type = dissent value = 2 }
command = { type = alignment which = communism value = 10 }
}
}