New toggleable preview window and "fucntion builder" tab (write and add custom functions/variables/etc to your script)! Tool to build a CET overlay window (inside of another window) and export as a new script/mod
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.55
Added support for adding sliders to your mod window... Allows assigning the label, variable name (to store the value), as well as the min, max, and default values...
Made nearly everything collapsible in all windows (except for the preview window) to clean up the workspace
Made it so the checkbax state in the preview window reflects what you set it to in the editor (true/false only)... The sliders in the preview also reflect the values you enter...
Version 1.43
No major change, just added a note to the end of the exported script to show that it was generated using this mod (you can remove this if you'd like, but it'd be cool if you didn't)...
Released standalone "Styles Editor" tool, which only has tools to edit the ImGui styles/colors with the ability to export to a table in a file named "custom_init.lua"... The exported code also contains instructions on how to use in your mod...
Archived the standalone "Styles Editor" mod file, as I have improved it to the point that it is going to get it's own mod page... Also, expect an update soon to this mod to make it function a bit more like the new "Styles Editor" mod (coming soon)
Version 1.42
Cleaned up menus by moving my "tips" into pop-out submenus... Also renamed tabs to have shorter names...
Version 1.5
Added support for adding checkboxes to your window... Allows assiigning the checkbox label, variable (to store the true/false state), and the initial state (should be true/false/nil)...
Version 1.4
Added new tab with a notepad to write custom functions (or add custom variables, etc) to the endo of your exported script
Version 1.3
Added a toggleable "tools" window that has all of the buttons and sliders from all of the builder tabs, and removes the buttons from the editor tab in the main window if the tools window is shown (for a cleaner window to work in without having to scroll up/down to get to the buttons at the top)... If you do not like this window, you can choose to not toggle it (or use an old version)...
Version 1.2
Added preview window (toggleable from main window) that updates in real time as you add/edit window elements... Window color edits will no longer apply to the main window, only the preview window (and your exported script)
Version 1.1
Exported scripts now include support to hide their windows with my other "CET Window Hider Tool" mod
Note: This is mostly intended for mod developers... However, it is fairly simple to understand and use, and anyone could quite easily make a window with buttons to execute different CET console commands with this (as one example of how it could be useful for anyone)... You don't need to know any scripting, you just need basic reading comprehension skills (in English) and know how to use CET console commands...
Allows you to build an ImGui (CET overlay) window with no coding experience
Mostly just enough to get a working window, but could technically write an entire script line-by-line in it using the "User Code" option if you really wanted to (or in the "Functions" tab)
Has options to add buttons, a user editable text field (InputText field), checkboxes (for toggling true/false values), sliders (both float and integer sliders), the "ImGui.SameLine" function call (tells the script to put the next window element on the same line as the previous), and the aforementioned "Custom Code" button...
Can delete the last element on the list at any time, or clear all elements (this is useful, as the tab will never clear on it's own even if you rename it or try to generate a new one, which you can not do... Only supports one mod project at a time)
Has a separate tab to customize things like colors and your window's initial size/position
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 it 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
Exported mods support hiding their windows in CET overlay with my CET Window Hider Tool (this mod window can also be hidden with it)
The "ImGui Styles Editor" file has been archived and has been re-released on it's own mod page... The new mod can be found HERE
Installation:
Extract to main CP77 install folder or install with Vortex
Uninstallation:
Delete the "ImGuiWindowBuilderTool-CET" folder from your [CP77>bin>x64>plugins>CET>mods] folder