• 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.
P.S. please what app would you use for the Excel table files like Province.csv? Notepad++ as well?
I cant work with that, the excel columns give me a great overview,

Any recommendations on what apps to use to avoid file corruption??

Many thanks
You really need help from a good modder. You are modding the events incorrectly. I don't understand why you are using semicolon denotation for events. I have never seen an event written that way. Have you looked at how other events are written and structured?
Look at this event. Do you see the differences in how it is written vs your events?

#########################################################################
# The 2-2-6 incident (Japan)
#########################################################################
event = {
id = 2011006
random = no
country = JAP

name = EVT_1_NAME
desc = EVT_1_DESC
style = 2
picture = "news_paper"
trigger = {
atwar = no
NOT = {
ispuppet = JAP
}
}

date = { day = 25 month = february year = 1936 }

action_a = {
ai_chance = 90
name = EVT_1_ACTA
command = { type = dissent value = 1 }
command = { type = domestic which = interventionism value = 1 }
command = { type = set_domestic which = democratic value = 3 }
command = { type = set_domestic which = political_left value = 4 }
command = { type = domestic which = freedom value = -1 }
command = { type = sleepminister which = 50323 } # Saito Makoto
command = { type = sleepminister which = 50269 } # Takahashi Korekiyo
}
action_b = {
ai_chance = 10
name = EVT_1_ACTB
command = { type = dissent value = 3 }
command = { type = domestic which = interventionism value = 2 } # NOTE: The B choice effects are stronger than A by design
command = { type = domestic which = democratic value = -3 } # This represent a greater shift towards the military and
command = { type = domestic which = political_left value = -3 } # right wing control.
command = { type = domestic which = freedom value = -3 }
command = { type = domestic which = defense_lobby value = 1 }
command = { type = headofstate which = 50001 }
command = { type = headofgovernment which = 50013 }
command = { type = foreignminister which = 50039 }
command = { type = armamentminister which = 50062 }
command = { type = ministerofsecurity which = 50086 }
command = { type = ministerofintelligence which = 50114 }
command = { type = chiefofstaff which = 50007 }
command = { type = chiefofarmy which = 50008 }
command = { type = chiefofnavy which = 50148 }
command = { type = chiefofair which = 50154 }
command = { type = relation which = SOV value = -10 }
command = { type = relation which = CHI value = -10 }
command = { type = sleepminister which = 50323 } # Saito Makoto
command = { type = sleepminister which = 50269 } # Takahashi Korekiyo
}
}
 
P.S. please what app would you use for the Excel table files like Province.csv? Notepad++ as well?
I cant work with that, the excel columns give me a great overview,

Any recommendations on what apps to use to avoid file corruption??

Many thanks
I don't mess with province.csv I am unwilling to spend the time learning the right way to change/add/delete provinces from a map. I am a player first and foremost. Good luck to you
 
I don't mess with province.csv I am unwilling to spend the time learning the right way to change/add/delete provinces from a map. I am a player first and foremost. Good luck to you
I am not using semicolon denotations, this is a screenshot of savedebug file.

I am not adding or deleting provinces, you can edit IC, resources, manpower, beaches yes or no, etc... in the provinces.csv with Excel.

Anyway, I seem to have struck luck because when I copy paste to a brand new file with Notepad++ it keeps saying Error ID used for event such and such but the game works normally.
 
This should be my last question here for a while, but does anyone know why exactly a country isn't showing up in the "liberate nation" menu/causes a CTD upon releasing it (the DDR, which I didn't mess with)?

Is there something wrong with the code in revolt.txt? This kinda has me concerned about all the new tags I added now.

U23 = { # Alsace-Lorraine
date = { day = 1 month = january year = 1000 }
expirydate = { day = 29 month = december year = 3000 }
minimum = { 72 73 316 }
extra = { 64 317 1022 }
capital = 72
regular_id = FRA
intrinsic_gov_type = left_wing_radical
no = { FRA U01 U11 }
}


U24 = { # Hawaii
date = { day = 1 month = january year = 1000 }
expirydate = { day = 29 month = december year = 3000 }
minimum = { 658 659 660 663 7242 }
min = 1
extra = { }
capital = 663
regular_id = USA
}

