Docked HUDs OXP

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5615
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Docked HUDs OXP

Post by phkb »

Krager wrote: Mon Jun 23, 2025 1:59 pm
Здравствуйте! Есть возможность поправить дополнение? Wildeblood.Docked_HUDs 1.3.1 и Wildefire_Docked_HUDs v1.1.
The Wildeblood.Docked_HUDs 1.3.1 and Wildefire_Docked_HUDs v1.1 both use the same identifier: oolite.hud.data.Wildeblood.Docked_HUDs
So, the only real difference is in the filename. Wildeblood.Docked_HUDs 1.3.1 is the updated version of Wildefire_Docked_HUDs v1.1, and thus is the one you should be using.

As for any issues with Elite Trader, I suspect those are best dealt with inside Elite Trader, rather than Docked HUDs. My suspicion, without having looked at the code, is that the problem is with Elite Trader not understanding there might be other HUD's activated, and not doing a good job of ceding control.
User avatar
Krager
---- E L I T E ----
---- E L I T E ----
Posts: 269
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: Docked HUDs OXP

Post by Krager »

Вот ещё нашёл, дополнение Combat_Simulator v1.1 каким то образом блокирует вывод приветствия внизу экрана.
Буфер обмена01.jpg
На скрине Combat_Simulator не установлен, при его наличии надпись не появляется.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5615
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Docked HUDs OXP

Post by phkb »

Krager wrote: Mon Jun 30, 2025 10:35 am
Вот ещё нашёл, дополнение Combat_Simulator v1.1 каким то образом блокирует вывод приветствия внизу экрана.
I've just released an update for Combat Simulator, which now hides the HUD if the HUD doesn't support big GUI's. I also moved all text into descriptions.plist/missiontext.plist for easier localisation, and added some "Exit" options so you aren't forced to do the training exercise if you change your mind while selecting options.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2921
Joined: Sat Jun 11, 2011 6:07 am
Location: Nova Hollandia
Contact:

Re: Docked HUDs OXP

Post by Wildeblood »

phkb wrote: Mon Jun 30, 2025 9:50 pm
Krager wrote: Mon Jun 30, 2025 10:35 am
Вот ещё нашёл, дополнение Combat_Simulator v1.1 каким то образом блокирует вывод приветствия внизу экрана.
I've just released an update for Combat Simulator, which now hides the HUD if the HUD doesn't support big GUI's.
Hiding the HUD does not, however, explain why other OXPs are interfering with a custom HUD dial. I told Krager I'd update this one to extract the text to a descriptions.plist, and I will, but I'd like to know what's going on before I start messing about with it.
R.I.P. John Lodge, 1943-2025.
User avatar
Krager
---- E L I T E ----
---- E L I T E ----
Posts: 269
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: Docked HUDs OXP

Post by Krager »

Wildeblood wrote: Tue Jul 01, 2025 10:59 am
phkb wrote: Mon Jun 30, 2025 9:50 pm
Krager wrote: Mon Jun 30, 2025 10:35 am
Вот ещё нашёл, дополнение Combat_Simulator v1.1 каким то образом блокирует вывод приветствия внизу экрана.
I've just released an update for Combat Simulator, which now hides the HUD if the HUD doesn't support big GUI's.
Hiding the HUD does not, however, explain why other OXPs are interfering with a custom HUD dial. I told Krager I'd update this one to extract the text to a descriptions.plist, and I will, but I'd like to know what's going on before I start messing about with it.
Уже перевёл, пользуюсь) Начал проверку на Linux версия OOlite 1.91 и на Windows тоже версия Oolite 1.91. А так же на Windows версия OOlite 1.9. На линукс и виндовс с версией OOlite 1.91 уведомление из дополнения Combat_Simulator показывает там где надо. мало того, в версии Oolite 1.91 дополнение Svengali_Library показывает все картинки, которые и должно показывать. То есть все проблемы с выводом происходят в версии 1.9.
User avatar
Krager
---- E L I T E ----
---- E L I T E ----
Posts: 269
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: Docked HUDs OXP

Post by Krager »

Ещё один вопрос по внешнему виду. Можно ли вывод текста слева сдвинуть на три-четыре символа в лево?
Не критично, просто немного вид портит...
OOlite_08.jpg
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2921
Joined: Sat Jun 11, 2011 6:07 am
Location: Nova Hollandia
Contact:

Re: Docked HUDs OXP

Post by Wildeblood »

Krager wrote: Sun Oct 05, 2025 2:40 pm
Ещё один вопрос по внешнему виду. Можно ли вывод текста слева сдвинуть на три-четыре символа в лево?
Не критично, просто немного вид портит...
OOlite_08.jpg
You need to edit the 4 HUD files in the "Config" folder. The dials should be the first 8, near the very top of the files:

Code: Select all

