Hearts of Iron IV

Hearts of Iron IV

Better Laws for Equestria at War
208 Comments
Hey author
I suggest you remove all restrictions and conditions for the submod for Kaiserredux
because the given conditions that you made do not correspond to the madness of the mod
remove all conditions, give the players the freedom to set the laws they want
brony 5 Jul @ 12:43pm 
@gtegory make it ur self
gtegoty09 23 Jun @ 12:31pm 
bro we need rus translate pls
Reemus413 11 Jun @ 4:19am 
This looks great, love my fictional politics to be this detailed.
Anthony 21 May @ 2:31am 
Update this Mod. Please!
TDF 20 Apr @ 3:45pm 
Had same issue so did some digging, in gt_judiciary.txt: line 55 is: has_idea = federal_council
So went to look into gt_head_of_state.txt where is that info, but didnt found federal_council even tho I found others. -> condition check fails bcs one of condition values couldnt be found

Try removing that line or changing:
has_idea = federal_council
to
has_idea = tribal_council
Its most likely thing that should be there, but cant be sure.

Guessing it was removed or renamed, but forgotten in this file.

Sadly game keeps crashing, so its not this error for me.
the hot dog strangler 12 Apr @ 2:06pm 
turns out the crash was being caused by better laws - intelligence agency; not sure what this error is though, its still in the logs. everything seems to be running fine?
i did notice that for some laws, the icon doesn't fill in the slot so it looks empty but it isn't though.
the hot dog strangler 12 Apr @ 12:26pm 
Having the same problem as Darknessie and Sukkrak, but mine seems to be crashing way earlier; something is crashing me around 1008.08, and the only thing I can find in the logs are related to this:
[14:17:23][1008.07.03.17][triggerimplementation.cpp:2853]: common/ideas/gt_judiciary.txt:55: has_idea: federal_council is not A valid Idea
[14:17:23][1008.07.03.17][triggerimplementation.cpp:2853]: common/ideas/gt_judiciary.txt:55: has_idea: federal_council is not A valid Idea
[14:17:24][1008.07.04.11][triggerimplementation.cpp:2853]: common/ideas/gt_judiciary.txt:55: has_idea: federal_council is not A valid Idea
[14:17:25][1008.07.04.12][triggerimplementation.cpp:2853]: common/ideas/gt_judiciary.txt:55: has_idea: federal_council is not A valid Idea
[14:17:25][1008.07.04.12][triggerimplementation.cpp:2853]: common/ideas/gt_judiciary.txt:55: has_idea: federal_council is not A valid Idea
Ulcuran 31 Mar @ 2:43pm 
Looks like there is no head of state for Populism
Rasmus 19 Mar @ 9:09am 
Damn, no head of state for technocracy, i playing as the Colthaginian Republic, and there is no possibility to choose form of government in the head of state tab.
LiterallyReverie 16 Mar @ 7:31am 
Oh thanks no worries! Work at your own pace
SassyCrissy  [author] 16 Mar @ 6:11am 
@LiterallyReverie I'll look into this! Sorry, just been really busy.
fi.ji 11 Mar @ 3:39am 
У чела реально Мегумин и транс флаг на аве....чзх?
Dranagh 26 Feb @ 1:33am 
@LiterallyReverie yeah, that's been a bug for a while now. The policies lack the "Technocracy" option altogether.
LiterallyReverie 24 Feb @ 8:32pm 
Cant pick any executive policy as Yale because the starting leader doesnt have an ideology trait
Sukkrak 10 Feb @ 12:28am 
ive had the exact same problem as the last guy with the same error log with the only exception being that it happen at a different date every save
[politics.cpp:1484]: ZES couldn't remove/replace invalid idea chairman
[gameidler.cpp:1651]: AI tried to post an invalid command: order_assign_command
[gameidler.cpp:1651]: AI tried to post an invalid command: order_assign_command
[triggerimplementation.cpp:2853]: common/ideas/gt_judiciary.txt:55: has_idea: federal_council is not A valid Idea
[triggerimplementation.cpp:2853]: common/ideas/gt_judiciary.txt:55: has_idea: federal_council is not A valid Idea
[triggerimplementation.cpp:2853]: common/ideas/gt_judiciary.txt:55: has_idea: federal_council is not A valid Idea
[triggerimplementation.cpp:2853]: common/ideas/gt_judiciary.txt:55: has_idea: federal_council is not A valid Idea
[triggerimplementation.cpp:2853]: common/ideas/gt_judiciary.txt:55: has_idea: federal_council is not A valid Idea

