LemonUI Starter Project with Example Code 2.0
DevelopersDescription
LemonUI Starter Project with Example Code
Change Log
1. Added a second, more advanced template demonstrating how Native List Item strings are handled. These strings have different behaviors and in this example the triggers are when the item changes (i.e., without hitting enter). The List Item is just one of many options available to developers and hobbyists. It is compact and powerful.
2. Added exception handling specifically for spawning weapons.
About these templates
New developers with little programming experience often use outdated NativeUI Menu templates and mods. Time to move on to LemonUI, right? Unfortunately, the available documentation isn't very helpful.
Hopefully, the attached templates will be valuable. The goal is to learn how to create menus using LemonUI (not NativeUI) and progress from basic vanilla menus (the ones "we've all seen before") to whatever your imagination can conjure. Note: the banner image in the demo is from GTA V to avoid installing textures.
For new programmers, please stop using NativeUI and SHVDN2. They are no longer supported. For graphic artists, show us your best work.
Features
1. Fully working customizable c# script
2. How to add menus, submenus, string lists, integer lists, checkboxes, sliders
3. How to remove menu sounds
4. How to change the color of menu backgrounds
5. How to add banner images
6. How to remove the header section
7. How to remove the back and select buttons - do we really need these?
8. How to change fonts
9. And more...
Requirements
SHVDN3 (latest nightly build, I guess)
LemonUI (latest download)
Visual Studio or C# Compiler. Visual Studio has a free version.
Basic Programming skills, curiosity, and desire to learn (DIY mentality).
Credits:
The usual gang: Lemon, Kagikn, Crosire, Mr. Blade etc.
First Upload: November 11, 2024 Last Updated: November 11, 2024
- Map Editor
- Support Config