Jump to content

Recommended Posts

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

jPPp2fj.png  gX3pqVN.png

 

drenlfp.png  JLYWlvI.png

 

TPQcNZQ.png  1222A739D067BB72028BB15A863EF8513A4E0A1D

 

Ud1b4hE.png

 

 

SteamWS: https://steamcommunity.com/sharedfiles/filedetails/?id=1673595418
Github: https://github.com/ConnorAU/A3UserInputMenus
Discord: https://discord.gg/DMkxetD

 

Edited by Connor.
v1.4 update
  • Like 9
  • Thanks 4

Share this post


Link to post
Share on other sites

Another great addition !

Thank you very much Connor !

It looks pretty cool !  :thumbs-up:

  • Like 2

Share this post


Link to post
Share on other sites

I am interested in starting to play with GUIs so this looks like it could be good to start learning from. Thank you Connor

  • Like 3

Share this post


Link to post
Share on other sites

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
  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

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

87nqfW0.png

 

  • Like 3
  • Thanks 2

Share this post


Link to post
Share on other sites

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

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 2

Share this post


Link to post
Share on other sites
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

Update:

Spoiler

Overlay mode

UeMvcti.png

 

Clickable mode

JLYWlvI.png

 

Position on screen

BKg5AZs.png

 

 

  • Like 3

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×