[UI-MOD] Buildinspector

Post mods you have finished or are working on here.

Moderators: Balthagor, Legend, Moderators

Post Reply
Message
Author
evildari
Colonel
Posts: 334
Joined: Aug 10 2017
Human: Yes

[UI-MOD] Buildinspector

#1 Post by evildari » Jul 18 2018

for SRU / SRGW
changes the mainscreen tooltip:

-in the upperright corner it displays the supply%
-remaining buildtime for facilities under construction
-(remaining issue: finished construction always shows "1 Day Remain")

How to install:

place provided .HAPX files in the \Haps Folder
Attachments
BuildInspector.7z
(105.37 KiB) Downloaded 88 times
Last edited by evildari on Jul 18 2018, edited 5 times in total.
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)

way2co0l
Brigadier Gen.
Posts: 686
Joined: Nov 29 2010
Human: Yes

Re: [UI-MOD] Buildinspector

#2 Post by way2co0l » Jul 18 2018

This one I'll definitely use.

way2co0l
Brigadier Gen.
Posts: 686
Joined: Nov 29 2010
Human: Yes

Re: [UI-MOD] Buildinspector

#3 Post by way2co0l » Jul 18 2018

Where do I get the file from? I only see the picture but no download.

evildari
Colonel
Posts: 334
Joined: Aug 10 2017
Human: Yes

Re: [UI-MOD] Buildinspector

#4 Post by evildari » Jul 18 2018

sorry but a picture and the file attachment did not work together, had to remove the picture to be able to show the file.
Preview showed both, but not the final version.
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)

way2co0l
Brigadier Gen.
Posts: 686
Joined: Nov 29 2010
Human: Yes

Re: [UI-MOD] Buildinspector

#5 Post by way2co0l » Jul 18 2018

Hmmm, weird. Anyway, thanks! Looks very nifty. :D

whismerhill
Corporal
Posts: 8
Joined: Nov 28 2018
Human: Yes

Re: [UI-MOD] Buildinspector

#6 Post by whismerhill » Dec 30 2018

Hi, would it be possible to get an update of this for the new SRU version ?(9.1.114)
thanks. (tried it, unless I messed up, it didn't seem to work)

evildari
Colonel
Posts: 334
Joined: Aug 10 2017
Human: Yes

Re: [UI-MOD] Buildinspector

#7 Post by evildari » Dec 30 2018

whismerhill wrote:
Dec 30 2018
Hi, would it be possible to get an update of this for the new SRU version ?(9.1.114)
thanks. (tried it, unless I messed up, it didn't seem to work)
works with current version 9.1.114 without change
move both .HAPX files from the archive to the \HAPS folder
maybe you unpacked it with all paths and then you have the not needed \buildinspector folder
Attachments
BuildInspector91114.jpg
BuildInspector91114.jpg (69.79 KiB) Viewed 472 times
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)

whismerhill
Corporal
Posts: 8
Joined: Nov 28 2018
Human: Yes

Re: [UI-MOD] Buildinspector

#8 Post by whismerhill » Dec 31 2018

you're right but I'm not totally wrong :P
I didn't notice the popup was working but this part is not working anymore :
http://prntscr.com/lv3j1k
Image
(image dates back from previous version of SRU)

I would take a newer picture but this laptop isn't so stable and I'm not home

I really liked this display myself particularly when building stuff

evildari
Colonel
Posts: 334
Joined: Aug 10 2017
Human: Yes

Re: [UI-MOD] Buildinspector

#9 Post by evildari » Dec 31 2018

that was another UI-mod from me, which did not survive the forum reorganization:
just append this to \HAPS\LAN_S1.HAPX

Code: Select all

&&HAPOB	3, 
obName	, 
obSysuse	99, 
obFlags	0x80000, 
obState	0x0, 
obStyle	72, 
obUdef	0, 
obUdefxc	5, 0, 0, 0, 
obAction	0, 
obData	112, 
obDatafmt	12, 
ToolTip	, 
ToolTipSel	, 
ToolTipGrid	, 
obRect	0, 150, 116, 170, 
obSyspar	1, 
hapname	"LAN_S1", 
obUdefxp	, 
teText	"100%`", 
teTextSel	, 
teTmplt	, 
teLen	6, 
teJust	2,
and you have that supply % number in that empty field under the supply bar, top right.
one could kill either that new Supply-Icon or the "supply" text to make space for the %...
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)

User avatar
Fistalis
General
Posts: 3303
Joined: Jun 23 2009
Human: Yes
Location: x:355 y:216
Contact:

Re: [UI-MOD] Buildinspector

#10 Post by Fistalis » Jan 02 2019

Good job.. Modding the UI can be a long and frustrating process. Glad to see you've made some progress in figuring it out.
Si vis pacem, para bellum
my Supreme Ruler mods Site
Redistribution of my mods is prohibited. By downloading them you agree to not redistribute the file(s) without expressed permission.

whismerhill
Corporal
Posts: 8
Joined: Nov 28 2018
Human: Yes

Re: [UI-MOD] Buildinspector

#11 Post by whismerhill » Jan 05 2019

Thanks evildari
I wish hapx format was a bit more documented

Post Reply

Return to “Modding Show & Tell”