Connor. 204 Posted March 5, 2019 (edited) Multi-purpose user input displays for use in your missions and mods. The idea for this came from constantly writing up new UIs to get user input, realizing it would be so much simpler to have a set of displays and functions specifically for user input. This mod allows developers to display information to the player and then execute code with their input as the argument. It is designed to make things a little easier, saving time and effort for any developers who wish to use it. I used this idea in a mission a long time back, can't seem to find anything like it public so figured I'd turn it into a mod. The images and demo video below shows some examples as to the types of things you may ask a player for input on. There are six types of menus: colorPicker - returns RGBA1, RGBA256 and HTML color information guiMessage - returns true/false listBox (single and multi select) - returns selected index, lbData and lbValue progressBar (overlay and clickable) - returns true/false (if progress reached 100% or not) slider - returns slider value text (single and multi-line) - returns text value All menus are designed to run fully unscheduled. I know for most people that isn't important, but I've always found it annoying having to use scheduled environment for BIS_fnc_guiMessage, so with this I don't have to 🙂 A scripted version of this is available on github. You can use it to embed this mod inside your mission file. Spoiler SteamWS: https://steamcommunity.com/sharedfiles/filedetails/?id=1673595418 Github: https://github.com/ConnorAU/A3UserInputMenus Discord: https://discord.gg/DMkxetD Edited May 11, 2020 by Connor. v1.4 update 9 4 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4206 Posted March 5, 2019 Another great addition ! Thank you very much Connor ! It looks pretty cool ! 2 Share this post Link to post Share on other sites
Rockapes 103 Posted March 18, 2019 I am interested in starting to play with GUIs so this looks like it could be good to start learning from. Thank you Connor 3 Share this post Link to post Share on other sites
Connor. 204 Posted March 26, 2019 Update: Simplified syntax on all functions (info available on github wiki) Thickened padding around text control on guiMessage display Moved text control on guiMessage display inside a control group to allow text scrolling if the text height exceeds the screen resolution 1 1 Share this post Link to post Share on other sites
Connor. 204 Posted April 11, 2020 Update: Added color picker input menu - https://github.com/ConnorAU/A3UserInputMenus/wiki/CAU_UserInputMenus_fnc_colorPicker Supports RGBA1, RGBA256 and HTML input/output 2 1 Share this post Link to post Share on other sites
Connor. 204 Posted May 6, 2020 Update: Added listBoxMulti menu as an extension of CAU_UserInputMenus_fnc_listBox Moved unique function parameters into a single array so I stop breaking the argument order every time I add an option 3 2 Share this post Link to post Share on other sites
zagor64bz 1225 Posted May 7, 2020 Hey man, I would like to start using this as well..any guide/tutorial on how to get this old fart noob on track? Share this post Link to post Share on other sites
Connor. 204 Posted May 7, 2020 It's as easy as loading the mod and calling the functions. Function descriptions, parameters and examples can be found here: https://github.com/ConnorAU/A3UserInputMenus/wiki With a few extra steps you can embed the mod into a mission file, however it is only necessary if you wish to host a mod-free server: https://github.com/ConnorAU/A3UserInputMenus/wiki/Mission-Setup 2 Share this post Link to post Share on other sites
zagor64bz 1225 Posted May 8, 2020 15 hours ago, Connor. said: It's as easy as loading the mod and calling the functions. Function descriptions, parameters and examples can be found here: https://github.com/ConnorAU/A3UserInputMenus/wiki With a few extra steps you can embed the mod into a mission file, however it is only necessary if you wish to host a mod-free server: https://github.com/ConnorAU/A3UserInputMenus/wiki/Mission-Setup Thanks, man!!! Share this post Link to post Share on other sites
Connor. 204 Posted May 11, 2020 Update: Added progress bar menu - https://github.com/ConnorAU/A3UserInputMenus/wiki/CAU_UserInputMenus_fnc_progressBar Doesn't exactly provide the same "user input" functionality as the other menus, but I was making it anyway and was told it would be worth adding to the mod. Spoiler Overlay mode Clickable mode Position on screen 3 Share this post Link to post Share on other sites