

This is also very useful for those effects that go after the “If They Accept” tooltip. We’ve added an effect called event_option_tooltip, that allows you to show the tooltip that option will display. This has always meant adding effect_tooltips and duplicating the other side’s effects inside it, which is time consuming and annoying to maintain and keep track of. Usually, when we have an event option that sends another event to another country, we have to show you what will happen in your country, and in the other country, so you can better judge what’s the right choice. Showing Event Option TooltipsOne of the things I hate the most when doing events is showing the effects of both sides of the events in tooltips. They’re set on a focus by focus basis so you can go wild and do dumb stuff with any kind of focus! There’s a new file called 00_titlebar_styles where you can add style entries and specify the GFXs for each state, and set one as default so you don’t need to specify the style for every single focus.Īnd now you just use your new style with the focuses you want in the text_icon parameter. First, you will have to set up the 4 GFX entries you set up in the nationalfocusview.gfx, in our case, most of the animations and masks work just fine so it was mostly copy-pasting.
#Hearts of iron iv world war wednesday trial
Of course there was still a bit of trial and error to get the look right. It was the best option relatively simple to implement, noticeable, and we didn’t need to make every icon from scratch. We barely survived, but after an arduous process we agreed to make a system to change the title background changeable. Plus, when the whole tree was pentagons everywhere, it looked way too repetitive.Įventually, we accepted that we couldn’t solve this problem with art or design, and we were gonna have to resort to an extreme measure… Talking to a programmer D= The biggest problem is that it immediately made every focus icon be too busy and hard to read. At first we thought about just making them have the same framing on the focus icons but that proved… Not ideal. It came about because we wanted a way to quickly differentiate normal focuses from joint focuses. It’s one of the features that were added to enhance the Joint Focus Tree, but can be useful for any kind of focus tree content. Countries on both sides of a war? Can’t stop you!įocus Title BackgroundIn the previous point I mentioned a text_icon parameter, that’s the way we are giving you the ability to change the background for the Focus titles. It’s a simple system, but we hope it’ll be flexible enough to have a bunch of use cases and variations, specially since it doesn’t need to be a faction! We used a faction as the most obvious use for it but you can make any amount of related or unrelated countries share the tree. Then there’s completion_reward_joint_originator, that only applies the effect in the country that completed the focus.Īnd finally the completion_reward_joint_member, which applies the effect on every valid member of the alliance that is not the country that completed the focus. The other thing that’s different from normal focus trees is there’s 3 ( THREE) different sections for Completion Rewards.įirst one, regular old completion_reward does its effect in every valid country in the Joint Alliance, the same for everyone. In this case it’s checking if you have the alliance leader flag or you are in a faction with this country. It’s a trigger that determines which countries will be considered part of the JFT and get their corresponding effects. First thing you’ll notice is the text_icon parameter, we’ll talk about later, but the SECOND thing you’ll notice is the joint_trigger section. How do you make a Joint Focus Tree? Well, at its core, a JFT is a Shared Focus Branch, one where depending on conditions, has a set of member countries, and the completion of the focuses is shared between them, and different effects apply either to the country completing them, to the rest of the countries or to all of them equally.Īfter that it’s all Joint Focuses, and they’re different in a few ways.
