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

Halfpipe

Recruit
11 Badges
May 5, 2004
4
0
  • Europa Universalis III
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • 500k Club
  • Hearts of Iron IV Sign-up
Hi!
I'm new to event modding and have a question about the remove_division command.
For instance:
"command = { type = remove_division which = 11000 value = 1101 } "
The number that "which" equals (11000 in this case), from what is it calculated and how to I find out which number represent a certain type of unit?
The command description says that "which" should equal [div id type], but I can't find out from where the numbers are extracted to get 11000.

Thanks for reading (and hoping for an answer).
 

Montcalm

Second Lieutenant
93 Badges
Mar 3, 2001
196
57
  • Hearts of Iron II: Armageddon
  • Semper Fi
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Hearts of Iron Anthology
  • Crusader Kings II
  • Europa Universalis IV: Cossacks
  • Europa Universalis III: Collection
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Pride of Nations
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Tyranny: Archon Edition
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Rights of Man
  • Stellaris
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Dharma
  • Europa Universalis IV
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Digital Anniversary Edition
  • Imperator: Rome Deluxe Edition
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Death or Dishonor
  • 500k Club
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Golden Century
  • Victoria 2
  • Warlock: Master of the Arcane
  • Age of Wonders III
Halfpipe said:
Hi!
I'm new to event modding and have a question about the remove_division command.
For instance:
"command = { type = remove_division which = 11000 value = 1101 } "
The number that "which" equals (11000 in this case), from what is it calculated and how to I find out which number represent a certain type of unit?
The command description says that "which" should equal [div id type], but I can't find out from where the numbers are extracted to get 11000.

Thanks for reading (and hoping for an answer).

You should avoid the numbers for your id as they tend to change during the game (particularly the second one that change when you reorganize you corps/fleets). For the first value you should use types (infantry, armor, bergsjager,battleship and so on ...). For the second value, you should use the name, taken from the 'unitnames' file's list (ex : 1. Infaterie-Division) of your unit (or -1 if you wand a random unit to be erased). Don't forget that the remove_division command erase also the attached brigades.