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

Supergelproduzent

Private
26 Badges
Jun 14, 2021
10
0
  • Europa Universalis III Complete
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Crusader Kings Complete
  • Stellaris
  • Pillars of Eternity
  • Cities: Skylines
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Semper Fi
  • Victoria: Revolutions
  • Arsenal of Democracy
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II
Hello ...

Could you help me with a little Event ...

I would like to give a nation in this case GER a couple of Provinces. I tried it myself but the Provinces only stay for one Day an then they move back to their former owner and i don't know why ...

I just need a Simple Event so move a Provinve so GER... does some have an Example for that? ...
i just don't get where i made my mistake ... :-\ ... so it would be better to start from scratch....



greetz David
 
I would like to give a nation in this case GER a couple of Provinces.
This can be done with the use of the console
hit Shift-3 or ~ and then type

tdbg (this gives you the tooltip debug which will show the numbers of the provinces when hovering with the mouse over them)

Then type (example)

changeowner GER 8888 (<-- this number should be the province number of the province you are refering to)
changecontroller GER 8888 (<-- this number should be the province number of the province you are refering to)

This should work.
 
It would help if you both:

A) registered your game to have access to the user mod subforum which is where this question is better answered...

and/or

B) put the code you're using in {code} brackets to show us what you're trying to code.
 
country_event = {

id = 33333 # id number must be unique

is_triggered_only = yes

title = "EVTNAME1404"
desc = "EVTDESC1404"
picture = "Danzig"

option = {
name = "EVTOPTA1404"
1306 = { industry = 4 }
2258 = { industry = 4 }
2257 = { industry = 4 }
2372 = { industry = 3 }
2318 = { industry = 9 }
2820 = { industry = 5 }
1684 = { industry = 5 }
1573 = { industry = 3 }
2147 = { industry = 3 }
2205 = { industry = 3 }
2261 = { industry = 3 }
1917 = { industry = 1 }
9740 = { add_core = GER }
9830 = { add_core = GER }
9740 = { change_controller = GER }
9830 = { change_controller = GER }
}
}


This is the simple event ... i copy/wrote it just to understand the game dynamics (the how to) ....
i want to give the both provinces 9740 and 9830 to GER .... but when i fire up the event ... they belonge only one day to GER
on the map the colors are mixed ( hatched between GER grey and Venezuelan Yellow ) ....

what did i miss??? Ö___ö
 
9740 = { change_controller = GER }
9830 = { change_controller = GER }
You missed my point in my post.
You could have used the info from the console.

You missed the change_owner section in your event.
change_controller will revert back without change_owner.

This will be the last help I will be giving to you unless you register your game.
 
i need just a litte hint
Which I did give you.
Did you change your event to reflect that?

Does it still not work?
Does it still revert back after one day?
I use this since years and it does not revert back after one day.
 
  • 1Like
Reactions:
It simply changes back ...

option = {
9740 = { add_core = GER }
9740 = { change_owner = GER }
9740 = { change_controller = GER }
}
}

doesn't seem to work ... same effect ... i tried this even before i made the post ... but forgot to mention it .....
so my simple question (without any desire of showing someone of .... neither me oder anyone else) ...
what is the right Code Line to Change_Owner (of a province)... where i the error ... i do not fully understand the Engine of the Game so thats why i'm asking ... =)



9740 = { change_owner = GER }
9740 = { changeowner = GER }
9740 = { owner = GER }
owner = { 9740 = GER }
 
847 = { change_controller = USA }
847 = { change_owner = USA }

This (example) works in the game so if it doesnt work with you I am out of options.
Nothing more is needed.
 
  • 1Like
Reactions:
Nope doesn't work ....

could you post the whole event code that you use to make that work ? .....
that would be more as kind!
I didnt make this work, its already in the game (or rather the mod BICE)
Just look in your game folder its there.

Go to your HOI3 folder -->\Hearts of Iron 3\tfh\mod\Black ICE 9.11\events\
The file is OperationBritanniaRising.txt
Search for the string above with a proper tool like notepad++ its easy to find.

This is an event that gives the USA Forces a base in ENG so they can prepare for D-Day without depending on ENG supplies since the supplies will be dumped there also by event.

To my knowledge its the only event that uses that technique.
 
  • 1Like
Reactions:
they belonge only one day to GER
on the map the colors are mixed ( hatched between GER grey and Venezuelan Yellow ) ....

what did i miss??? Ö___ö
That means that your event is not changing the province ownership properly. Hatched colour means that the owner and controller of the province are different countries. So I guess your event makes Germany the controller of the provinces but not the owner and since Venezuela has troops there and is the owner, they will revert back to complete Venezuelan control after one day.