Hi,
So I am trying to learn how this community UI works, and so far I've seen pieces of complex code I don't really understand in various plugins.
- My main question here is, what is the best way to develop UI?
- Is there any sort of tool we can use to develop the UI?
Another question I have is, I am aware you can easily create UI on the Unity Editor, but is there any way to export into json so then we can just paste in the plugin code?
I hope any one understands what I asking here.![]()
Interface/editor for Community UI?
Discussion in 'Rust Development' started by NobodyFTW, Sep 12, 2015.
-
Can you give me an example of what exported unity editor UI's look like? Can you read it in notepad?
-
Wulf Community Admin
Pretty sure anything in Unity is not compatible with the Rust Community UI, it's a separate thing.
-
If I understood how the coordinates worked I could make a web page to generate ui's
Gonna give it a go I think -
Calytic Community Admin Community Mod
I've got good news for you, this is definitely possible
=) -
Can you elaborate a little?

Ohh just saw the screenshot, awesome! -
Calytic Community Admin Community Mod
See attached screenshot
-
I just saw! Impressive, I'm going to make something like that with jquery once I figure out the coordinates nonsense. It won't be as impressive as that I'm sure
-
where can I get that though?
-
Calytic Community Admin Community Mod
Unfortunately CommunityEntity, being completely stateless at the moment, does not lend itself very well to rich interactive GUIs. These GUIs are more like the web circa 1995. I have built and implemented nearly a dozen in-game guis, for things like Clans, In-game Map, Skills, Help Tips, etc.. all using templates built with the application shown in the screenshot. It has a lot of features and saves me quite a bit of time, but it also has a high entry level and admittedly (due to stateless limitations) only creates primitive static interfaces. It is possible to squeeze out some complex functionality, such as pagination, tables, lists, nesting, etc - but still - compared to something like Visual Studio, doing even basic things is embarrassingly difficult.
Don't get me wrong, I don't want to sound discouraging at all. It was very fun writing it and if you want to try your hand at it, I'll be happy to be a resource for you. I used html, jquery, js, php, and sql for the ugui system, and while I went to great lengths to model every component - I wouldn't say your goal is impossible even without such a heavy backend application. Writing a simple percentage-based box model that compiles to CommunityEntity JSON is the single most useful component. With that alone, you no longer have to do mental gymnastics to figure out how to position and size everything upside down/backwards.
Anyway, good luck sir.
[DOUBLEPOST=1442067985][/DOUBLEPOST]I haven't released the tool. I'm not supporting it. Like I said, it has a high entry level and requires a good bit of work/documentation. The scope of the project is just too massive for me to finish, document, and support completely by myself. I would like to release it, but I have too many other ongoing development efforts to give the tool proper attention before releasing to the public.Last edited: Sep 12, 2015 -
Maybe make it opensource, user contributed then? I would love to contribute for sure.
-
I think I gotta try doing a program which you will be able to visually create the UI ^^
[DOUBLEPOST=1442094036,1442083749][/DOUBLEPOST]Any idea on how to make object moveable by the user in windows forms? -
Calytic Community Admin Community Mod
Making it open-source would mean supporting it. This will only ever be a private project as long as I am in charge of it and that is for the forseeable future.
Moderator edit: Removed off topic content.Last edited by a moderator: Sep 16, 2015 -
Please don't use other people's threads to spread your grievances, if that's the case fair enough. It wouldn't be hard to replicate in jquery.Last edited by a moderator: Sep 16, 2015
-
Calytic Community Admin Community Mod
Well, %#^@ you too Norn.
1. Asking for PHP, jQuery, WinForms help is definitely on-topic here in "Experimental Rust" development.
2. Let's not forget this thread, also very much on-topic for Rust development in Oxide.
Total lack of empathy on your part there Norn, so don't expect any help from me brother - have fun writing your WYSIWYG, you'll be doing it without any of my help. I'm sure you'll have no problems, good luck. Also, if you notice I'm not replying to your messages, it is because I don't see them.Last edited: Sep 15, 2015 -
What messages? I've never spoke to you before. Do you think you're some God or something? I'm new to programming on rust, but I myself have been programming for over 10 years as well. Sort your ego out man.
-
Calytic Community Admin Community Mod
I'll take this to PM, so as not to subject anyone else to my ego.
