Тёмный

[HOI4 Modding] Creating Custom GUI 

The Iron Workshop
Подписаться 19 тыс.
Просмотров 31 тыс.
50% 1

This lesson will explain how to create new custom user interfaces in Hearts of Iron 4. It covers the basic functions of making graphical elements appear/disappear, attaching interfaces to other elements in the game and creating dynamic lists.
Timestamps for this tutorial/lesson:
00:00 - Lesson Start
01:26 - Contents of the lesson
03:36 - Basics of Scripted GUI's
07:03 - Common practices
08:53 - Basic elements of a "Behavior file"
15:20 - Basic elements of a .gui file
23:05 - Using effects and triggers
53:35 - Adding AI behavior
EXTRA SYNTAX ###
01:01:47 - Adding static flags to a Scripted GUI
01:04:41 - Creating Dynamic Lists
01:13:56 - Attaching to other game elements/other scripted GUI's
Useful links:
- Scripted GUI's template file: steamcommunity.com/sharedfile...
- HOI4 Wiki Arrays page: hoi4.paradoxwikis.com/Arrays
(Has a list of elements GUI's can be attached to, has some explanations about the various elements that can be used and more)
Iron Workshop Discord server: / discord
My twitch channel: / playerhoi
Hearts of Iron IV wiki modding page: hoi4.paradoxwikis.com/Modding
If you would like to contribute to make the Iron Workshop better you can do so on Patreon: / playerhoi
Here are the download links to the various tools used during The Iron Workshop lessons/tutorials.
Notepad++ Download: notepad-plus-plus.org/downloads/
Paint.net Download: www.dotpdn.com/files/paint.ne...
Please consider disabling your AdBlocker on RU-vid to support this channel and any other channel that creates content you enjoy and makes revenue from ads.

Игры

Опубликовано:

 

4 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 88   
@TheIronWorkshop
@TheIronWorkshop 3 года назад
I knew I forgot to mention something but after 3 hours of recording my brain was a mess of jelly. If you want to attach your scripted gui to decisions you do that via the decision category file. Just add the line scripted_gui = NAME_OF_YOUR_GUI_FROM_BEHAVIOUR_FILE You can see how it's done with the USA congress system which can be found in Steam\steamapps\common\Hearts of Iron IV\common\decisions\categories\USA_decision_categories.txt
@DatBoi_TheGudBIAS
@DatBoi_TheGudBIAS Год назад
If I don't plan to add any ai to this gui, so it's only player use, can I delete the ai code things?
@Benjamin-pz8fs
@Benjamin-pz8fs 3 года назад
The longest lesson so far but also the most anticipated one... Thank you for uploading!
@TheEGrievous
@TheEGrievous 3 года назад
Thank you for any and all mod videos. These are really helpful.
@7SOON_2003
@7SOON_2003 3 года назад
Thank you so much for this tutorial! I thought I won't find any video about Interface Modding but thanks again!
@Hadahuda
@Hadahuda 3 года назад
it’s finally here!! 🎉 🎉
@debjits5146
@debjits5146 3 года назад
I was waiting for it :D
@felixb.44
@felixb.44 3 года назад
Could you please make a video how to create something like the senate from the US and how to use it for other countries?
@GM-gb1eu
@GM-gb1eu 3 года назад
wow, 1 hour video ( awesome ) !
@Starsky3022
@Starsky3022 3 года назад
Any chances on a tutorial for gridBoxTypes and adding scrollbars? I couldn't find anything on the wiki for that
@mfauxgaming
@mfauxgaming 3 года назад
Hello, I would like to know how we can ensure that the rivers are well done and that there is no hole or that it is spaced.
@nikolayvalchanov3426
@nikolayvalchanov3426 3 года назад
Great Vid!
@perunproductions9126
@perunproductions9126 3 года назад
This is very cool! Do you know how to change the Text Font for Countrys? What I mean is the text that is on top of the countries when you load the game. Would be awesome to know how to do it because I have been struggling with it.
@doktord.8403
@doktord.8403 3 года назад
How do you make a custum GUI in the relations tab (the tab next to diplo not the one where you can see the relations?) i still have no clue (especially to make the flags stack/move with every new country)
@MichaelJones-es7kh
@MichaelJones-es7kh 3 года назад
Just need to ask. Have you explained how to Modify other Mods like Millennium Dawn or DLC like Together For Victory?
@kobiposey9935
@kobiposey9935 3 года назад
Please do a video on variables soon! I want to add additional political mana systems into the game
@fearmelolz1593
@fearmelolz1593 3 года назад
Thank you so much this is the hardest thing to mod in hoi4!
@DatBoi_TheGudBIAS
@DatBoi_TheGudBIAS 11 месяцев назад
no, the 2nd hardest. the hardest is map modding
@estoniandude
@estoniandude 7 месяцев назад
you are damn right
@SkorpionX95
@SkorpionX95 3 года назад
Very interesting and rich with information video! However I wonder if what I intended to do is even possible; which is to create a custom window or to override the existing one where you assign equipment to certain divisions in the division manager. My idea was to group them in tiers and sort by experience added to the variants, perhaps - again, if that's possible - giving them some kind of annotations to better recognize foreign equipment. Given that next step would be to add a check box button to assign/unassign the whole tier at once. Would that be possible with scripted GUI? Could you advise me where to start and what to look for?
@ureo_umbreon8601
@ureo_umbreon8601 Год назад
Would be really complicated
@wellitsasecret6547
@wellitsasecret6547 7 месяцев назад
Heyo, this video was great! I do have a question though, is it possible to make hovering over buttons display stuff, eg: like hovering over decisions? I've made a mod that's currently based in decisions, and would like to build a custom gui for it. I've made the gui, and currently adding buttons, and was wondering if there was a way for me to add more information via hover overs? If not, I'll probably have the buttons open up smaller gui's with this info. Thanks :)
@sukago
@sukago 2 года назад
I want to ask you, if it is the main menu gui of the game, which files should be prepared
3 года назад
Could you please make a Tutorial on how to make new unit skins or how to create new animations and brand new 3d models?
@zero_1zz6
@zero_1zz6 Год назад
Thank you for this explanation. I'm having a problem with the image not showing up completely
@MoonsideDance
@MoonsideDance 3 года назад
Hi, I am a bit puzzled: I have tried to reload the game (from the main menu), but the game keeps showing the giant "X" and on top of it the decision to open does not reset after being completed (even if it is set it to fire_only_once = no)... What could be wrong with my game? :-/ Do you have any special setting to reset the decision? :-? P.S.: I have understood what I was doing wrong: Reload the game means "reload from desktop", right??! :O (And the decisions resets at the end of day even if is listed as not to fire only once...fire only once = no is equal to days_re_enable = 1!! :-/ )
@whynickisneeded9885
@whynickisneeded9885 2 года назад
Hey, im playing around with the MtG ship designer UI but cannot find the behaviour file for it. Do you know where it is located ?
@catninja4950
@catninja4950 2 года назад
Hello! I have a question. How do I attach the scripted gui to the top bar?
@mira1491
@mira1491 3 года назад
How can I create a percentage system that goes up when at war?
@user-kc4ho4ok7e
@user-kc4ho4ok7e 2 года назад
What should I do to make the interface change without restarting the game?
@rndom6805
@rndom6805 Год назад
I LOVE YOU MAN!!! You just saved my ass
@tricksterno9247
@tricksterno9247 3 года назад
Is there a video he has made that shows how to make an event system such as the one as taking national leadership in china or the political groups in Bulgaria and Greece?
@gurihgurihnyoy3873
@gurihgurihnyoy3873 3 года назад
how can I mod my ideologies interface?I created few ideologies but it look messed up bcz all the ideologies that I created not fit the frame which only fit for 4 based ideologies
@Joseph_does_YouTube
@Joseph_does_YouTube 5 месяцев назад
How do you make a new button show text when you hover over it?
@youytsk7154
@youytsk7154 3 года назад
ty i would like to know where did you took so much time to do this videos i am making vids too but it takes a lot of time.
@Nick_9-23
@Nick_9-23 Год назад
Hello I am trying to make a bar that is similar to the autonomy bar. Does anyone know the syntax needed for this?
@nekawah
@nekawah 11 месяцев назад
I made a custom bookmark choosing interface where I made both bookmarks 1936 and made them overlap (I want to remove the 1939 bookmark). I am pretty sure that the .gui file works since when I drag it into the interface folder *after* i launched the game, it worked as intended. However, if I launch the game with my custom .gui file already in the interface folder, it would not work and will show two 1936 bookmarks. I am sure that it is not the .gui file itself that caused issue because I also tested with the .gui file from the TNO mod. How could I fix that?
@Makizander
@Makizander 3 года назад
Hello please can you help me out ? I installed Germany army reskins i see it in launcher but when i turn in on the mod does not change anything in game soliders look with vanila skins 😭 the mod is called die SS
@alphariusfuze8089
@alphariusfuze8089 3 года назад
Will there be an ep that how to create a music mod?
@omer64king
@omer64king 2 года назад
Iron Workshop i have big problems because i wanted to do this as a decision gui it cant find the close_button but i looked at everything and it should work no problems could you upload the files at the end of the mod please
@anbitye2134
@anbitye2134 3 года назад
Can you make a vid on how to make Doctrines?
@JouMaxu
@JouMaxu 6 месяцев назад
Is it possible that I just take someone else texture mod gui from the workshop. Then chance some of the textures and put it into my mod? Or just simply merge someones custom qui mod to my mod
@Itgetsbetterofficial
@Itgetsbetterofficial 2 года назад
Iron Workshop saves me again.
@VencedorDelAlamo
@VencedorDelAlamo 3 года назад
Excellent work with your mods and videos, they're very good! I'm planning to do a translation mod but I've never done a mod before and I don't know which files I should add to the mod folder apart from the localisation. Could you do a tutorial on how to do a translation mod or tell me which files I should add to my mod folder? Thanks!!!
@TheIronWorkshop
@TheIronWorkshop 3 года назад
What are you translating? The Base game or some mod?
@VencedorDelAlamo
@VencedorDelAlamo 3 года назад
I wanna translate a mod. In other words I wanna make a translation submod
@luuksleutel8915
@luuksleutel8915 3 года назад
Antonio Gutierrez Put depencies = { “NAME_OF_THE_MOD” } in both .mod files. The game will now read this mod as its primary source. You can then just take the localisation files of the mod and edit them to your preferences.
@nousername1916
@nousername1916 3 года назад
Based!
@nothing8450
@nothing8450 2 года назад
I cant find the vanilla hoi4s behaviour files, where are they located?
@nikolayvalchanov3426
@nikolayvalchanov3426 3 года назад
Hey,I have a question,it's not dedicated to video,but I didn't found answer anywhere so I will ask here. Is it possible to make custom available tab tooltip when modding focus tree?
@luuksleutel8915
@luuksleutel8915 3 года назад
Use custom_trigger_tooltip = { tooltip = LOCALISATION_KEY *insert your triggers here* }
@nikolayvalchanov3426
@nikolayvalchanov3426 3 года назад
@@luuksleutel8915 gosh...thanks you man)
@oogieboogie5541
@oogieboogie5541 10 месяцев назад
Is there a way to make a modifier mod for the host in an mp
@osmantugcu8891
@osmantugcu8891 3 года назад
Can you make a video about A.I. modifiers. You are the best by the way.
@sendhelp1074
@sendhelp1074 3 года назад
lets goooo
@zenccipopo
@zenccipopo 3 года назад
Please how do we add vassals to a country?
@lano4fun183
@lano4fun183 3 года назад
Hi Iron workshop. I have such an idea, would you do a tutorial on how to create a new map to HO4? I found some tutorial on the Internet but nothing worked. And all your tutorials work for me.
@washikaafrozi1469
@washikaafrozi1469 3 года назад
Yeah, also I please don’t include map gen 2.2. I want to see how to make a custom map without additional software
@DatBoi_TheGudBIAS
@DatBoi_TheGudBIAS 11 месяцев назад
@@washikaafrozi1469 dat is extremely painful. just use mapgen 2.2, its free, easy to use and makes 60% of the work for u
@re_allyedge
@re_allyedge 3 года назад
Yeey
@michielo5162
@michielo5162 3 года назад
YASSSS
@Geenoi
@Geenoi Год назад
Any idea how to make a mod like FPS map?
@pearseed2964
@pearseed2964 Год назад
I want to add a decision to gui. Is there a way?
@legatt.
@legatt. 2 года назад
How can I do this with scrollbar?
@cirianar
@cirianar 3 года назад
How do you link the scripted GUI file in interface to the localisation file?
@TheIronWorkshop
@TheIronWorkshop 3 года назад
No need to "link", just create a localization file and put all of your text there like you would with events/decisions/focuses.
@BrianLyons315
@BrianLyons315 2 года назад
I want to create a state border highlighter.
@developman5052
@developman5052 2 года назад
Hey, how to you make mods that change the map style (like fps map) and make mods that change the color of the gui (like buttons)
@TheIronWorkshop
@TheIronWorkshop 2 года назад
Changing buttons is just changing the graphic files used by these buttons... Don't know what FPS map is.
@konnirichter7299
@konnirichter7299 2 года назад
Can you please help? When I edit the text in the YML File, teh text does not update in game. Everything else updates, but not the text in YML file. I always have to reload the game top display the new text. I am in Debug-Mode. Seems that yours is working. Any zip? BTW thanks for this great video help.
@TheIronWorkshop
@TheIronWorkshop 2 года назад
A known issue, you can solve this by changing something about the interface and saving the file... Or just by copy+paste and element. As soon as the game recognizes that a GUI file was changed or saved it will auto refresh the inteface.
@Nancy3
@Nancy3 3 года назад
How do I make mod factions?
@dodolulupepe
@dodolulupepe Год назад
Your template mod should have visible = {has_country_flag = open_my_new_gui} as the default instead of visible = no
@krasnamerah1926
@krasnamerah1926 3 года назад
Uhm, next tutorial, can you help us creating custom leader traits?
@guangxi1654
@guangxi1654 3 года назад
thats easy
@zenccipopo
@zenccipopo 3 года назад
Please how do we add vassals to a country please !!
@luuksleutel8915
@luuksleutel8915 3 года назад
set_autonomy = { target = INSERT_TAG autonomous_state = INSERT_AUTONOMY_LEVEL } (These can be found in Steam/steamapps/common/Hearts of Iron IV/common/autonomous_states)
@zenccipopo
@zenccipopo 3 года назад
@@luuksleutel8915 thanks
@user-cr4iv2dj9j
@user-cr4iv2dj9j 3 года назад
I really need guide how to create formable nations. Thx for other guides, from Russia
@TheIronWorkshop
@TheIronWorkshop 3 года назад
Formable nations are created by creating cosmetic tags... See here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-y8z0qJPJExY.html
@mewokot
@mewokot Год назад
i created super event with it
@lazlo66
@lazlo66 3 года назад
Is this concept the same as in eu4?
@TheIronWorkshop
@TheIronWorkshop 3 года назад
AFAIK there are not scripted GUI's in EU4...
@tuluppampam
@tuluppampam Год назад
Still no scripted GUIs in eu4
@NexusStrategy
@NexusStrategy 3 года назад
Could you teach us how to make 3D unit models for units please
@TheIronWorkshop
@TheIronWorkshop 3 года назад
I'd have to teach myself first :)
@NexusStrategy
@NexusStrategy 3 года назад
@@TheIronWorkshop Oh alrighty
@NexusStrategy
@NexusStrategy 3 года назад
@@TheIronWorkshop Im sure you will figure it out:)
Далее
[HOI4 Modding] Using Variables
48:41
Просмотров 11 тыс.
The HOI4 Society Experiment [Archive]
24:07
Просмотров 285 тыс.
ПРОЖАРКА ХАРЛАМОВА
00:15
Просмотров 44 тыс.
Лайфхак с колой не рабочий
00:16
Просмотров 325 тыс.
Is 8-Bit Minecraft Possible?
13:56
Просмотров 1,1 млн
I made an entire OS that only runs Tetris
22:37
Просмотров 1,6 млн
There are NOT 195 countries
12:16
Просмотров 1,4 млн
Неадекватные моды в HOI4 (13)
13:25
Просмотров 278 тыс.
Can you fit a whole game into a QR code?
20:03
Просмотров 8 млн
[HOI4 Modding ] Creating New Ideas
30:12
Просмотров 54 тыс.
Why is Hoi4 So Popular?
10:29
Просмотров 331 тыс.
Hoi4: Explaining and Ranking Every Mod
26:10
Просмотров 284 тыс.
НА ИГЛЕ. MINECRAFT
23:45
Просмотров 181 тыс.