Joined: 22 Feb 2006, 01:02 Location: cheap kitchen
Just always using 100% of range would probally cause all sort of problems. eg when the con gets bumped away slightly.
Additionally tag could be added to control how much closer the builder gets.
well, that would be needed for everything where range is involved. How close should a unit get to repair? If the repairee moves away, when you should it start to follow? You do not want it to start/stop all the time either. Then weapons, how close should you get to fire? Would need many tags and it would still "fail" in some situations, so it isnt really trivial to find a "works for all mods" thing. Maybe lua it with Spring.SetUnitMoveGoal or something.
Joined: 17 Nov 2005, 02:43 Location: Raegquitting Spring on 04/24/12
Imo, we need better ways to control it built into the engine. If people want to lua on top of that, then that is fine, but these are things that should be within the control of the gamedev from the get-go
How about adding a smattering of logic? When ordered to build, if in range, just start building. If you must move to get in range, then go ahead and get closer than max build range. Preferably start building once at max range, and continue to close the distance while building.
It has always bothered me a bit that construction units can't walk and nano at the same time.
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum