You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The filter gets changed so that it excludes rezzers.
Advantages of changing documentation: It is simpler and easier to do. Current in-game behaviour would not be changed. Can still have a filter that includes both cons and rezzers.
Advantage of rezzers losing builder flag: It makes sense, since rezzers don't actually build anything.
Advantage of changing the filter: Filter would sorta make more sense, while rezzers get to keep their builder flags.
Any further advantages/disadvantages?
I am leaning towards just changing the documentation. Simplest, easiest, doesn't change any current ingame behaviors. I will try to apply that change if no-one has any objections within a week or so.
Expected Behaviour
The documentation aligns with ingame behaviour.
Actual Behaviour
It doesn't.
Reproduction steps
Apply gridkeys key preset. Build a rezbot and a con and have them idle. Note that ctrl-tab cycles through both of them. Ctrl-tab bind:
bind Ctrl+tab select AllMap+_Builder_Idle+_ClearSelection_SelectOne+
Other
No response
The text was updated successfully, but these errors were encountered:
builder = true has to stay in the unitdef. Without it, no reclaiming, repairing or rezzing can take place.
Documentation change sounds like the way to go.
Description
The documentation for the Builder selection filter says:
https://beyond-all-reason.github.io/spring/articles/select-command/#builder
https://github.com/beyond-all-reason/spring/blob/ad559f63f963019d6f1c05aa8c0ed7d3ec905aff/doc/site/articles/select-command.markdown?plain=1#L61C3-L61C127
The actual filter looks for "builder = true" in the UnitDefs, and rezzers have that flag.
https://github.com/beyond-all-reason/spring/blob/ad559f63f963019d6f1c05aa8c0ed7d3ec905aff/rts/Game/UI/SelectionKeyHandler.cpp#L114
https://github.com/beyond-all-reason/spring/blob/ad559f63f963019d6f1c05aa8c0ed7d3ec905aff/rts/Sim/Units/UnitDef.h#L63
Beyond-All-Reason/units/CorBots/cornecro.lua
Line 8 in 70ea462
Possible solutions:
Advantages of changing documentation: It is simpler and easier to do. Current in-game behaviour would not be changed. Can still have a filter that includes both cons and rezzers.
Advantage of rezzers losing builder flag: It makes sense, since rezzers don't actually build anything.
Advantage of changing the filter: Filter would sorta make more sense, while rezzers get to keep their builder flags.
Any further advantages/disadvantages?
I am leaning towards just changing the documentation. Simplest, easiest, doesn't change any current ingame behaviors. I will try to apply that change if no-one has any objections within a week or so.
Expected Behaviour
The documentation aligns with ingame behaviour.
Actual Behaviour
It doesn't.
Reproduction steps
Apply gridkeys key preset. Build a rezbot and a con and have them idle. Note that ctrl-tab cycles through both of them. Ctrl-tab bind:
bind Ctrl+tab select AllMap+_Builder_Idle+_ClearSelection_SelectOne+
Other
No response
The text was updated successfully, but these errors were encountered: