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

unmerged(42723)

Field Marshal
Apr 6, 2005
3.564
0
I'm trying to mod an event that gives away free warships to Ger, but while I see it firing according to the log, it doesn't seem to give the ships. The ledger doesn't show new ships appearing, and with nofog on they don't show up where they are supposed to.

My event uses this:

command = { type = add_division which = cruiser when = 396 }
command = { type = add_division which = battleship when = 396 }

I hope I'm right that "cruiser" is for PC, and "battleship" for PDN? The id 396 is for Königsberg, but as said, they don't show up even if the event is clearly triggered. Does it play a role if the unit class is already active? But Germany already has PCs, though I'm not sure if the AI has already PDNs active - but other nations clearly have (UK builds them like mad). How can I make this work?

Or does add_division work only for land units? If so, is there any way to add ships?
 

unmerged(42723)

Field Marshal
Apr 6, 2005
3.564
0
Hm, this is quite strange: I did some tests and when I remove the "when = 396" part they are shown in the ledger once a new month starts. But 396 is correct for Königsberg, I checked it with the showid cheat. :confused:
 

OHgamer

Victoria's Plastic Surgeon
38 Badges
Jan 28, 2003
18.057
650
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Mandate of Heaven
  • Victoria 2 Beta
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Victoria 3 Sign Up
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Europa Universalis III
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Hearts of Iron II: Beta
It may be that naval units are always deployed to the units in reserve ready to deploy section??? Dunno, I don't think i've ever done an add unit with naval unts, just land units.

Perhaps try to have the unit appear in the sea province adjacent to Konigsburg?
 

jdrou

Field Marshal
74 Badges
Jun 10, 2002
24.161
461
  • Stellaris: Federations
  • Europa Universalis IV
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Paradox Order
  • Stellaris: Digital Anniversary Edition
  • Humble Paradox Bundle
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Europa Universalis III: Collection
  • Europa Universalis III: Chronicles
  • 500k Club
  • 200k Club
  • Europa Universalis IV: Dharma Pre-order
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Golden Century
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II
  • Hearts of Iron II: Armageddon
  • Arsenal of Democracy
  • Hearts of Iron Anthology
  • Victoria 2
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Stellaris: Galaxy Edition

unmerged(42723)

Field Marshal
Apr 6, 2005
3.564
0
Thx :)

But it seems there are other things not working:

When deleting units the Wiki says you can specify a random unit (naval or land) by using:
command = { type = delete_unit which = -1 }
....and also that -2 would mean deleting a random land unit only, while -3 kills a random naval unit only.

Using -1 works fine, but the two other options seem to have no effect, even when the event fires correctly otherwise. But I rather would like to specifiy exactly if the event hits army or navy.

Also I'm getting confusing results when adding manpower, sometimes it seems to work, and sometimes not. Has anybody experience with this stuff?