0xF’s CUI TOOL
$50.00
Sold by: 0xFA tool that allows you to make UIs for Rust plugins in minutes with loaded game assets directly in Unity and in an exportable easy to understand format.
- Description
- Reviews (0)
- Version History
- Discussions (0)
- Setup
- Product Enquiry
Description
Description
0xF’s CUI TOOL is a tool that allows you to make UIs for Rust plugins in minutes with loaded game assets directly in Unity and in an exportable easy to understand format.
This tool is suitable for Unity 2021, version 2021.3.29f is recommended. Download here.
Features:
- Working with game assets of the game you have installed. You will always have all sprites, materials, fonts available.
- Easy to understand exportable UI code using advanced CUI library by 0xF.
- Multifunctional interface that allows you to write your own variables with code with the ability to use in most fields of components, as well as If statements and parts of the code before and after the object.
- Tagging system allowing to insert automatically the necessary parts depending on the object, such as the name of the object or their child index.
Installation instruction:
- Installation Instructions:
- Create a 2D project.
- After loading the project, transfer 0xF’s CUI Tool.unitypackage file to the project explorer window, then click import.
- After the import is complete, open a scene named UI.
- Go to the Game tab, click Free Aspect and create a new one with a resolution of 1280×720.
- Enjoy.
Quick start to get started with the tool:
- To get started, install the tool according to the instructions without skipping a step (especially the last one). If something is not clear, you can ask it in the discussion section or write to the author in private messages with a question.
- Look at the scene hierarchy on the left, you can see the objects that correspond to the layers in the game (Overall, OverlayNonScaled, Overlay, Hud.Menu, Hud, Under, UnderNonScaled). They are sorted according to their priority in the game and each is displayed on its own display in the Game tab (the display number for the layer is specified in the Canvas component).
- Open the tool window by selecting 0xF -> CUI Tool (near File, Edit, …, Window, Help).
- Attach the window to a convenient part of the Unity interface.
- Select the appropriate layer in the object hierarchy and then select the desired element to create in the tool window. I think Panel will do for you for starters.
- If necessary, familiarize yourself with how to create UIs in Unity by watching tutorials on youtube or other sources.
- Try each of the presented variants of objects in the tool window.
- When you’re done with the UI creation, click Export to export the UI to code.
An example of exported code from a product preview:
private void SuperCoolUI(Connection connection)
{
CUI.Root root = new CUI.Root(“Overlay”);
{
CUI.Element WouXBz = root.AddPanel(
color: “0.2156863 0.2156863 0.2156863 1”,
imageType: UnityEngine.UI.Image.Type.Simple,
cursorEnabled: true,
keyboardEnabled: true,
anchorMin: “0.5 0.5”,
anchorMax: “0.5 0.5”,
offsetMin: “-405.5 -228”,
offsetMax: “405.5 228”,
name: “SuperCoolUI”).AddDestroySelfAttribute();
{
CUI.Element ileROs = WouXBz.AddPanel(
color: “0.3333333 0.3333333 0.3333333 1”,
imageType: UnityEngine.UI.Image.Type.Simple,
anchorMin: “0 1”,
anchorMax: “1 1”,
offsetMin: “0 -56”,
offsetMax: “0 0”
/* name: “Header” */);
ileROs.AddText(
text: “MY SUPER COOL UI FOR 1 MIN”,
color: “0.7294118 0.7294118 0.7294118 1”,
font: CUI.Font.RobotoCondensedBold,
fontSize: 25,
align: TextAnchor.MiddleLeft,
overflow: VerticalWrapMode.Overflow,
anchorMin: “0 0”,
anchorMax: “1 1”,
offsetMin: “20 0”,
offsetMax: “-20 0”
/* name: “Title” */);
{
CUI.Element GGpkiJ = ileROs.AddButton(
command: null,
close: “SuperCoolUI”,
color: “0.5294118 0.1882353 0.1882353 1”,
imageType: UnityEngine.UI.Image.Type.Simple,
anchorMin: “1 0”,
anchorMax: “1 1”,
offsetMin: “-56 0”,
offsetMax: “0 0”
/* name: “Close Button” */);
GGpkiJ.AddPanel(
sprite: “assets/icons/close.png”,
material: “assets/icons/iconmaterial.mat”,
color: “0.8509804 0.8509804 0.8509804 1”,
imageType: UnityEngine.UI.Image.Type.Simple,
anchorMin: “0 0”,
anchorMax: “1 1”,
offsetMin: “10 10”,
offsetMax: “-10 -10”
/* name: “Icon” */);
}
}
{
CUI.Element uIaXVK = WouXBz.AddContainer(
anchorMin: “0 0”,
anchorMax: “1 1”,
offsetMin: “0 0”,
offsetMax: “0 -56”
/* name: “Body” */);
uIaXVK.AddText(
text: “0XF CUI TOOL”,
font: CUI.Font.RobotoCondensedBold,
fontSize: 48,
align: TextAnchor.MiddleCenter,
overflow: VerticalWrapMode.Overflow,
anchorMin: “0.5 0.5”,
anchorMax: “0.5 0.5”,
offsetMin: “-250 92”,
offsetMax: “250 142”
/* name: “Text” */);
uIaXVK.AddText(
text: “Do UI faster than thought”,
color: “1 0.3882353 0.3882353 1”,
font: CUI.Font.RobotoCondensedBold,
fontSize: 48,
align: TextAnchor.MiddleCenter,
overflow: VerticalWrapMode.Overflow,
anchorMin: “0.5 0.5”,
anchorMax: “0.5 0.5”,
offsetMin: “-250 15”,
offsetMax: “250 65”
/* name: “Text (1)” */);
uIaXVK.AddPanel(
sprite: “assets/icons/tools.png”,
material: “assets/icons/iconmaterial.mat”,
imageType: UnityEngine.UI.Image.Type.Simple,
anchorMin: “0.5 0.5”,
anchorMax: “0.5 0.5”,
offsetMin: “-75 -156”,
offsetMax: “75 -6”
/* name: “Tools Icon” */);
}
}
root.Render(connection);
}
Reviews (0)
Only logged in customers who have purchased this product may leave a review.
Version History
- Added Initial release
Discussions (0)
Discussions
There are no discussions yet.
Leave a reply
Setup
How do I set up these Tools/Utilities I just purchased for my server?
• All tools/utilities are to include installations steps in the description or within the product download themselves, however, if you need assistance whilst setting them up please reach out to us on Discord. Please follow the installation steps found in the description or attached within your downloaded file.
• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.
Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.
Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)
Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)
Reviews
There are no reviews yet.