Tool to build a NativeUI menu inside of a CET overlay window... Does not make a functional mod, just a functional menu... The user will need to add functionality in the exported script (as well as rename the elements and their associated variables)... Exports a "functional" lua script to this mod's folder...
Not required to build the menu, but will be required to use your menu (obviously)
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
This mod is opted-in to receive Donation Points
Changelogs
Version 1.4
Added support to define each aspect of each element added... Also made text fields that are added for each element collapsible (along with other things in the window... This helps keep the window cleaner)... Lastly, added a "notepad" for the user to definie inital variables or create functions in, which will be added to the start of the script...
Version 1.3
Oops... Skipped v1.2...lol... v1.3 includes support for adding selector string elements to your menu... This even allows you to add and name your custom options (it starts with 2 by default) and assigns unique current/default variables for each element added (both variables are set to a value of 1 by default, so the current and default selection start on the first option)...
Version 1.1
Added ability to change label and descriptions for each added element (the description is the text that pops up on the right side of the NativeUI menu when an element is hovered over)
v1.15 Added support to hide this mod's window in CET overlay using my "CET Window Hider Tool" mod
Note: This is only intended for mod developers and you must already have some knowledge of how to script for CET, but not much knowledge of NativeUI is required at all... The exported code should contain enough information for you to figure out how everything works... Start simple if you're not too sure of what to do (just try to make a button to execute a simple CET console command or something like that, then move to the toggle, then a slider)...
Allows you to build a (somewhat) functional NativeUI menu without coding
Just enough to get a working menu with a name, one subcategory, and your menu elements added in the order that you add them
Has options to add buttons, sliders, and toggle switches with the ability to name and define every aspect of each
Has a "notepad" that allows the user to declare initial variables or add custom functions to the start of their exported script
Can delete the last element added at any time, or clear all elements (this is useful if you want to start a new project, as the window will never clear on it's own
Can export straight to a .lua file (named "custom_init.lua" and goes into the same folder as this mod...
You will need to move the exported script to a new CET mod folder and rename it to just "init.lua")...
Exported mods can be packaged and published to Nexus, and do not need to require this mod