Aller au contenu

Photo

Problem with generating pathfinding in a level


  • Veuillez vous connecter pour répondre
10 réponses à ce sujet

#1
PavelNovotny

PavelNovotny
  • Members
  • 344 messages
I have an exterior terrain level I am working on and I am trying to generate pathfinding. I have my level set up in the exportable area list and it's selected. I also have a starting point placed in my level and referenced in the exportable area properties box.

Whenever I click the Generate Pthfinding for Active Area button I get an error:

E: 21:42:08 - Failed to generate pathfinding data
E: 21:42:08 - You must specify a start location in order to generate pathfinding.

Is a starting location different from a starting point? I'm in the level editor, so the only option I see is to place a starting point.

Any suggestions?

Thanks!

#2
indio

indio
  • Members
  • 204 messages
Click the red arrow icon and then click somewhere you can walk in the level.

#3
PavelNovotny

PavelNovotny
  • Members
  • 344 messages
Just tried that and I still get the error message. I tried clicking on the arrow then another location in the level and then clicked the pathfinding button. Also tried clicking pathfinding button first and then the arrow then a place on the level.



Is there something else I am supposed to do?

#4
Languard

Languard
  • Members
  • 126 messages
I have found that if I try to place the start point before I create the export area, pathfinding fails. Also make sure to define the area and drag the green square to surround all walkable area. Nothing in the yellow or red zone will be walkable.

#5
PavelNovotny

PavelNovotny
  • Members
  • 344 messages
The info about the green box was very helpful - thanks!



I tried placing the start point after creating the export area (and resizing the green box to include all walkable area), but it still didn't work.

#6
Languard

Languard
  • Members
  • 126 messages
hmm, oddish. Did you rename the start point? What I normaly do is create export area -> place start point -> copy the auto-generated name -> paste into the export area property. I've never had any luck with renaming it, and since the name doesn't matter, it's not something I've messed around with.

#7
PavelNovotny

PavelNovotny
  • Members
  • 344 messages
That was the problem. I had been renaming the starting point. As soon as I put a new starting point in and used the original name it worked.



Thanks for the help!

#8
Ekscom

Ekscom
  • Members
  • 11 messages
I'm glad it worked out for you, but it must have worked out for a different reason.

I have a custom name startpoint and my pathfinding still worked.



no idea...

#9
KalDurenik

KalDurenik
  • Members
  • 574 messages
i used to change the name on the starting point and now i just copied the one that it "spawned" with... It work now.

#10
Rogue World

Rogue World
  • Members
  • 46 messages

Languard wrote...

hmm, oddish. Did you rename the start point? What I normaly do is create export area -> place start point -> copy the auto-generated name -> paste into the export area property. I've never had any luck with renaming it, and since the name doesn't matter, it's not something I've messed around with.


This worked for me too... My mistake was re-naming the start point.

*sigh*

#11
Hammer Fang

Hammer Fang
  • Members
  • 78 messages
the start point is auto named the export area PLUS it's ID tag, so if your area is named 'Test', your start point will be named something like 'Test1234'. In the area properties the name of the start point that you enter is '1234' with out the 'Test'