Star Sonata
http://forum.starsonata.com/

Adventures in programmer-skinning
http://forum.starsonata.com/viewtopic.php?f=9&t=41559
Page 1 of 3

Author:  JeffL [ Wed Nov 10, 2010 6:23 am ]
Post subject:  Adventures in programmer-skinning

No, not skinning the programmers. Programmers skinning the UI.

If anyone remembers some of the screenshots from about a year ago, before we embarked on the complete C2 UI overhaul, we had cool background images on all the different station tabs. I decided to find them again, even though *someone* deleted them, and put one up in one of the tabs just to see how it would look with the new UI.

Image

This is at 50% opacity and set as the background of the table. I do think it makes things look a little bit less-boring.

Also, I made it so your credits in the top bar say "7.62b" instead of "7,624,234,235".

Oh, here are some images of the UI from a years ago:

http://img329.imageshack.us/img329/4108/tradeix9.jpg
http://img181.imageshack.us/img181/566/bullitenth5.jpg

Author:  Tyler Durden [ Wed Nov 10, 2010 6:28 am ]
Post subject:  Re: Adventures in programmer-skinning

You guys have come a long way with the UI. I'm proud of you :p

Author:  Masterful [ Wed Nov 10, 2010 6:31 am ]
Post subject:  Re: Adventures in programmer-skinning

Can you add in different uis and we can choose which one we want to use.

Or, give us the option to use C1 ui in C2(if possible)?

Author:  Tyler Durden [ Wed Nov 10, 2010 6:33 am ]
Post subject:  Re: Adventures in programmer-skinning

You will be able to edit the XML files, and possibly image files too, so there will probably be people who will make C1 look-a-likes.

And hopefully they will share their work :p

Author:  yugioh124 [ Wed Nov 10, 2010 6:42 am ]
Post subject:  Re: Adventures in programmer-skinning

I'm still hoping someone will make a skin to look like the ye olde UI.

Image

Author:  SimonV2 [ Wed Nov 10, 2010 8:39 am ]
Post subject:  Re: Adventures in programmer-skinning

yugioh124 wrote:
I'm still hoping someone will make a skin to look like the ye olde UI.

qft

Author:  Asmodeaan [ Wed Nov 10, 2010 8:44 am ]
Post subject:  Re: Adventures in programmer-skinning

I hope the inventory bar won't remain like that o.O....I'd hate to not see the difference between a Solar Panel and a Solar Panel IV unless i clicked on them.

Author:  jeff mc beth [ Wed Nov 10, 2010 8:53 am ]
Post subject:  Re: Adventures in programmer-skinning

The C2 client consists of images and XML, which the user can edit to make their own GUI's.

The XML gives the user the freedom to move stuff around, like Feather's showed us in the other post about Client 2.

It is, in theory, completely possible to make the old C1 and new C1 GUI's with C2.


As for Simon & Yugi, send me old C1 screenies, and I'll try put something together for C1 maybe? :P


@Jeff:
The weapon icon by the selected weapon, can you change that to reflect the damage type?

And can you bring the Safety lock to a more, sensible/easier to get to place? Or add a key to toggle it?

Author:  SimonV2 [ Wed Nov 10, 2010 8:56 am ]
Post subject:  Re: Adventures in programmer-skinning

jeff mc beth wrote:
The C2 client consists of images and XML, which the user can edit to make their own GUI's.

The XML gives the user the freedom to move stuff around, like Feather's showed us in the other post about Client 2.

It is, in theory, completely possible to make the old C1 and new C1 GUI's with C2.


As for Simon & Yugi, send me old C1 screenies, and I'll try put something together for C1 maybe? :P


@Jeff:
The weapon icon by the selected weapon, can you change that to reflect the damage type?

And can you bring the Safety lock to a more, sensible/easier to get to place? Or add a key to toggle it?


the only thing i have is this :S

Author:  Nabacok [ Wed Nov 10, 2010 9:02 am ]
Post subject:  Re: Adventures in programmer-skinning

I have everything from that time, and I did make a UI similar to that time...

But it's possibly the buggiest UI ever :P

Author:  trevor54 [ Wed Nov 10, 2010 10:01 am ]
Post subject:  Re: Adventures in programmer-skinning

JeffL wrote:

Also, I made it so your credits in the top bar say "7.62b" instead of "7,624,234,235".

g


<3


Also the first screen shot on image shack is nice. The planets look good.

Author:  pip8786 [ Wed Nov 10, 2010 10:17 am ]
Post subject:  Re: Adventures in programmer-skinning

As a mini-guide of C2 skinning, instead of editing the files in place, you actually create a new folder in the Contents dir. Say you wanted to edit the placement of something in the Inventory:

1. Create Contents/<newSkinName>/ next to Contents/Default
2. Copy the appropriate file from Contents/Default/<dir1>/<dir2> to Contents/<newSkinName>/<dir1>/<dir2>
3. Make the changes you want to make to the file
4. Change the UserConfig.xml packages attribute to read 'packages="<newSkinName> Default"' instead of 'packages="Default"'

This will tell C2 to first look in <newSkinName> for the files it needs, then revert to Default for anything it doesn't find. You can chain many of these packages to apply multiple mods. (Eventually we'll have a UI mod manager as well).

Lastly, the packages attribute can also read in zip files, so you could place a zip file named <newSkinName>.zip in Contents/ and add it to the packages in the same way, and it would read it.

pip

PS. if anyone wants to wiki this that'd be great. Just pm me if you think details are missing.

Author:  SimonV2 [ Wed Nov 10, 2010 11:20 am ]
Post subject:  Re: Adventures in programmer-skinning

*shrug*

http://wiki.starsonata.com/index.php/Client_Skinning

Author:  thebattler35 [ Wed Nov 10, 2010 1:07 pm ]
Post subject:  Re: Adventures in programmer-skinning

Asmodeaan wrote:
I hope the inventory bar won't remain like that o.O....I'd hate to not see the difference between a Solar Panel and a Solar Panel IV unless i clicked on them.


from the screeny i think the names scroll under the picture sort of like the
Code:
[marquee][/marquee]
in HTML.

just a guess though.

Author:  pip8786 [ Wed Nov 10, 2010 1:50 pm ]
Post subject:  Re: Adventures in programmer-skinning

thebattler35 wrote:
Asmodeaan wrote:
I hope the inventory bar won't remain like that o.O....I'd hate to not see the difference between a Solar Panel and a Solar Panel IV unless i clicked on them.


from the screeny i think the names scroll under the picture sort of like the
Code:
[marquee][/marquee]
in HTML.

just a guess though.


The names do scroll and its not the inventory, its the command bar (allows you to see what you have hotkeyed and invoke those hotkeys with your mouse).

Page 1 of 3 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/