Darkest Hour - Dev Diary #14 - Modding with Darkest Hour Part 4

  • Crusader Kings II Expansion Subscription

    Subscribe to the CK II Expansion and enjoy unlimited access to 13 major expansions and more!


  • 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

^_AC_^

Field Marshal
83 Badges
Feb 24, 2009
5.549
198
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Victoria 2: Heart of Darkness
  • Warlock 2: The Exiled
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • The Showdown Effect
  • Stellaris
  • War of the Roses
  • 500k Club
  • Stellaris Sign-up
  • Europa Universalis IV: El Dorado
  • Imperator: Rome Sign Up
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Cadet
  • Imperator: Rome Deluxe Edition
  • Cities: Skylines - Green Cities
  • Prison Architect
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars
  • Imperator: Rome
  • Europa Universalis III Complete




First of all, today we're going to talk a bit more about syntax and rules for decisions, as many fans expressed their interest in this subject.

As we've already discussed in Dev Diary 12, on the left side of the screen we introduced a new list which contains the available decisions that the player can evaluate and eventually take. From the point of view of the code, a decision is a normal event with two new sections:
- decision = { ... insert normal triggers here ... } : if these triggers are fulfilled the decision appears in the decision list for the human player;
- decision_trigger = { ... insert normal triggers here ... } : if these triggers are fulfilled the decision can be taken by the human player;
When the decision is taken, it fires as a normal event and can always be canceled. In the latter case the event isn't registered as fired and the decision remains active in the decision list and can be taken again at a later date (if the conditions in the decision_trigger section remain fulfilled). Please beware that for AI nations decisions are treated as events, this means that only the usual trigger = { ... } section is checked! This means that all three sections (decision = {...}, decision_trigger = {...} and trigger = {...} ) must be correctly compiled to make the decision work. Moreover, the decisions appear and can be taken only during the chosen date-deathdate interval, so that part of the code must always be compiled too!

Here are more technical informations on decisions:
- there is a new modifier in misc.txt (“mod” section) to enable or disable decisions: #Enable decisions for players. 0 - Disabled, 1 – Enabled ;
- decisions are hidden until all triggers in decision = { } section are fulfilled;
- decisions become available for selection when all triggers in decision_trigger = { } section are fulfilled;
- once selected, the decision fires as regular events via standard event window with all the usual information and actions on it plus the possibility to cancel the decision;
- decisions are logged in event history as regular events;
- the decisions list is populated on game start and updated daily;
- usually the tooltip on the decision displays the description of the event, but optionally it is possible to insert a specific text: decision_desc = "....";
- a new kind of pictures is introduced, to be used in the decision list: decision_picture = "picture_name.bmp" (if none if chosen, a generic picture is loaded by default - gfx\event_pics\decisions_empty.bmp);

Another important change introduced by Darkest Hour is the export of the effects of policy slider to a new file, db\policy_effects.csv.
This file allows complete control over the effect of policy sliders and is a very powerful tool. Here's a list of the possible effects that are associated to slider position:
Code:
CAN_ALLY_WHILE_AT_PEACE
CAN_ADD_CLAIMS_TO_NEUTRALS
CAN_DEMAND_CLAIMS
CAN_BREAK_NAP
CAN_GUARANTEE
MODIFIER_ORG
MODIFIER_GEARING_BONUS
MODIFIER_CG_DEMAND
MODIFIER_DISSENT_SPEED
MODIFIER_UPGRADE_COST
MODIFIER_UPGRADE_TIME
MODIFIER_TECH_TEAM_SALARIES
MODIFIER_RESEARCH_TIME
MODIFIER_PARTISAN_RISK
MODIFIER_DOW_DISSENT_COST
MODIFIER_TOTAL_IC
MODIFIER_CG_TO_MONEY
MODIFIER_RESOURCE_PROD
MODIFIER_PRODUCTION_TIME
MODIFIER_PRODUCTION_COST
MODIFIER_NATIONAL_DISSENT
MODIFIER_OCCUPIED_DISSENT
MODIFIER_COUNTER_INTEL - used for units detection
MODIFIER_MP_EXPERIENCE
MODIFIER_MP_GROWTH
MODIFIER_DIPLO_COST
MODIFIER_INTEL_COST
MODIFIER_INTEL_MAINTENANCE
MODIFIER_REL_NORMALIZATION: applied each 6th day
MODIFIER_STOCKPILES
MODIFIER_USE_BELLIGERENCE_FOR_DOW
MODIFIER_BELLIGERENCE_DOW
MODIFIER_RELATIONSHIPS_DOW
MODIFIER_COUNTERINTELLIGENCE - added to home intell
MODIFIER_INTELLIGENCE - used as extra spy level in distance calcs
This allows the modders to customize the policy slider. We might talk about what we've done to one on these slider in another Diary. ;)

