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

Zendiras

Corporal
Jun 22, 2011
38
0
So I started to try to learn to mod the Darkest Hour (v.1.02.) and I have difficulties and problems too. I'm hungarian and my english knowledge is not too bad and I really want to learn modding because I have lots opf things that could be done. So Please help!:D PM if you could help!:)
 
Begin with basics. First thing ever I modded was adding Egypt to 1936 scenario file as a playable nation, putting some IC to Egyptian provinces, etc. Next thing I did was adding Turkestan and making some events for them.
 
run the game in windowmode, turn on the the debug option in the settingsfiles (lvl 2), check the savedugs.txt.

When it just stops without error then you probably left a bracket open somewhere.
On the other hand you might have edited something maprelated that pushed the engine to recalculate the distancetables, which might take some time depending on your system, and looks like the whole thing is frozen.
The logs should tell you more.
 
Another question: the critical error message shows this:

--- Database Mismatch (type = 19800 / id 1) already used! ---

Means that there is an event which has the ID 19800, which collides with another event that's already there.
 
Okay, I added to 1933 Serbia, Croatia, Bosnia, Slovenia with the today borders, and I thought about to also add Kosovo and Macedonia, but I changed the name of Czechslovakia to Czech Republic and I added Slovakia too, But I added uzhorod and Chust to Poland (so the today borders are there). But if I unpause the game after the first day the game stops and it stop down to run. what can be the problem?
 
I don't think there is enough paper in this world to list all the things that can go wrong with modding.

My guess is that, perhaps, one or two provinces
1) Are simultaneously owned/controlled by two nations
2) Are owned by someone but controlled by no one (and vice versa)
 
My question is: how can I create an event? sopposing that I've writen it right in 'events', what id number do I have to choose? and how can I introduce an image, text, ente to the title and options? becouse those things must be in other folder.
 
Look at existing events. That gives you the best idea. Also look my link above, it includes very good instructions for even commands and triggers.

As for ID's just pick a random number. I've always used 555666, 555667, 555668 and so on.
 
ok, thank you.

In the Darkest Hour\Mods\Darkest Hour Full\config folder I saw an excel with the texts of the events, but I cannot modify it, the game doesn't rule after that. cound it be because of the compatibility of mi excel version?
And about the ID number, must always have 6 numbers?

Thank you.
 
You can't modify it? Check that 1) you are an administrator on the computer you're using and 2) that your game is installed in a non-protected folder such as C:/Games/ and not C:/programs or similar.

About the event ID numbers, no, you can use any unused number you want.