Gonna generate them in my brain wait a sec...

Posts
-
RE: New forum ui once again fucked up the design
@deletethis Most of the themes do not make any difference between read and not read.
-
RE: Desync issue
warning: Error running lua script: Attempting to lookup the RType for class Moho::Unit before it is registered.
This mustn't happen. Can you enable debugger to see more info about dlls loaded? -
RE: UI Revolution Project
@woofiewilly thanks for review! I'm glad that someone is still interested in this stuff. About IEL:
- Yeah, acu doesnt have any icons rn
- Idle factories are highlighted with green triangle
- Those are textures, you can't change shape and color in the game, however you can try to use your own replacing in mod textures, you can use pngs, but i recommend using dds which are faster to load by the game.
-
RE: UI Revolution Project
Updated Additional Orders Extension:
- you can now bind keys to some ACU and SACU enhancements
- added keybind for OC / Repeat build
- you can now bind keys to some ACU and SACU enhancements
-
RE: UI Revolution Project
Glad to see your attention, I would like to look at them too, but rn I'm preparing something interesting
-
RE: Actions Grid Panel
How to make your own extension
Extension starts with specifying inmod_info.lua
that mod has anything for actions grid panel to work with.AGP = "ExampleHandler"
In mod’s folder there must be a file with the same name containing a class with the same name.
ExampleHandler.lua
:--Generic imports for interfaces local ISelectionHandler = import("/mods/AGP/modules/ISelectionHandler.lua").ISelectionHandler local IItemComponent = import("/mods/AGP/modules/IItemComponent.lua").IItemComponent ---Handler class must implement ISelectionHandler interface to function. ---It also must have a dedicated component class implementing IItemComponent. ---@class ExampleHandler : ISelectionHandler ExampleHandler = Class(ISelectionHandler) { --Name of the extension displayed in extensions selector Name = "Example extension", --Description of the extension displayed in extensions selector Description = "Extension for testing purposes", --Decides whether extension is enabled by default of not Enabled = false, --called when player’s selection is changed. Here is a logic for providing grid with actions of this extension in particular. These actions then are processed by component below. ---@param self ExampleHandler ---@param selection UserUnit[] ---@return any[]? OnSelectionChanged = function(self, selection) end, --component class that receives action provided by handler. Since each item in grid has multiple components at once it is important to ensure that active one is not interrupted by disabled ones. Here is interface for it. ---@class ExampleComponent : IItemComponent ComponentClass = Class(IItemComponent) { ---Called when component is bond to an item. Initialize your controls and logic here. ---@param self ExampleComponent ---@param item Item Create = function(self, item) end, ---Called when grid item receives an event ---@param self ExampleComponent ---@param item Item ---@param event KeyEvent HandleEvent = function(self, item, event) end, ---Called when item is activated with this component. Here you show and enable components controls and logic ---@param self ExampleComponent ---@param item Item Enable = function(self, item) end, --called when component receives action it is bond to ---@param self ExampleComponent ---@param action string SetAction = function(self, action) end, ---Called when item is changing an event handler. Here you hide and disable controls of the component ---@param self ExampleComponent ---@param item Item Disable = function(self, item) end, ---Called when component is being destroyed. Clear all fields you had and destroy controls. ---@param self ExampleComponent Destroy = function(self) end, }, }
-
RE: Actions Grid Panel
Hello! @czqawa mod is only a base for other mods to expand it. Right now there are Factory Templates and Enhancements extensions, plus one for debugging the game. I'm not planning adding more just yet, because I'm busy with other project.
-
RE: 4z0t's ScoreBoard
@sleepeater yeah, noticed that too, but I have some solutions for it