Pathfinding/Collisiondetection of Ships vs. Underwater
Moderator: Moderators
Pathfinding/Collisiondetection of Ships vs. Underwater
Is it generally not possible Ships float over underwater-extractors and submarines or is it just for big ships?
Because sometimes it's really ridicolous like ships behave even water is deep enough and it should be possible for them to float over an underwater object.
Additional pathfinding of large ships is a pain, ever seen a Millenium stucked in the shipyard or trying to sneak around a underwater extractor? :)
Because sometimes it's really ridicolous like ships behave even water is deep enough and it should be possible for them to float over an underwater object.
Additional pathfinding of large ships is a pain, ever seen a Millenium stucked in the shipyard or trying to sneak around a underwater extractor? :)
Going a bit offtopic:
I think all the factories suck in spring bigtime, when I first played it a couple of months ago it was incomprehensible why would the engine and mods have factories where units routinely get stuck in. They often even stuck permanently, and you have to reclaim them.
There are workarounds that experienced people can use (shift-move south), but imo there needs to be something drastic done to remove the fundamental problem. One would be that factories would be completely convex shaped (so you can't get stuck in a corner / dead end) and build the units pretty far away from the factory.
I think all the factories suck in spring bigtime, when I first played it a couple of months ago it was incomprehensible why would the engine and mods have factories where units routinely get stuck in. They often even stuck permanently, and you have to reclaim them.
There are workarounds that experienced people can use (shift-move south), but imo there needs to be something drastic done to remove the fundamental problem. One would be that factories would be completely convex shaped (so you can't get stuck in a corner / dead end) and build the units pretty far away from the factory.
Tobi wrote:It didn't change tho (except for improvements). So either other spring code is at fault (thinking of collision detection), or it's just a myth.Caydr wrote:I never saw this bug before 0.7. The pathing code seems to be borked ever since the first cross-platform build.
its answer a)

test it with the adv shipyard ships (in AA at least) - they seem to get stuck the easiest since they try to go sideways to get out...especialy the bigger ones...not sure if the waypoints affect this, though I'd assume having it waypointed to go east/west wouldn't help...
I am backing caydr on this. It has been this way since the port. Prior pathing was a lot better. It has been a while but I do distinctly remeber saying something was wrong. I wish I could remember what specifically it was though.Caydr wrote:I never saw this bug before 0.7. The pathing code seems to be borked ever since the first cross-platform build.
Someone really has to come up with a case where pathfinding doesn't work... Give a location, mod, and units to build to get the pathfinding screwed up.
The thing is that I have build difficult configurations of factories next to eachother to make it hard for the pathfinding (in XTA), but they all worked fine for me.
The thing is that I have build difficult configurations of factories next to eachother to make it hard for the pathfinding (in XTA), but they all worked fine for me.
- PauloMorfeo
- Posts: 2004
- Joined: 15 Dec 2004, 20:53
Ain't sure. Either the mod TLL or Xect vs Mynn has a navy filled with boats that have a non-square base, rectangular instead. I think it was TLL (The Lost Legacy).jcnossen wrote:Someone really has to come up with a case where pathfinding doesn't work... ...
Play with it for a while in some water map. The amount of con-boats getting stuck everywhere is endless. Namedly, boats getting stuck in piles of tidal generators (whatever they are called).
If that doesn't hapens to you and someone else confirms it, ..
Well everything gets stuck, yesterday I built 3 orcones and each single one got stuck into factory! (I had to reclaim factory to rescue it).
It happend probably because I was using ctrl+w to select all units and sent them north - including orcone that was being built.
I think that units getting stuck in factory bug is definitely related to giving unfinished unit(or factory) move command. (If you give it move command to some weird direction it will often get stuck in factory).
And regarding ships .. argh.. const. subs getting stuck between underwater fusions, big ships that can't move out from port because of subs or underwater structures..
It happend probably because I was using ctrl+w to select all units and sent them north - including orcone that was being built.
I think that units getting stuck in factory bug is definitely related to giving unfinished unit(or factory) move command. (If you give it move command to some weird direction it will often get stuck in factory).
And regarding ships .. argh.. const. subs getting stuck between underwater fusions, big ships that can't move out from port because of subs or underwater structures..
- PauloMorfeo
- Posts: 2004
- Joined: 15 Dec 2004, 20:53