Does anyone have any experience/tutorials on how to customize the UI for UT?
I'd like do a complete overhaul of UI assets for the 25AC.
Something a little more modern than the metal/gold/yellow Interface options (my understanding is that adding a new GUI skin style is not difficult).
Something that includes new graphics for the desktop and ladder (from what I understand changing the ladder graphics will require a custom ladder, which is difficult I am told)
Making the assets is not the problem, it's knowing what files to configure, and if it requires building a mod or some other package.
Any/all help is appreciated!
Custom UI for UT
-
- Adept
- Posts: 366
- Joined: Sat Oct 05, 2013 7:20 am
- Personal rank: Easy Target
- Location: "The Butthole of the World"
Custom UI for UT
You do not have the required permissions to view the files attached to this post.
My UT stuff:
CTF-NRMC-Gravitation | CTF-Panamax | Octane Boss Skin | Diesel mkII Boss Skin | Magma NewXan Skin | Skinsect Skjaarj Skin | Gaspack Voicepack
"Also UPDATE YOUR SIGNATURE"
-UnrealGGecko
CTF-NRMC-Gravitation | CTF-Panamax | Octane Boss Skin | Diesel mkII Boss Skin | Magma NewXan Skin | Skinsect Skjaarj Skin | Gaspack Voicepack
"Also UPDATE YOUR SIGNATURE"
-UnrealGGecko
-
- Godlike
- Posts: 3230
- Joined: Sat Mar 21, 2020 5:32 am
Re: Custom UI for UT
http://medor.no-ip.org/index.php?dir=&s ... rch_mode=f
You write own subclass of look and feel class, announce it in int file and use in it own textures. Stored inside .u file with code.
Used textures:
It usage defined in LookAndFeel class.
For change Ladder HUD you need work with UTMenu package. There stored all of this textures:
You need run own code (exists a lot of ways, but possible easier implement own console), and replace class defauts.
You need class ManagerWindow.
Options not stored in configs, but you can change it in class defaults fields.
So you can replace textures if you want.
Need do this only on early stage. Or later you need update fields
Unfortunately instantiate ManagerWindow hardcoded and can not be replace with subclass.
Desktop image stored in UMenu package and loaded UMenuRootWindow class which is Root and loaded by RootWindow config item stored in UnrealTournament.ini and Default.ini.
For use own desktop you need make own subclass of this class and override draw textures, since it is hardcoded.
You can set own RootWindow field in own console. Or from external call some code at early stage.
Look like all of it can be done via custom console. Which is not good news for users who use XConsole or another other custom console.
Or you can search other points of injections. maybe some way of mod items allow you run some code on UT start.
So one if important things is find point where you can inject your code. All other look like technically possible.
Automatically merged
Automatically merged
You need class ManagerWindow.
Options not stored in configs, but you can change it in class defaults fields.
Code: Select all
BGName1(0)="UTMenu.Sel11"
BGName1(1)="UTMenu.Sel12"
BGName1(2)="UTMenu.Sel13"
BGName1(3)="UTMenu.Sel14"
BGName2(0)="UTMenu.Sel21"
BGName2(1)="UTMenu.Sel22"
BGName2(2)="UTMenu.Sel23"
BGName2(3)="UTMenu.Sel24"
BGName3(0)="UTMenu.Sel31"
BGName3(1)="UTMenu.Sel32"
BGName3(2)="UTMenu.Sel33"
BGName3(3)="UTMenu.Sel34"
Need do this only on early stage. Or later you need update fields
Code: Select all
var texture BG1[4];
var texture BG2[4];
var texture BG3[4];
Automatically merged
Code: Select all
[UMenu.UnrealConsole]
RootWindow=UMenu.UMenuRootWindow
You can set own RootWindow field in own console. Or from external call some code at early stage.
Look like all of it can be done via custom console. Which is not good news for users who use XConsole or another other custom console.
Or you can search other points of injections. maybe some way of mod items allow you run some code on UT start.
So one if important things is find point where you can inject your code. All other look like technically possible.
You do not have the required permissions to view the files attached to this post.
Last edited by Buggie on Mon Oct 10, 2022 10:47 pm, edited 1 time in total.
-
- Adept
- Posts: 342
- Joined: Thu Mar 25, 2010 6:00 pm
- Personal rank: UMS R&D CEO
Re: Custom UI for UT
Actually, osxbackgroundchanger can let you change desktops (and there's plenty custom desktops already for it).
-
- Godlike
- Posts: 3230
- Joined: Sat Mar 21, 2020 5:32 am
Re: Custom UI for UT
Then you can make such wallpaper if it run some code. Or even do same approach as background changer do. And on this class make all changes, Install own GUI skin, change ladder textures and change desktop.