{
	// crosshairs = { OTHER = (); };
	dials		= //these are drawn, in order, after the legends
	(
		{	// Function Button Reminder
			data_source = "functionKey1"; 
			selector = "drawCustomText:";
			color = "greenColor";
     		     //   alert_conditions = 14; // hide when docked
			alpha = 0.5;
			height = 16; 
			width = 16; 
			x = -360;     // <----------------- INCREASE THIS NUMBER, TRY -390
			y = -64; 
			y_origin = 1; 
		},

		{	// Function Button Reminder
			data_source = "functionKey2"; 
			selector = "drawCustomText:";      
			color = "greenColor";
     		     //   alert_conditions = 14; // hide when docked
			alpha = 0.5;
			height = 16; 
			width = 16; 
			x = -360;      // <----------------- INCREASE THIS NUMBER
			y = -96; 
			y_origin = 1; 
		},

...
R.I.P. John Lodge, 1943-2025.
User avatar
Krager
---- E L I T E ----
---- E L I T E ----
Posts: 269
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: Docked HUDs OXP

Post by Krager »

Получилось, благодарю! Там ещё цифры отдельно выводились со своими координатами, по аналогии разобрался)
Буфер обмена01.jpg
User avatar
Krager
---- E L I T E ----
---- E L I T E ----
Posts: 269
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: Docked HUDs OXP

Post by Krager »

Есть возможность отключить боковую панель подсказок? Вместе с XenonUI информация с боку только мешает. Хорошо бы чтоб через меню её можно было отключить)
Буфер обмена01.jpg
User avatar
Cholmondely
Archivist
Archivist
Posts: 6549
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Docked HUDs OXP

Post by Cholmondely »

Krager wrote: Fri Oct 17, 2025 11:35 am
Есть возможность отключить боковую панель подсказок? Вместе с XenonUI информация с боку только мешает. Хорошо бы чтоб через меню её можно было отключить)
Буфер обмена01.jpg
My understanding is that the material appearing in XenonUI merely fills in the gaps (to the sides) which are left by the Vanilla game code screens. And does so with useful information.

Would disabling (removing) Xenon UI really make all that much difference? Just remove the OXP and see what you think!
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Krager
---- E L I T E ----
---- E L I T E ----
Posts: 269
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: Docked HUDs OXP

Post by Krager »

Для использования совместно с XenonUI взял версию Docked_HUDs v1.1.
User avatar
Krager
---- E L I T E ----
---- E L I T E ----
Posts: 269
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: Docked HUDs OXP

Post by Krager »

Здравствуйте! Есть пожелание. Нужно изменить `Docked HUDs` так, чтобы при использовании (наличии) `XenonUI`боковой список, который слева, не выводился. Не красиво выходит.
Буфер обмена01.jpg
В ветке по `XenonUI` Phkb предложил код, которы должен помочь в решении этого вопроса.

Code: Select all

this.$xenonUIInUse = function() {
    if (worldScripts.XenonUI) {
        var lib = worldScripts.Lib_GUI;
        if (lib) {
            if (lib.$cur === "XenonUI") return true;
        } else {
            return true;
        }
    }
    return false;
}
Только вот куда и как его ставить, да и у дополнения автор есть)
Ещё пришлось немного координаты текста, слева, сдвинуть. Чтоб на рамку не наползало в BGS. Посмотрите, может примените в оригинале.
RUS_Docked_HUDs v1.3.1.zip
(11.67 KiB) Downloaded 18 times
Посмотрите пожалуйста что можно сделать.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2921
Joined: Sat Jun 11, 2011 6:07 am
Location: Nova Hollandia
Contact:

Re: Docked HUDs OXP

Post by Wildeblood »

Someone, anyone, talk to me like I'm a five-year-old and explain what Krager is trying to do here? Docked HUDs 1.1 is ancient and simple, and 1.3 adds the text to the left. As I read his comments here, he wants to use it with XenonUI, but sensibly doesn't want both XenonUI's background images, and Docked HUDs' custom dials, trying to be helpful in the same screen area. But this is the change from 1.1 to 1.3, so, "Use Docked HUDs 1.1 with XenonUI," is the only simple advice I could give. Which seems obvious to me. So what am I mis-reading here?
R.I.P. John Lodge, 1943-2025.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 5615
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Docked HUDs OXP

Post by phkb »

Wildeblood wrote: Fri Dec 05, 2025 5:39 am
Someone, anyone, talk to me like I'm a five-year-old and explain what Krager is trying to do here? Docked HUDs 1.1 is ancient and simple, and 1.3 adds the text to the left. As I read his comments here, he wants to use it with XenonUI, but sensibly doesn't want both XenonUI's background images, and Docked HUDs' custom dials, trying to be helpful in the same screen area. But this is the change from 1.1 to 1.3, so, "Use Docked HUDs 1.1 with XenonUI," is the only simple advice I could give. Which seems obvious to me. So what am I mis-reading here?
I think there was a misunderstanding between whether v1.3 was the main version going forward. I think you've provided clarity that v1.1 is the version without the side bar, and version 1.3 has the side bar. Both are valid, based on your requirements. So, I think we're good from here!
User avatar
Krager
---- E L I T E ----
---- E L I T E ----
Posts: 269
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: Docked HUDs OXP

Post by Krager »

Wildeblood wrote: Fri Dec 05, 2025 5:39 am
Удобное дополнение, убирает HUD которые на половину экрана вылезает. Всё же по моему он вывод текста как то не так обрабатывает. Считаю очень нужное дополнение. Вот только может его надо немного доработать?
Посмотрите пример с ним и без.

Docked_HUDs 1.1 отсутствует. Текст выводится мелкий и справа.
01.jpg
Docked_HUDs 1.1 присутствует. Текст выводится крупный по середине экрана.
02.jpg
И подумайте пожалуйста о том, чтобы подружить версию Docked_HUDs 1.3 с дополнением XenonUI. Чтобы при его наличии отключалась боковая информационная панель. Всё же хотелось бы использовать одну универсальную версию, а не тасовать Docked_HUDs 1.1 и Docked_HUDs 1.3 в зависимости от использованного оформления.
Post Reply