To close this DD, let's review other changes related to modding that we introduced:
- Enabled unlimited unit models (was fixed to 10). To use just add a new model = {….} entry in the respective txt file in “units” folder. As a bonus this change will decrease loading time and memory usage for unit types that use less then 10 models.
– Added new (optional) parameter for units: max allowed brigades. This overrides default hard-coded values. Add to division files in “\db\units\divisions”. Format: max_allowed_brigades = X. Currently it is allowed to have up to 5 brigades for naval units and up to 1 brigade for land and air units.
- new country IC modifier - wartime_ic_mod. Works like peacetime_ic_mod, but when at war;
- new adjustable reaction of puppets when not-allied master is at war: puppets with neutrality 150+ (set in misc.txt ) that are not allied to their master will not join automatically master’s wars anymore
Code:
* Puppets should join Master's war if AI Neutrality is equal or greater then THIS. Note: this works only if puppet is not part of
Master's alliance! 0 = always join Master's wars 150 #0
- new modifiers in misc.txt (“mod” section) to handle the spawning of rebel units:
Code:
* Rebels army composition - chance for infantry over militia. 0 - only militia, 100 - only infantry, 50 - 50%/50% and so on.
* Rebels army tech level (based on the available model in the country that controls the province). -1 - Only model 1, 0 - Only
the Latest model, else random model in the range from (latest model - THIS) to (latest model).
– Allowed (optional) unique province capital/city icons. Gfx\map\city_PROVID.bmp (city_55.bmp for Paris and so on).
– Added optional fonts support for each language. Fonts are expected to be found in \gfx\fonts\X folder where X is the language set in settings.cfg (0 – ENG … 5- Polish). If not found in numbered folder fonts are read from fonts default location (\gfx\fonts\).
- All minister modifiers are moved to a moddable file (db\ministers\minister_personalities.txt). Moddable effects:
Code:
* Leader skill
* Research time – per tech or for all
* Research cost – per tech or for all
* Resource production bonuses – oil, energy, metal, rare materials, money
* Production bonuses – foreign IC, national IC, reinforce, upgrade, consumer goods, supplies
* Units – build time, build cost, attack bonus, defense bonus, morale (org. regain), organization
* Brigades - build time, build cost, attack bonus, defense bonus, morale (org. regain), organization
* Land unit speed
* Belligerence – required for DoW, wartime and peacetime 
* Transport capacity modifier
* Provincial buildings (IC, coastal and land forts, flak, infrastructure, air and naval bases, radar stations, nuclear
reactors and rocket test sites) time and cost 
* Detection – naval, land and convoy
* Dissent
* Manpower growth – total and non-national
* Supply consumption
* Spying networks bonus – intelligence (home) and counterintelligence (foreign). Limited up to 5% each!
* Intelligence reports accuracy – land/air units, navy/convoys and production/research. Values from -10 to 10
* Diplomatic action chances – trade (used also for trade agreements), alliance (offer, join and bring), non-aggression pact, demand territory, ask for military access, sue for peace (insist on demands, white and beg for peace), assume military
control and influence
* Diplomatic action chances extra modifiers – weak target (Total IC is less then ½), same alignment, opposite alignment,
democracies, dictatorships, close government type (difference +/- 2)
* Diplomatic action cost for each action. The final value can be no less then 0.0
* Diplomatic action cost extra modifiers – weak target (Total IC is less then ½), same alignment, opposite alignment, democracies, dictatorships, close government type (difference +/- 2), national (actions against us: cost modifier = 1 +  Sender’s modifier + Target’s modifier).
* Convoy transports and escorts build time and cost (using transport ships and destroyers modifiers)
* Intelligence mission cost for each mission – 2 modifiers: for sender and for target (Final cost modifier for a mission = 1 +
Sender’s cost modifier + Target’s defense cost modifier). The final value can be no less then 0.0
* Intelligence funding and maintenance cost modifiers
* Intelligence mission chances for each mission – 2 modifiers: for sender and for target (Summary chance for a mission = Sender’s modifier + Target’s defense modifier)
* Stockpile - modifiers on stockpiles limit: which = industry / supplies (used for oil too) / all (default); when = war / peace / all (default); value = x.xxxx

