npruehs / ue4-rts

Real-time strategy plugin and showcase for Unreal Engine 4.
MIT License
747 stars 151 forks source link

Custom Orders #122

Open npruehs opened 4 years ago

npruehs commented 4 years ago

Allow users to create new custom orders with behavior trees.

This is a breaking change and thus requires an increase of the major version.

JernejHabjan commented 4 years ago

How would attack - move order be implemented? Does this belong under custom orders?

npruehs commented 4 years ago

Yes, definitely. With A Year Of Rain, we found that attack-move is an incredibly complex order (more than meets the yet). Most notably, decisions like when to return from an acquired enemy (and where to) are not easily made and implemented, and we had various bugs with units ending up in locations where they shouldn't (especially when repeatedly disengaging and encountering enemies on the way).