Xenon UI OXP

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

Moderators: winston, another_commander

Post Reply
User avatar
phkb
Commodore
Commodore
Posts: 2415
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon UI OXP

Post by phkb » Wed Feb 24, 2016 10:12 pm

Again, it seems to have got stuck on the setBackground command. I'm becoming suspicious the issue is related to the size of the images. What I might do is create a smaller version of the images, and give you a special download link to try it out. The image quality will go down, but the image sizes will be much smaller. I'll let you know when I've got something for you to test.

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13652
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Xenon UI OXP

Post by Cody » Wed Feb 24, 2016 11:03 pm

Cool! It is pretty rare though, and doesn't affect gameplay. <grins mischievously> Perhaps it doesn't like the text overflow?

User avatar
Svengali
---- E L I T E ----
---- E L I T E ----
Posts: 2365
Joined: Sat Oct 20, 2007 2:52 pm

Re: Xenon UI OXP

Post by Svengali » Sun Mar 13, 2016 11:12 am

Just a thought - as it triggers most likely on/after reloading - what if you simply implement setScreenBackground("my_oxp_black.png") pointing to a small black image in .startUpComplete?

User avatar
phkb
Commodore
Commodore
Posts: 2415
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon UI OXP

Post by phkb » Thu May 05, 2016 5:58 am

I'm working on an update for Xenon UI, adding the additional "Sub-Commands" section for the F7 screen, as that screen now has some key commands, thanks to the update added here. My thoughts at the moment are:

Home - Current system
End - Current destination
Left - Prev system on course
Right - Next system on course

Is that descriptive enough, do you think?

User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2543
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: Xenon UI OXP

Post by Norby » Thu May 05, 2016 12:08 pm

phkb wrote:Is that descriptive enough, do you think?
Enough for me, yes.

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13652
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Xenon UI OXP

Post by Cody » Thu May 05, 2016 12:13 pm

<nods>

User avatar
phkb
Commodore
Commodore
Posts: 2415
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon UI OXP

Post by phkb » Wed May 18, 2016 12:17 am

I've just uploaded a graphical refresh for all the Xenon UI resources. There's a couple of changes in these versions:

First, I've made the images considerably smaller (OXZ file size has been reduced from around 30mb to 5mb) by using 16bit colour images, rather than 32bit. This means there is a small reduction in quality, but it's hard to see unless you look really closely. At least that's what I think. I can easily revert back to 32bit colour images if these new ones prove to be too much of a disappointment.

Second, I've cleaned up the images, removed a few small glitches here and there, and made the side 'windows' consistent with the man central window (where the header background is aligned with the window itself. The previous offset headers were attempting to achieve a particular look which I couldn't apply consistently.)

Third, I've added two additional resource packs, I and J, which use the "Dosis" (formerly "Dangerous") font.

Fourth, with the Redux images, I've added a bit of extra width to the main window, which should hopefully work better with screens that don't wrap text well.

One of the goals of getting the file size reduced was to reduce the number of times Oolite would timeout the script for taking too long to load. Until this morning I thought I had nailed it, but I had another instance of this happening on my final playtest. So, I can't claim to have completely solved the issue, but there is hope that the smaller file sizes will help reduce the frequency of the errors.

All the resources should be available through the download manager.

Let me know what you think.

Edit to add: I forgot to mention the other addition in these images. This really only applies to Oolite 1.83 and the non-Redux versions - the F7 system info now has the default key function info displayed. The key function info will be displayed in 1.82 as well, but the keys won't actually do anything. Think of it as a teaser for the next version!
Last edited by phkb on Wed May 18, 2016 12:55 am, edited 1 time in total.

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13652
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Xenon UI OXP

Post by Cody » Wed May 18, 2016 12:45 am

Cool - thanks! Using the Redux variant: the Oolite intro and Select Commander background screens don't seem to override the BGS screens. The rest are fine!

User avatar
phkb
Commodore
Commodore
Posts: 2415
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon UI OXP

Post by phkb » Wed May 18, 2016 12:51 am

Cody wrote:the Oolite intro and Select Commander background screens don't seem to override the BGS screens
Ah - I think BGS must be winning the dual to be the last (or is it the first - who can tell!) OXP to claim the setting from screenbackgrounds.plist. Those two screens (and a couple of others) can't be set with JS. The only workaround is to rename the BGS screenbackgrounds.plist file (to say, "screenbackgrounds.bak.plist") so XenonUI can be forced to have precedence.

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13652
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: Xenon UI OXP

Post by Cody » Wed May 18, 2016 12:55 am

Okay - though I think it was fine before. Perhaps 'cos I'm running Svengali's WIP BGS 2 now?

User avatar
phkb
Commodore
Commodore
Posts: 2415
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon UI OXP

Post by phkb » Wed May 18, 2016 12:56 am

Cody wrote:Perhaps 'cos I'm running Svengali's WIP BGS 2 now?
Yes, that could be it. My next task is to dive into that system and make Xenon fully compliant with it.

Ross154
Competent
Competent
Posts: 33
Joined: Thu Feb 02, 2012 12:56 pm

Re: Xenon UI OXP

Post by Ross154 » Thu Aug 25, 2016 9:21 pm

Hi guys, I like this mod but I also liked BGS backgrounds, so I made a mix (16:9 only for now, 16:10 would require some additional work but it's easy to do, if there are requests in this sense).

Here you can see some pics (some more backgrounds in submenus are included):

https://imgur.com/a/rsvKs

As you may notice from the pics, the backgrounds are semitransparent to increase readability and to mantain the feel of the Xenon UI.

Here is the download link for the OXP

Extract in the Addons folder. It only contains images, but you need the base Xenon UI OXP installed. It doesn't need BGS, but I use it anyway because it's great.

User avatar
phkb
Commodore
Commodore
Posts: 2415
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: Xenon UI OXP

Post by phkb » Fri Aug 26, 2016 12:35 am

Very nice! Well done!
Ross154 wrote:16:9 only for now, 16:10 would require some additional work
I've got some Paint.net files and a VB.NET program which I use to create the different versions of the images. You're quite welcome to it if it would be of any assistance.

Ross154
Competent
Competent
Posts: 33
Joined: Thu Feb 02, 2012 12:56 pm

Re: Xenon UI OXP

Post by Ross154 » Fri Aug 26, 2016 7:48 am

phkb wrote:Very nice! Well done!
Ross154 wrote:16:9 only for now, 16:10 would require some additional work
I've got some Paint.net files and a VB.NET program which I use to create the different versions of the images. You're quite welcome to it if it would be of any assistance.
Thanks, I use Gimp to edit pics, I could easily make a 16:10 version with what I have, but to repeat the process for every font type would be a lot of work. I could extract the central part of the pics (the frame with the background) because that should be the same in all variants, maybe you can tell me how your VB program works? Thanks

User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2553
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Xenon UI OXP

Post by spara » Fri Aug 26, 2016 9:26 am

Excellent idea combining the graphics. Good job so far.

Post Reply