in the logs this spams for like 100 times till game reaches mid 1018 then crashes
Dranagh 14 Jan @ 11:58am 
Has the problem about Yale being unable to choose its "Head of State" been addressed? For me it seems player is still unable to choose the appropriate Head of State, and I was told "President" is the correct one. However there is no indication that Technocratic government can choose it. I browsed through files and found out the file "gt_head_of_state" (probably the correct one) does indeed have a line for President: "has_country_leader_ideology = technocracy" however the issue still persists. AI can apparently bypass this, explaining why they can proceed with the laws. I think the issue is the term "technocracy", maybe EAW does not recognize the term and uses alternative word for policy? Anyway just something I noticed still causes probles.
Red Crown 1 Jan @ 12:40pm 
When you'll be updating your mod next time, please allow Winggarden to choose "City State" structure. Also, thanks a lot for the mod itself and happy New Year! :undyne:
SassyCrissy  [author] 29 Dec, 2024 @ 1:01am 
@ChapterMaster Change your UI scaling.
ChapterMaster 28 Dec, 2024 @ 9:52pm 
Is there any way to resize the law panel? Right now for me it's off center and too large to see everything.
SassyCrissy  [author] 18 Dec, 2024 @ 5:26am 
@Witch ~ Hi! The GUI button is at the topbar UI right next to air force xp. There's a visual of this in the description.
Witch ~ 17 Dec, 2024 @ 10:19pm 
I feel stupid. Where are these laws? Is this a hoi4 feature Im somehow unaware of?
Dimentio fan 16 Dec, 2024 @ 8:32am 
Thank you!
SassyCrissy  [author] 16 Dec, 2024 @ 4:57am 
@Dimentio fan Select a policy in each one of the three accessible law pages in the first bookmark and the rest will open up.
Dimentio fan 15 Dec, 2024 @ 11:04pm 
Why can I only access the government structure (first page) laws? Sorry if this was only asked earlier in the thread, but I can't access the other law types, they're grayed out for some reason
Deztrozen_III 12 Dec, 2024 @ 10:30pm 
Is yale Retorate included in better laws?
Averath 10 Dec, 2024 @ 4:39pm 
Workshop message limits are very annoying, yes! Thank you for your explanation, though. That explains a lot of things. Also, huzzah another Total War player. :)

I suppose at this point the only thing we can hope for is Paradox making some UI improvements for modders. Unlikely, but we can hope. But I do really love the idea of this mod. Granted, I felt as if my last campaign was incredibly overpowered. Because of stacking monthly population growth, despite being weaker and having barely any core territory compared to my neighbors, I never had to swap away from my 5% conscription law. It was kind of insane.
SassyCrissy  [author] 10 Dec, 2024 @ 5:22am 
Workshop message limitations are annoying, read these in reverse (last to first). Sorry for the dump! I just like to actually answer things.

The saddest thing is that everything would have been solved if you were able to display custom information on mouse hover, rather than being limited to whatever paradox has come up with.

There are workarounds to a lot of limitations. Are these workarounds really bad brute-forced solutions? Yes, but they're still workarounds. There's no way to work around the hover thing and being able to display something on hover is a very very important tool in the UX kit, a tool that's simply missing here.'

FYI you can press escape to exit an individual GUI screen in this mod like anything else in HOI. This isn't very exciting to hear I know, but if you've been clicking the top right close "X" button this whole time then this will reduce the time spent significantly.

I'll check the affirmative action thing and come back to you on that one.
SassyCrissy  [author] 10 Dec, 2024 @ 5:21am 
A final problem specific to this mod was that I needed to link custom and vanilla. All custom GUIs (pretty much) use custom modifiers, these take time but are flexible (you can even display them in certain places!). Unfortunately, this mod had to use ideas, since that's by far the easiest way to display a card as selected (by checking if the player has an idea in slot).

This way, you can actually tag switch and the GUI will display what the AI has selected over the course of the game. This also means that other's ideas are visible on the intel screen when right-clicking someone on the map. I considered this rather important for gameplay reasons.
SassyCrissy  [author] 10 Dec, 2024 @ 5:20am 
The best solution would be to obviously display the ideas like they are displayed in the base game but the whole of this exercise was to get involved in GUI making.


If you look at the inner workings of the most impressive GUI undertakings in HOI4, like TNO's idea system, its USA state map, or even some of EAW's GUIs like the ascendancy's journal or alchemy screen, you'll see that they're all using custom modifiers and brute force things.

