Log in

View Full Version : GUI for vaultmp



foxtacles
05-05-2012, 10:20 PM
We need someone to work on the GUI; either continue what Houstin worked on or start from scratch (maybe have a look at the CEGUI or MyGUI framework).

I want to focus on the vaultmp core, so we are definitely in need of some GUI programmer. I'll do the network part once the GUI is functional.

foxtacles
06-06-2012, 06:59 PM
Thanks to roby65, we'll soon have a working GUI implemented! It will come with the next snapshot, gary 2, which should be released soon.

109

Volumed
06-06-2012, 07:38 PM
Great work roby65!

roby65
06-07-2012, 08:23 PM
Thank you, I really love this project, it's very inspiring

foxtacles
06-12-2012, 06:30 PM
111

GUI contributed by roby65, thanks a lot :cool:

Volumed
06-12-2012, 07:14 PM
That is so sexy, but i don't like the size and can you scroll?

roby65
06-12-2012, 07:32 PM
That is so sexy, but i don't like the size and can you scroll?

The chat is very simple for now, it only displays 10 lines of chat and you cannot scroll.
Probably in the future the GUI will be much more complex.
For the size, i dunno, i liked it that way and i didn't change it's size.

Volumed
06-12-2012, 07:53 PM
The chat is very simple for now, it only displays 10 lines of chat and you cannot scroll.
Probably in the future the GUI will be much more complex.
For the size, i dunno, i liked it that way and i didn't change it's size.

Good to know you believe in a future development.
Recy should put you in the Developers group. ;-)

roby65
06-12-2012, 09:46 PM
Good to know you believe in a future development.
Recy should put you in the Developers group. ;-)

Thanks :)
Anyway, yes i think this mod has a future, i looked for a mod like this a long time, and this has the potential to also become a small/medium MMOFPS/MMORPG.
It would be fantastic, just look at how many gamers fallout 2 online has :)

jam
06-13-2012, 05:03 AM
well i really like it, but personally i think it should only show about 5 lines to save vertical space, but then again maybe only once you have scrolling

NeoPhoenix
06-13-2012, 06:16 AM
well i really like it, but personally i think it should only show about 5 lines to save vertical space, but then again maybe only once you have scrolling
5 lines are very little

roby65
06-13-2012, 08:45 PM
I will soon upload the changes to the GUI.
Changes made:

-Better positioning of text
-50 Lines of chat
-Resizing of chatbox ( + and - )
-Scrolling of chatbox ( PageUp and PageDown )

Screenshots:

