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

Akkilas

Corporal
52 Badges
Aug 18, 2010
44
0
  • Arsenal of Democracy
  • Warlock 2: Wrath of the Nagas
  • Warlock 2: The Exiled
  • Warlock: Master of the Arcane
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Sword of the Stars
  • Rome Gold
  • Europa Universalis: Rome
  • Victoria: Revolutions
  • Lost Empire - Immortals
  • Heir to the Throne
  • For The Glory
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Hearts of Iron Anthology
  • Crusader Kings II: Horse Lords
  • Stellaris: Ancient Relics
  • Stellaris
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • BATTLETECH
  • Stellaris: Lithoids
  • Age of Wonders III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • 500k Club
  • Crusader Kings II: Charlemagne
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
So I'm currently trying to port a lot of the work I'd done for AoD to DH, (not that it's much) but in addition am also adding a bunch of new things to the mod I'm working on. I've noticed DH uses a lot more techs, events, ministers, and leaders, and to make things worse, all the IDs for them are mostly listed out of order, so trying to add new ones is proving very frustrating.

I was hoping someone here has a simple range of all the IDs in use, if not for techs, ministers, or leaders, at least events.
 

MartinBG

Darkest Hour Developer
2 Badges
Nov 16, 2007
5.634
257
  • Hearts of Iron II: Beta
  • Hearts of Iron IV Sign-up
1. Darkest Hour\Modding documentation\DH Full - Leaders, Ministers and TT IDs and conversion.xls
2. Darkest Hour\Modding documentation\event IDS.csv

In the first file you'll find how event IDs are generated for DH Full. Unfortunately this rule was not followed by some of the devs that joined the team after the game release, so there could be exceptions from the rule, but in any case all DH Full events use 7 or more digits, so you should be safe if you use a smaller range (1000-5000 for example).

In the second file you'll find ID ranges for ministers, leaders and tech teams for all TAGs. AFAIK there are no exceptions in DH Full for the rule set there
 

Akkilas

Corporal
52 Badges
Aug 18, 2010
44
0
  • Arsenal of Democracy
  • Warlock 2: Wrath of the Nagas
  • Warlock 2: The Exiled
  • Warlock: Master of the Arcane
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Sword of the Stars
  • Rome Gold
  • Europa Universalis: Rome
  • Victoria: Revolutions
  • Lost Empire - Immortals
  • Heir to the Throne
  • For The Glory
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Hearts of Iron Anthology
  • Crusader Kings II: Horse Lords
  • Stellaris: Ancient Relics
  • Stellaris
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • BATTLETECH
  • Stellaris: Lithoids
  • Age of Wonders III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • 500k Club
  • Crusader Kings II: Charlemagne
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
Many thanks, I almost completely forgot about the modding documentation. Shows how long I've been putting this off for.