godot-open-rts icon indicating copy to clipboard operation
godot-open-rts copied to clipboard

suggestion: inform units on receiving hit

Open jugglingjsons opened this issue 1 year ago • 2 comments
trafficstars

I was toying this idea as an alternative to handle https://github.com/lampe-games/godot-open-rts/issues/95 & make the actors more responsive to each other. I was not sold on, units auto attacking in sight range, seems a bit too offensive to me, so here is the idea for a Defend Your Friend doctrine.

To be honest I am not sure if this does anything right now, I will try to test it out soon ™️

Right now it should act as a defensive reaction, where units support each other, but could also be added to the offensive stances.

If you like it, the do adjust would be the following:

  • [ ] adjust the signal for offensive stance
  • [ ] don't set auxiliary target on workers
  • [ ] possibly filter signals by team

jugglingjsons avatar Jan 05 '24 17:01 jugglingjsons

The idea looks interesting - I've been thinking about a similar thing, but simplified. As for implementation, that's a secondary thing. Anyway, for starters, I think it would be nice to review how well-known RTSes handle that. I'll try checking Warcraft, Starcraft, and AoE.

Scony avatar Jan 06 '24 17:01 Scony

I also like a defensive stance more than an aggressive tbh :D Aggressive just seemed easier to implement, hence #95. In Age of Empires at least you can choose the stance of each unit (Aggressive = #95, Passive = how it was before, and defensive). Having the option to switch between different stances would be perfect obviously

berndrakell avatar Jan 08 '24 21:01 berndrakell