Screenshot 1 (https://imageshack.us/photo/my-images/43/falloutnv20120613212820.jpg/)
Screenshot 2 (https://imageshack.us/photo/my-images/213/falloutnv20120613212818.jpg/)
Screenshot 3 (https://imageshack.us/photo/my-images/269/falloutnv20120613212816.jpg/)
Screenshot 4 (https://imageshack.us/photo/my-images/15/falloutnv20120613212815.jpg/)
Screenshot 5 (https://imageshack.us/photo/my-images/823/falloutnv20120613212813.jpg/)
Screenshot 6 (https://imageshack.us/photo/my-images/29/falloutnv20120613211915.jpg/)
Screenshot 7 (https://imageshack.us/photo/my-images/846/falloutnv20120613211914.jpg/)
Screenshot 8 (https://imageshack.us/photo/my-images/9/falloutnv20120613211913.jpg/)
Screenshot 9 (https://imageshack.us/photo/my-images/831/falloutnv20120613211912.jpg/)
Screenshot 10 (https://imageshack.us/photo/my-images/100/falloutnv20120613211911.jpg/)

foxtacles
06-13-2012, 11:31 PM
Awesome :D

Here's some example for command processing:

https://www.vaultmp.com/showwiki.php?title=Command+processor

foxtacles
06-15-2012, 05:54 PM
Player player(ID);
player << "Chat message!" << "Another message!";
Chat << "Chat for everybody!" << "This syntax is great, C++ rocks!";

Keyel
09-06-2012, 03:12 AM
This could be a crazy question... But where is the script located that has the command for pulling up the chatbox interface. I'm wanting to mess around with it a bit but I'm just not sure where to look. Any directions would be appreciated.

foxtacles
09-06-2012, 03:26 AM
Sorry, what do you mean with 'pulling up the interface'?

Keyel
09-06-2012, 05:17 AM
the part of the code that tells the chatbox to be in the top corner. that defines its characteristics

foxtacles
09-06-2012, 10:56 AM
This is part of the C++ GUI code written by Roby, he'll be able to tell you more.

https://github.com/Foxtacles/vaultmp/tree/master/source/vaultgui

roby65
09-06-2012, 12:56 PM
https://github.com/Foxtacles/vaultmp/blob/master/source/vaultgui/GUI.cpp#L156

This is the x/y offset of the GUI :D

ArathHunter
02-10-2013, 11:14 PM
Heya Roby! Is there anything I need to know about the new GUI that I need to fix for my chat skin pack?

Volumed
02-11-2013, 09:22 AM
Heya Roby! Is there anything I need to know about the new GUI that I need to fix for my chat skin pack?

You even get more options to edit like the little icons.

roby65
02-11-2013, 10:49 PM
Heya Roby! Is there anything I need to know about the new GUI that I need to fix for my chat skin pack?
Hey ArathHunter,

the new GUI is completely different and incompatible with the old skins, you will need to recreate them!
But the new GUI offers more editing options!
You can already find documentation about it on the CEGUI site:

https://www.cegui.org.uk/wiki/index.php/Category:Tutorials

And some already made skins:

https://www.cegui.org.uk/skins/

For now the new GUI is using the TaharezLook skin.

Roby

ArathHunter
02-12-2013, 06:42 AM
Well... that's a bit discouraging. I'll have to take a look more into those links when I can do it properly. Hopefully it won't be too hard. Thanks for the help Roby.

Aeronix
02-13-2013, 12:46 PM
Looks amazing, hoping to see a new official release soon.

roby65
02-14-2013, 12:23 AM
Ok guys, so the new GUI code has been pushed to the server, and i hope we will see a new Gary soon to try the new vaultmp feature.
Meanwhile, i want to add something to the GUI day per day to add functionalities and make it grow every day.

Its capabilities can be seen there: https://www.youtube.com/watch?v=FTjzEeOl_YU

What do you wanna see in the gui?
What other functions do you like?
Do you have suggestions,ideas?

Also, the Loading Screen is not very good and i would like to change it to one more similar to the new VaultMP banner, someone would like to do something?

Roby

Volumed
02-14-2013, 08:01 AM
https://imageshack.us/a/img708/7586/backgroundvaultmp.jpg
https://imageshack.us/a/img267/5176/backgroundvaultmp2.jpg
https://imageshack.us/a/img801/8907/backgroundvaultmp3.jpg

Smoria
02-14-2013, 11:02 AM
Oh, the GUI and banners looks so good! :D

Silentfood
02-14-2013, 05:34 PM
A suggestion would to have a cursor, like a blinking cursor position so we know where we're typing. Even a "|" would do, just to identify the location. Swallow the keys pressed, as I noticed in the video some keys are triggering actions creating the button bleep sound. May be hard to as I already notice that it does swallow anyway.

In regards to functions (I assume for custom scripts):

- GUI_DrawText(int id, string gui_id, string Text, float PositionX, float PositionY, float Size, array Color4)
Drawing text to the screens of players.

- GUI_DrawShape(int id, string gui_id, string shape, float PositionX, float PositionY, float SizeX, float SizeY, array Color4)
Draw a shape, defined by "shape", rectangle, circle, etc...

- GUI_SetPosition(int id, string gui_id, float PositionX, float PositionY)
Edits an elements position, uses the gui_id.

- GUI_Remove(int id, string gui_id)
Removes an element from a client's display.

- GUI_SetSize(int id, string gui_id, float SizeX, float SizeY)
Edits an elements size, uses the gui_id. If it's a text, ignores SizeY.

- GUI_Color4(int r[255], int g[255], int b[255], int a[255])
Creating a color to work with the drawing of objects.

- GUI_ChatVisibility(int id, bool Visible)
Toggling the visibility of the chatbox, maybe a server wants to hide the chatbox in certain situations?

Few suggestions, would be nice to get some implementation in the script for drawing elements :)

foxtacles
02-14-2013, 06:56 PM
I think it would be interesting to make a GUI style which looks like the Fallout terminals:

https://superuser.com/questions/455483/fixedsys-as-command-prompt-font-fallout-theme
https://www.funnyjunk.com/funny_pictures/3897871/Make+your+own+Fallout+Terminal/

foxtacles
02-15-2013, 12:50 AM
roby65: is it possible to add multiple loading screens and randomize them? Among others, I'd like this image:

https://www.furaffinity.net/view/9926475

be a loading screen (RakNet, Fallout logo etc. can still be added). Also, how does the GUI scale the loading screen? Is it being scaled at all if it doesn't fit the screen ratio?

roby65
02-16-2013, 01:00 AM
This thread is becoming interesting :)
I already added another loading screen i liked, and i'm gonna do something to make the GUI more customizable.
Making the GUI look like a terminal it's a great thing in my opinion, i will look into that if it's possible.
I'm gonna add more loading screens soon.
For the scaling thing, i only hook the loaded texture, i don't know how the game handles it, but i noticed that in fnv the texture scales well, in f3 it acts strange.
I will look into this aswell.