TNO's idea system is very lengthy, like hundreds and hundreds of thousands of repetitive lines. It's long because it brute forces things. It brute forces things because there's simply no other way. There have been some advancements in this regard but the limitations are obvious.
SassyCrissy  [author] 10 Dec, 2024 @ 5:20am 
@Averath I'll sample a prior comment of mine for start

"Hello! I completely agree with you. This mod was mainly made to bolster my skills in custom GUI scripting. It'd be nice to make it more user-friendly but even titans like TNO brute-force everything since HOI script has some very annoying limitations."



I may not be a UX expert but choices have not be made according to what's optimal, but rather on what's possible. Displaying on hover is limited to what Paradox has used it for. For example, I can display the idea requirements on a button hover, but not anything custom. There are a lot of limitations like this in various areas due to the fact that you're using Clausewitz script, not lua like some other games.

I've modded for a total war Attila group (1212 AD) and there you can do a lot of custom things since you're using lua.
Averath 9 Dec, 2024 @ 2:13pm 
Also, Affirmative Action appears to apply its -10% Political Power penalty twice.
Averath 9 Dec, 2024 @ 1:57pm 
I think this mod is pretty great, but the user interface is a nightmare. The sheer amount of clicks required is excessive.

I don't know if it is possible, but it would be a huge quality of life improvement if the final layer of pop-up could be removed.

For example, with Govt Formation, you click to bring up the UI, click Executive, then click each option individually. You don't know which ones are available until you select them. It can take dozens of clicks to figure out which one you can use and compare them.

It'd be great if you could hover over "Monarchy" and it would display the cost, the bonuses, and the lore blurb. This would probably require an "Adopt" button below each option, because the requirements can take up a lot of screen space. This would cut down on the excessive amount of clicking to see what is available to you, and to compare between them. It'd be a huge QoL improvement. That is, if it is even possible.
Moonlyss 9 Dec, 2024 @ 1:16pm 
PRAISE BE TO SASSYCRISSY, CREATOR OF MODS, ANGEL OF THE WORKSHOP!
Aþi 7 Dec, 2024 @ 11:22pm 
@SassyCrissy MY LIFE IS YOURS RAHHHHHHH (thank you for posada update <3)
Zombie Centurion 7 Dec, 2024 @ 3:11pm 
Great timing, was just planning to start another Posada run.
SassyCrissy  [author] 7 Dec, 2024 @ 6:43am 
@Aþi Your Honour, the ideology didn't even exist when the mod came out! Hope all the Hippo players enjoy the update.
Aþi 7 Dec, 2024 @ 6:38am 
That's hyperbole on my part, 7 months. Now i can finally play EaW :Gifting:
Aþi 7 Dec, 2024 @ 6:35am 
It's taken nearly a year, but hurrah! we finally have posada compatibility!!! Thank goodness, i cant play without this mod
SassyCrissy  [author] 7 Dec, 2024 @ 6:35am 
@Darknessie The Stardust Dragones Hello! Did just that. Posada can now select things.
SassyCrissy  [author] 7 Dec, 2024 @ 6:12am 
@HydraX213 It should, unless that mod adds new ideologies.
HydraX213 7 Dec, 2024 @ 5:50am 
Hello, I have question, Mod do works with Escalation 84?
SassyCrissy  [author] 27 Nov, 2024 @ 2:50am 
@Darknessie The Stardust Dragones I probably will soon.
Darknessie The Stardust Dragones 26 Nov, 2024 @ 2:01pm 
@SassyCrissy are you able to update this mod so players can play Posada with this mod? even if it was under Head of State: Party Chairman it would be good enough
SassyCrissy  [author] 24 Nov, 2024 @ 11:12am 
@Yulian067 Posada can't select anything with an ideology requirement. This mod was made before Hippogriffia got its own sub-ideology for Posada.
Yulian067 24 Nov, 2024 @ 5:10am 
Posada now can't choose an executive
Tal'Raziid 16 Nov, 2024 @ 10:54pm 
Yeah, there's some problems with a few things still it seems.
Posada, for example, is definitlely a sticking point since its a unique ideo. Ive added it to a few of them, but i cant seem to get immigration to change for some reason
Tal'Raziid 16 Nov, 2024 @ 10:53pm 
Yeah, there's some problems with a few things still it seems.
Posada, for example, is definitlely a sticking point since its a unique ideo
Anthony 16 Nov, 2024 @ 7:10am 
Can you update this mod? it seems like the New DLC does not meet with better Laws