See you next week! :)

 
Last edited by a moderator:

tuore

Caramelised Utopian
76 Badges
Mar 16, 2009
6.981
186
  • March of the Eagles
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Crusader Kings II
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Arsenal of Democracy
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Cities: Skylines - After Dark
  • Cities: Skylines
  • 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: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Island Bound
  • 200k Club
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Wealth of Nations
  • Victoria 2
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
This has nothing to do with the DD, but how did you get those nice colors in Notepad++?
 

unmerged(197395)

Corporal
Mar 1, 2010
48
0
– Added new (optional) parameter for units: max allowed brigades. This overrides default hard-coded values. Add to division files in “\db\units\divisions”. Format: max_allowed_brigades = X. Currently it is allowed to have up to 5 brigades for naval units and up to 1 brigade for land and air units.

Hund-freu.jpg

no words :):):):):)
 

Fulmen

The local Finn
On Probation
69 Badges
Dec 23, 2006
5.499
3.644
  • 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
More modding ability is always fun, sure, but are you guys sure you're not actually focusing too much on it instead of adding new features to the game and improving old ones? For a long time now, diary after diary, it only talks about moddability..
 

Cybvep

Field Marshal
May 25, 2009
8.465
125
More modding ability is always fun, sure, but are you guys sure you're not actually focusing too much on it instead of adding new features to the game and improving old ones? For a long time now, diary after diary, it only talks about moddability..
It's supposedly a game that will be updated and improved for years to come, so I wouldn't worry too much about that. However, I hope that we will hear more about the actual Vanilla gameplay in future DDs.
 

Fernando Torres

Darkest Hour Game Designer
48 Badges
Dec 2, 2006
10.183
32
rayan-nezzar.fr
  • Rome: Vae Victis
  • Penumbra - Black Plague
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Ship Simulator Extremes
  • Supreme Ruler 2020
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Europa Universalis III Complete
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Elven Legacy Collection
  • Hearts of Iron II: Beta
  • Pride of Nations
  • Rise of Prussia
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Achtung Panzer
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • For The Glory
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • East India Company
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Arsenal of Democracy
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Legio
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2
  • March of the Eagles
It's supposedly a game that will be updated and improved for years to come, so I wouldn't worry too much about that. However, I hope that we will hear more about the actual Vanilla gameplay in future DDs.

Yes, DD 16 will deal with our innovative mobilization/manpower system for instance. :)
These are just an introduction to how to mod DH and how we actually "modded" it in "DH Full".
 

Himliano

Sergeant
32 Badges
Oct 4, 2009
95
87
  • Crusader Kings II: Legacy of Rome
  • Iron Cross
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Darkest Hour
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis III
  • Crusader Kings II: The Republic
  • Crusader Kings II
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Common Sense
  • Pride of Nations
  • 500k Club
  • Warlock: Master of the Arcane
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Cities: Skylines
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV: Art of War
Will it the possible for a country use different colors of counters for their units?

It would be nice for making elite units for some countries.
 

tuore

Caramelised Utopian
76 Badges
Mar 16, 2009
6.981
186
  • March of the Eagles
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Crusader Kings II
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Arsenal of Democracy
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Cities: Skylines - After Dark
  • Cities: Skylines
  • 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: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Island Bound
  • 200k Club
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Wealth of Nations
  • Victoria 2
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
That's great to hear! HOI2 was in dire need of mobilisation system.

Indeed. And for once I was able to realistically defend in the Winter War as Finland, thanks to the possibility of mobilizing once the war begun.
 

Fulmen

The local Finn
On Probation
69 Badges
Dec 23, 2006
5.499
3.644
  • 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
Yes, DD 16 will deal with our innovative mobilization/manpower system for instance. :)
These are just an introduction to how to mod DH and how we actually "modded" it in "DH Full".

Good.

When are we learning more about the production tab and the sliders, though?
 

^_AC_^

