ZeroK-RTS / Zero-K

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

Force fire/target on the ground move with unit #3963

Open ghost opened 4 years ago

ghost commented 4 years ago

A unit state, would be most useful for tremor, badger and other long range units The unit's targeting point (force target on the ground) would not be canceled by issuing a move command, instead the targeting would move with the unit and remain in the same direction (unit turns but targeting still faces north) . Allows for badger minefields with patrol, and saturation artillery for units like envoy sling merlin. Tremor would be able to have continued fire while moving.

GoogleFrog commented 4 years ago

Translated:

This is a feature request for a unit state that would be useful for units like Tremor and Badger. It would cause Force Fire commands on the ground to be replaced with a Set Target command when the unit moves, much like Force Fire with unit targets works currently. In addition, the Set Target command would move around as the unit moves so that it keeps its relative position from the unit.

GoogleFrog commented 4 years ago

Moving the set target command as the unit moves does not seem like good default behaviour. I would prefer a modkey combo that allows Set Target commands to be issued on the ground such that they move around relative to the unit.