- Lua 86.4%
- GLSL 12.6%
- CSS 0.7%
- HTML 0.3%
| chmod777_includes | remove precision statements. | |
| .gitignore | ingore all of my new html css stuff for now | |
| fbo_example.lua | formatting | |
| gui_advplayerlist_mascot_GL4.lua | Update image directory. | |
| html_css_renderer.lua | Rename :delete() to :Delete() | |
| LICENSE | Initial commit | |
| README.md | Update README.md | |
| super_mascot_GL4.lua | Add drawgenesis callin for commander mascot to set uniforms once. | |
chmod777's Beyond All Reason Widgets
Install Instructions
Download one of the zip files from
- this page for current releases
- on the releases page to the right for all releases
- the
<> codebutton then 'download zip' for the most upto date
Extract all of the contents of the zip file into your Widgets directory.
In game hit F11, scroll to the bottom of the widgets list and enable your new widgets.
Super Mascot Collection
Tired of the same three cats? We've got commanders, blobs, and a dogo or add your own images to have as mascots. Use with
/mascot commander
/mascot blobs
/mascot my_cool_image
where my_cool_image is the file name of a png not including .png in the folder /LuaUI/Widgets/chmod777_includes/images
html_css_renderer
WIP don't use
Stand Alone Widgets
gui_advplayerlist_mascot_GL4
This is nearly the same as the in game mascots but it uses modern OpenGL for rendering and features a dog(no animation). It has one neat feature which is that it rains confetti when a decoy commander is destroyed. Check the github gist page for it or the discord thread on it.
Examples
fbo
A small example on using a framebuffer object to render to a texture.
Utilities
utilities_GL4
Two helper objects for creating FBOs and Quads that use VBOs/VAOs.
DrawUnitCustom_GL4
Helper for managing and instancing unit models. Bring your own shader.