Pathfinding, question to devs - Page 3

Pathfinding, question to devs

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Pathfinding, question to devs

Post by AF »

I remember there being complaints early on in Springs history about this, namely that there was a yardmap item specifically for this situation that let units walk through but prevented construction so that units could get themselves out of the factory.

Spring however only has blocked and unblocked.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Pathfinding, question to devs

Post by smoth »

there was no such item. only a call "bugger off" to get the units to leave.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Pathfinding, question to devs

Post by smoth »

af:
AF wrote:e.g:
AF wrote:e.g.2
smoth wrote:widget/gadget?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Pathfinding, question to devs

Post by Forboding Angel »

Well, you unblock it when the factory is in it's opened state, block it when the factory is in it's closed state. It's not that hard.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Pathfinding, question to devs

Post by AF »

When the factory is in its opened state one can build structures inside it.

That is the bug. Gagdet/widget fixes just swap this bug for a whole new bug:

The building placer says I can place structures inside factories, even though this is not possible

So to test out your claim, i fired up OTA, classic cavedog build. no mods, just battletactics, the 3.1 patch and core contingency.

Result:

I could not replicate this bug in OTA, infact OTA wouldnt even let me place construction orders underneath other mobile units like spring does. Rather than making the builder move out of the way it just doesnt let you place the order.

Remember units being pushed out of the way for build orders is not an OTA behaviour, its a reaction by SJ to help improve spring pathfinding that was done within the first few months after the spring engine went public.

To test this put a construction order for an llt next to a mobile unit, then quickly move that unit over the footprint of the to be built building. When the commander arrives at the scene, you get a message waiting for the site to clear, and then it eventually fails.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Pathfinding, question to devs

Post by AF »

Here is some photographic evidence:
Attachments
ta3.jpg
ta3.jpg (43.73 KiB) Viewed 1395 times
ta2.jpg
(134.57 KiB) Downloaded 2 times
ta1.jpg
(79.6 KiB) Downloaded 2 times
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Pathfinding, question to devs

Post by AF »

last one, this should well and truly kill off the myth that TA had the bug if anything:
Attachments
ta4.jpg
ta4.jpg (89.81 KiB) Viewed 1394 times
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Pathfinding, question to devs

Post by lurker »

Okay, enough talking about that not-pathfinding bug in this thread.
User avatar
Peet
Malcontent
Posts: 4383
Joined: 27 Feb 2006, 22:04

Re: Pathfinding, question to devs

Post by Peet »

Stop being so hypocritical and ignorant, lurker, these are obviously pathfinding issues.
Post Reply

Return to “Engine”