Custom UI for UT

Need some nice Mods? Here, you are right!
Post Reply
User avatar
fudgonaut
Adept
Posts: 363
Joined: Sat Oct 05, 2013 7:20 am
Personal rank: Easy Target
Location: "The Butthole of the World"
Contact:

Custom UI for UT

Post by fudgonaut »

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!

desktop.jpg
desktop.jpg (23.89 KiB) Viewed 914 times
ULadder.jpg
ULadder.jpg (21 KiB) Viewed 914 times
Buggie
Godlike
Posts: 2733
Joined: Sat Mar 21, 2020 5:32 am

Re: Custom UI for UT

Post by Buggie »

http://medor.no-ip.org/index.php?dir=&s ... rch_mode=f
scr_1665349988.png
scr_1665349957.png
scr_1665349957.png (4.51 KiB) Viewed 846 times
UnrealXP110.zip
(81.54 KiB) Downloaded 16 times
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.
scr_1665426274.png
scr_1665426274.png (14.7 KiB) Viewed 846 times

Automatically merged

Used textures:
scr_1665426370.png
It usage defined in LookAndFeel class.

Automatically merged

For change Ladder HUD you need work with UTMenu package. There stored all of this textures:
scr_1665426564.png
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.

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"
So you can replace textures if you want.
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];
Unfortunately instantiate ManagerWindow hardcoded and can not be replace with subclass.

Automatically merged

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.

Code: Select all

[UMenu.UnrealConsole]
RootWindow=UMenu.UMenuRootWindow
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.
Last edited by Buggie on Mon Oct 10, 2022 10:47 pm, edited 1 time in total.
User avatar
Delacroix
Adept
Posts: 301
Joined: Thu Mar 25, 2010 6:00 pm
Personal rank: UMS R&D CEO

Re: Custom UI for UT

Post by Delacroix »

Actually, osxbackgroundchanger can let you change desktops (and there's plenty custom desktops already for it).
Buggie
Godlike
Posts: 2733
Joined: Sat Mar 21, 2020 5:32 am

Re: Custom UI for UT

Post by Buggie »

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.
Post Reply