ZeroK-RTS / Zero-K

Open source RTS game running on the Spring/Recoil engine
https://zero-k.info
GNU General Public License v2.0
683 stars 204 forks source link

Consider smartcast #4937

Closed sprunk closed 1 year ago

sprunk commented 1 year ago

Sometimes when microing a commander or a strider you might want to have more responsive dota-style controls for abilities such as manual fire or jump (or maybe even regular commands like attack for Placeholders/Lobsters/Tacnukes, idk), where the command is given under the current cursor position when the key is pressed down. This is similar to the existing D button on Swifts and bombs. Ideally you'd retain the usual controls somehow because regular units usually still want line-dragging. Perhaps just hold a modifier key, but that would slow it down and introduce a lot of confusion because the mod key would meansomething different when selecting the command vs when giving it. This task mostly involves coming up with a design because the implementation is fairly easy afterwards.

GoogleFrog commented 1 year ago

I am not so sure about this, and I use smart cast in dota. As with anything though it can be added as an option in settings.

sprunk commented 1 year ago

I think the question would be what to even add.

Perhaps the thing to do would be to wait until somebody asks for the feature and base design off that. Mostly I just saw that somebody already made this for BAR so I assume the audience is there and it would be easy to steal the implementation if there was a design. BAR DGun is admittedly a lot more prominent than our manualfire weapons but on the other hand we have units with multiple abilities and arguably that is where smartcast really shines (well, maybe we just have jumpycom? but also perhaps crazy mods like FW would be willing to experiment if there were good hotkeys, or maybe somebody implements a non-crappy zkdota again).

sprunk commented 1 year ago

Waiting for more demand and/or a nontrivial BAR implementation seems like a decent idea and the ticket will still exist as a reference.