|
|
1 |
[quote]Adding reclaim/repair/ressurect should be easy in theory, but since the widget draws its ghosts by looking up the building models that leaves the question of how to properly draw ghosts for those commands. Adding them in without changing the drawing code just sounds like a bad idea to me, although I guess I could try that anyway. [/quote]
|
|
|
2 |
\n
|
1 |
@aeonios, good news!
|
3 |
@aeonios, good news!
|
2 |
I found old widget that demo "AREA COMMAND" that require no complex coding:
|
4 |
I found old widget that demo "AREA COMMAND" that require no complex coding:
|
3 |
https://github.com/ZeroK-RTS/Zero-K/blob/4c65c1246586c509f1654584867e378cf0f7ea64/LuaUI/Widgets/cmd_area_mex.lua
|
5 |
https://github.com/ZeroK-RTS/Zero-K/blob/4c65c1246586c509f1654584867e378cf0f7ea64/LuaUI/Widgets/cmd_area_mex.lua
|
4 |
\n
|
6 |
\n
|
5 |
Command added:
|
7 |
Command added:
|
6 |
https://github.com/ZeroK-RTS/Zero-K/blob/4c65c1246586c509f1654584867e378cf0f7ea64/LuaUI/Widgets/cmd_area_mex.lua#L197-L220
|
8 |
https://github.com/ZeroK-RTS/Zero-K/blob/4c65c1246586c509f1654584867e378cf0f7ea64/LuaUI/Widgets/cmd_area_mex.lua#L197-L220
|
7 |
\n
|
9 |
\n
|
8 |
Command read:
|
10 |
Command read:
|
9 |
https://github.com/ZeroK-RTS/Zero-K/blob/4c65c1246586c509f1654584867e378cf0f7ea64/LuaUI/Widgets/cmd_area_mex.lua#L88-L90
|
11 |
https://github.com/ZeroK-RTS/Zero-K/blob/4c65c1246586c509f1654584867e378cf0f7ea64/LuaUI/Widgets/cmd_area_mex.lua#L88-L90
|
10 |
\n
|
12 |
\n
|
11 |
HOPEFULLY YOU READ THIS BEFORE YOU TRIED THE HARD WAY!
|
13 |
HOPEFULLY YOU READ THIS BEFORE YOU TRIED THE HARD WAY!
|