Darkest Hour - Dev Diary #12 - Modding with Darkest Hour Part 2

  • Hearts of Iron IV Survey

    Help us make HoI IV better by sharing your experiences in this 5 minute survey


  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

Inner Circle

----Darkest Hour Team---- ✪ ☭ ✠
90 Badges
May 26, 2007
3.584
484
  • Penumbra - Black Plague
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Legio
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • March of the Eagles
  • Europa Universalis III Complete
  • For The Glory
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Teleglitch: Die More Edition
  • Victoria 2
  • Victoria 2: A House Divided
  • Imperator: Rome Sign Up
  • Crusader Kings II: Sword of Islam
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • 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
  • Hearts of Iron Anthology
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations



Today's Development Diary will focus on the new event and decision interface.

First of all, we've introduced two new styles for events.
The first style is chosen by writing "style = 1" and allows the use of bigger pictures. The new picture size is 400x116 instead of the standard 156x116: the height did not change but now the picture is as large as the event window. Moreover the action buttons are now smaller. Overall, this is a simple cosmetic improvement in style, but take a look at how beautiful it is:



The second event style (chosen by writing "style = 2") is a bit more complex and provides a newspaper-style header. The header is composed by a 400 x 48 pictures that can be generic (news_header.bmp) or country specific (news_header_TAG.bmp). Under the header, the current game date and capital name are displayed (e.g. "March 7 1936, Berlin" or "March 25 1939, Rome"). Below that, the event pictures (440 x 116, as for the first style) is diplayed, followed by the event title and description. For the generic header we used the "News of the World" newspaper, but we also added more specific headers for some countries:



The HOI2 Vanilla style is obviously still the default style and can be explicitily chosen by writing "style = 0".

And now, let's take a look at the decision interface. We've already introduced decision in Dev. Diary 6 and we will talk more about their coding in another DD, for now we will introduce their interface.
As you've already seen from our screenshot, we added another tab to the frame in the left side of the screen. In this tab, all available and active decisions are listed. A decision is available when it is listed there, which means that you can read its requisites and its consequences. A decision is active is the requisites are met and can be taken by the player at any time. That means that a decision can be available but not active if its requisites are not met: the player can then read the requisites necessary to make the decision active and its consequences and decide whether to pursue them or not. Take a look at the following example:



If you decide to take a decision, it is triggered as an event and you can accept it or cancel it. If you cancel it, the decision won't disappear but remain listed as active in the decision list, so that you can take it at a later moment (if the requisites are still fulfilled, of course).



Next week we'll talk about our improvements to the event system!
 
Last edited by a moderator:

Dutchemperor

General
36 Badges
Jul 7, 2009
1.764
3
  • Crusader Kings II
  • Cities: Skylines Deluxe Edition
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis III Complete
  • Darkest Hour
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Awesome!!!!

double thread.
 

Cybvep

Field Marshal
May 25, 2009
8.465
124
I love the changes. They are very atmospheric.

What is your philosophy concerning events BTW? When are they justified? Will they offer new gameplay options? Flavour? Will you develop new ahistorial paths to follow? Will the AI choose ahistorical choices (or maybe it's tickable in the main menu)?
 

ewphoenix123

Darkest Hour Cartographer
10 Badges
Apr 26, 2007
817
0
  • Arsenal of Democracy
  • Cities in Motion
  • Crusader Kings II
  • Europa Universalis III
  • Divine Wind
  • Hearts of Iron III
  • Sword of the Stars
  • Sword of the Stars II
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
We follow a less is more approach. We added a lot of new events all in all, but are trying to limit ourselves to events that really have an impact and are not just flavour events.

There are ahistorical (but hopefully plausible) paths, most of the time the ai will act within historical parameters. On the other hand radical ahistorical player behaviour may lead to ahistorical ai-behaviour aswell ;)
 

Cybvep

Field Marshal
May 25, 2009
8.465
124
We follow a less is more approach. We added a lot of new events all in all, but are trying to limit ourselves to events that really have an impact and are not just flavour events.

There are ahistorical (but hopefully plausible) paths, most of the time the ai will act within historical parameters. On the other hand radical ahistorical player behaviour may lead to ahistorical ai-behaviour aswell ;)
So I can safely assume that AI-made choices in events will be no longer decided by random chance alone?
 

Fulmen

The local Finn
69 Badges
Dec 23, 2006
5.414
2.769
steamcommunity.com
  • Europa Universalis IV: Common Sense
  • Europa Universalis: Rome
  • Rome Gold
  • Victoria 2
  • Rome: Vae Victis
  • War of the Roses
  • War of the Vikings
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Necroids
  • Europa Universalis III Complete
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • 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
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Arsenal of Democracy
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • March of the Eagles
This is just pure awesomeness!

And the ability to re-trigger events at a later date...veeeery nice and much needed.
 

unmerged(75409)

Field Marshal
Apr 30, 2007
7.727
100
Minor remark: Could you remove the "smeared" print on the parchment below the event text? It looks weird and makes the text somewhat more difficult to read.

Or it could be slanted at a steeper angle so that it is not (almost) parallel with the event text.
 

Davisx3m

-{Kaiserreich Team]-
90 Badges
Dec 16, 2006
6.930
2.113
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Legio
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Hearts of Iron III
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sword of the Stars
  • The Showdown Effect
  • Victoria 2
  • Warlock 2: The Exiled
  • War of the Roses
  • 200k Club
  • 500k Club
  • Cities: Skylines
  • Europa Universalis 4: Emperor
  • Deus Vult
  • Arsenal of Democracy
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • 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
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Hearts of Iron Anthology
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
Really cool :D
 

kunadam

East vs West developer
103 Badges
Aug 9, 2006
3.187
0
  • Majesty 2
  • Gettysburg
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • For the Motherland
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Starvoid
  • BATTLETECH: Heavy Metal
  • Darkest Hour
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • 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
  • Crusader Kings II: Sword of Islam
  • Arsenal of Democracy
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
Great! Hard to wait for the next DD. I usually begin to refresh the forum from Monday mornings.
 

Barón Rojo

★Sword of Rome★ ★Hammer of Heretics★
11 Badges
Nov 20, 2006
1.172
121
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Rome Gold
  • 500k Club
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Imperator: Rome Sign Up
Funny to see some guys making the leftist salute in the Truppe Volontarie event.
 

Angelos

Ἓν οἶδα ὅτι ουδὲν οἶδα.
178 Badges
Oct 18, 2001
910
66
  • Hearts of Iron Anthology
  • Battle for Bosporus
  • Stellaris: Federations
  • Europa Universalis 4: Emperor
  • Europa Universalis IV
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Crusader Kings III: Royal Edition
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • King Arthur II
  • Lead and Gold
  • Legio
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
Interesting idea... As for the "less is more" doctrine, please don't go too much to the "less" side :)