U25 = { # North Germany
date = { day = 1 month = january year = 1000 }
expirydate = { day = 29 month = december year = 3000 }
minimum = {
223 300 298 299 301 302 304 296 297 309 473 482 510 546 80 81 86 87 88 89 90 76 67 75 74
3254 1400 1405 1595 1623 1779 1810 1811 2647 3238 3239 3257 3258 3256 3259 3260 3261 3255 2381
2370 3244 3245 3243 3240 6500 6519 6520 6521 6917
7188 7187 7185 7184 7186 7183 7182 7260 7181 7266 7190 7986 7045 7046 7047 7177
}
min = 1
extra = { }
claims = { 66 72 73 83 84 85 91 303 310 311 312 313 314 315 374 375 376 457 547 970 989 1014 1015 1016 1018 1022 1904 2597 2627 3241 3242 3246 3247 3248 3249 3250 3251 3252 3253 7178 7179 7180 7189 }
capital = 300
regular_id = GER
}
 
Last edited:
Where did you read that excel would be a good program to edit DH files and worse: to probably save those files with excel?
Use a

Where did you read that excel would be a good program to edit DH files and worse: to probably save those files with excel?
Use a standard asci-editor instead.
I have resolved the provinces issue.

But the Events issue keeps coming back.

Hello,

I have been editing events to get a certain flow of the game, just editing files like 100 percent chance with other 0% outcomes.

At first everything worked fine but then I started getting weird freezes and crashes after a while.

Now I input original files from online for example, edit a few event files, save and the game crashes for example August 2nd at the end of the day always.

I copied the crashing files onto new blank cut files in event files with Notepad ++ and everything worked fine after that. Which was weird and suspicious.

What was weird, the savedebug said the events in those files are now duplicate IDs but they worked.

Then I started editing anew with Notepad++ and the same thing keeps happening.

The savedebug level 2 log DOES NOT show any log when it crashes.

Who all and where is the best to contact about this?? Please
 
This should be my last question here for a while, but does anyone know why exactly a country isn't showing up in the "liberate nation" menu/causes a CTD upon releasing it (the DDR, which I didn't mess with)?

Is there something wrong with the code in revolt.txt? This kinda has me concerned about all the new tags I added now.
I would like to know as well if this comes up in the future for me as well.
 
This should be my last question here for a while, but does anyone know why exactly a country isn't showing up in the "liberate nation" menu/causes a CTD upon releasing it (the DDR, which I didn't mess with)?

Is there something wrong with the code in revolt.txt? This kinda has me concerned about all the new tags I added now.
I have never released the DDR, and don't see them on your list. Is this happening in unmodded 1.05.2? If so, I will try it and verify it and if I can verify it I will take it to the team. I am sure they want to know. Can you verify your checksum please?
 
How to wake techteam by event? It works for China and von faulkhausen, but not People's Republic of China, their wake up dont work.

If I edit their year to start to pre 1933, then it is available at start, not waken by event.
 
Is there a cap on the number of events that can be loaded? I can see savedebug.txt loading 4470 events, but mysteriously there are a couple of ones from UK.txt that don't get loaded at all. I'm wondering if I need to remove events...
E: Might've figured it out, bad syntax wasn't getting caught by debug (But it'd still be nice to know if there's a limit)
 
Last edited:
I'm trying to make an event that starts a war between two random countries. I came up with this along with a few other variations but none of them seem to work:


event = {
id = 1023
country = -1
random = yes
name = "EVT_1023R_NAME"
desc = "EVT_1023R_DESC"


action_a = {
name = "ACTIONNAME1023A"
command = { type = war which = -1 } }
}
}

Does anyone know if an event like this would be possible and how that event code would look?

Thanks
 
Hello ! I'm not sure you the commands works with a random country. However there may be ways to make random countries to declare war to each others but it would be a long event as you have to put all countries one by one. I can have a look at it when I'm back on a computer if you'd like.
 
34252435234.png

Hello,
can anyone tell me in which part of the fike misc.txt should I go to change the parameters shown inside the red rectangle?
 
View attachment 1260511
Hello,
can anyone tell me in which part of the fike misc.txt should I go to change the parameters shown inside the red rectangle?
I just turn it off in misc.txt. while I like the idea I theory, until logistics are more realistic I don't use it. Jmo, ymmv. Just search for stockpile in misc.txt. you should find it.
 
  • 1
  • 1Like
Reactions:
I just turn it off in misc.txt. while I like the idea I theory, until logistics are more realistic I don't use it. Jmo, ymmv. Just search for stockpile in misc.txt. you should find it.
Done, thank you.
 
  • 1Like
Reactions: