noggit3
noggit3 copied to clipboard
Script Brushes: LUA Lamer's Wishlist
trafficstars
Transferred from https://github.com/tswow/noggit3/issues/42 Originally by https://github.com/gratural
Ihm, good day! Or night! Have few small propositions about adding script fuctionaly, mostly regarding by tool usability. I sorting they on importance, by my vision.
- Hotkey for script menu. Sometimes, when change variables in script panel, Noggit are lost window focus and switch to one of other editor mode. My suggestion - tilda key ("~") she are convenient and unused.
- Timer or wait() function. Еvent "on_click" not always are comfortly and "on_click_hold" can overload Noggit by uncareful using
- New tag "group" for script setting panel. Which grouping few paramets in one line for space saving. Takes as argument upon 2-3 previosly declared tags..
- Function for temporary chunk\vertices coloring. As example for colorize chunks wich are cleared AreaId's by "clear" script. (Shader color + wait func?)
(?) And if make a scripting menu unpined? Like in Tile mode (U)?
(my original response)
- I think this can be added fairly easily.
- I'm not sure about the use cases for this, do you have an example where this would be useful? Timers always have issues about where they should be fired, I guess it'd be possible to just have an event that's fired from the same place as the other events so nothing too weird would happen. Lua can't handle worker threads, and I would try to avoid one regardless.
- I'm planning to do this in the future, would probably be something like a
row_mode/column_modetoggle on the brush itself. - I have code for chunk coloring, but vertex coloring is more difficult. I'm not very good at rendering code.