Field Marshal
83 Badges
Feb 24, 2009
5.549
198
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Victoria 2: Heart of Darkness
  • Warlock 2: The Exiled
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • The Showdown Effect
  • Stellaris
  • War of the Roses
  • 500k Club
  • Stellaris Sign-up
  • Europa Universalis IV: El Dorado
  • Imperator: Rome Sign Up
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Cadet
  • Imperator: Rome Deluxe Edition
  • Cities: Skylines - Green Cities
  • Prison Architect
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars
  • Imperator: Rome
  • Europa Universalis III Complete
this has nothing to do with the dd, but how did you get those nice colors in notepad++?
I created my own syntax for HOI2 files (one for events and one for CSVs like ministers and tech teams). I've attached it to this post if you need it.
 

Attachments

  • userDefineLang.zip
    3,1 KB · Views: 228
  • 1
Reactions:

Ardrianer

Corporal
73 Badges
Jun 27, 2009
25
0
  • Crusader Kings II
  • Europa Universalis IV: Mare Nostrum
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Arsenal of Democracy
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • 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
  • Crusader Kings II: Sons of Abraham
  • Darkest Hour
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Parklife Pre-Order
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Stellaris: Humanoids Species Pack
  • Crusader Kings II: Conclave
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • Stellaris: Necroids
  • 500k Club
– Added new (optional) parameter for units: max allowed brigades. This overrides default hard-coded values. Add to division files in “\db\units\divisions”. Format: max_allowed_brigades = X. Currently it is allowed to have up to 5 brigades for naval units and up to 1 brigade for land and air units.

LOVELY!!!
thanks for adding my wish :)
 

chepaeff

Absolutely heretical
5 Badges
Aug 9, 2009
1.180
1.839
  • Darkest Hour
  • Crusader Kings III
  • 500k Club
To close this DD, let's review other changes related to modding that we introduced:
- Enabled unlimited unit models (was fixed to 10). To use just add a new model = {….} entry in the respective txt file in “units” folder. As a bonus this change will decrease loading time and memory usage for unit types that use less then 10 models.
– Added new (optional) parameter for units: max allowed brigades. This overrides default hard-coded values. Add to division files in “\db\units\divisions”. Format: max_allowed_brigades = X. Currently it is allowed to have up to 5 brigades for naval units and up to 1 brigade for land and air units.

I must be dreaming. This is gonna be the most awesome hoi-game.
Btw, is it possible to make some kind of hoi3 brigade constructor since there is max allowed brigades?
 

am300307

Colonel
25 Badges
Aug 17, 2009
834
247
  • Crusader Kings II
  • Victoria 2: A House Divided
  • Rome Gold
  • March of the Eagles
  • Iron Cross
  • Hearts of Iron III
  • Darkest Hour
  • Arsenal of Democracy
  • Crusader Kings III
  • Europa Universalis IV
  • Imperator: Rome
  • Hearts of Iron IV: Cadet
  • Stellaris
  • 500k Club
  • Rome: Vae Victis
  • Victoria 2
  • Semper Fi
  • Sword of the Stars
  • For the Motherland
  • Victoria: Revolutions
  • Europa Universalis III
  • Majesty 2 Collection
  • Magicka
  • The Kings Crusade
  • Hearts of Iron III: Their Finest Hour
This is like a foreign language to me, but im not a modder. Im guessing it must be awesome.
 

Amallric

Field Marshal
4 Badges
May 18, 2008
4.391
66
  • Arsenal of Democracy
  • Hearts of Iron III
  • Europa Universalis IV
  • 500k Club
Btw, is it possible to make some kind of hoi3 brigade constructor since there is max allowed brigades?

The limitation would now be the number of available brigades and division types available, and also I think the AI.
 

bosman

Major
17 Badges
Jan 30, 2009
709
18
  • Arsenal of Democracy
  • Semper Fi
  • Rome Gold
  • Victoria: Revolutions
  • Majesty 2
  • Magicka
  • Iron Cross
  • Hearts of Iron III
  • For the Motherland
  • Age of Wonders III
  • Hearts of Iron IV Sign-up
  • 500k Club
  • Victoria 2
  • For The Glory
  • Darkest Hour
  • Crusader Kings II
  • Victoria 2: A House Divided
I must be dreaming. This is gonna be the most awesome hoi-game.
Btw, is it possible to make some kind of hoi3 brigade constructor since there is max allowed brigades?
Yeah, I thought about the same thing. This could somehow emulate HoI3 division composition and provide awesome possibilities/historical accuracy :)
Is it going to be possible adding twice the same brigade to division ?