Jump to content

A suggestion about units stacking on trees when on formation


dimensen
 Share

Recommended Posts

I find it really hard to move 100 soldiers when they are on formation because they always get stuck on almost anything and I think it is quite a bug.I was thinking of a way to prevent this and what I came up to is a code where it forces the units to change formation to none if there is something in their way. For Example, if Distance between units and obstacle < 5 mm then change formation to none, else change formation to the chosen one. This would make the units pass through trees and then change the formation to the one you had. The code will be more complicated than this, but it should be able to solve this issue.

Link to comment
Share on other sites

That issue is being worked on it is caused by the pathfinder code which is that part the decides where each units goes so it also has to be fast so accuracy gets sacrificed in attempt of speed still lots of work to do and formations are very tricky to get right.

Enjoy the Choice :)

Edited by Loki1950
  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...