Posted: Fri Feb 26, 2016 4:54 am Post subject:
Poor pathfinding ruining campaigns
On maps containing narrow passages (e.g. soviet campaign 2,3, Nod mission "Eradicating the Red"), packs of units easily get stuck on bridges or in narrow passages, the next instance of the corresponding teamtype tailing them shortly after, the line grows...
This usually makes the campaign easier: in "Eradicating the red", the northwest route to my base got blocked almost since the mission start, so first I took out all six factories w/ termites, then I accurately prepared an invasion to the central soviet base, engies, stealth-gen, tech-up for soviets (hello mammoths, hello second nuke, hello v2s) and then ("kaboom? kabooom?") the task became easier.
I don't even know what could be done to prevent this, as pathfinding is not something you can easily replace or change. At the very least, perhaps, the bridges can be made bigger? QUICK_EDIT
I haven't seen it personally on Creeping Destruction missions 2 and 3, and those are fairly short missions anyway so I doubt it's a serious issue there.
I got it on Eradicating the Red as well, although it wasn't that severe (some few dozen tanks got stuck on some forests, but I still got swarmed with plenty of units - and the map ran at normal speed). I guess I could try to remove some trees and other obstacles on the map to widen the passages and make the map lighter for the pathfinding algorithm. _________________ CnCNet Client | CnCNet TS patches | More Quality-of-Life Improvements for RA Remastered
Are these the default AI attack scripts or some custom ones made in the map?
Because the units getting stuck usually happens if a hit AI unit retreats and then moves against the flow of attacking units,
it could help to have them follow a Suicide taskforce until near the players base and then switch to the more clever hit&run behaviour.
This way they wouldn't try to retreat when inside the narrow passage. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Is there an invisible barrier to the left?
Those mammoths facing south, with turrets facing south east seem to be blocked there without anything visible in their way.
In TD it helped a lot to give every 200 timeunits an "All to Hunt" command on all AI units on the map. It made them all move towards the player and thus dissolve any blocked, standing or sleeping units.
Maybe something like this could be done here too. A general Hunt command using the highest priority and fired every few hundred frames. _________________ SHP Artist of Twisted Insurrection: Nod buildings
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum