Aller au contenu

Photo

failed to generate optimized physics(solved)


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

#1
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
that error message appears when i'm trying to generate pathfinding data. i have a starting point.

Modifié par gordonbrown82, 08 mai 2010 - 07:13 .


#2
gordonbrown82

gordonbrown82
  • Members
  • 544 messages
the pathfinding generation only works when i put the start point in a square that's probably about the size of the standard size that you get when making an exterior level. how do i increase this area?

#3
Kilrogg_

Kilrogg_
  • Members
  • 296 messages
You need to redefine the exportable area of your level.

Click the Exportable Area Properties button (where you adjust atmosphere settings) and click Define Area. Drag the green box over your entire level.

Your defined area is essentially the active part of your level. Terrain outside of it is discarded once exported.

Modifié par Kilrogg_, 08 mai 2010 - 02:05 .


#4
Waffl3s

Waffl3s
  • Members
  • 6 messages
I still get the failed to generate optimized physics message, along with a couple others whenever I try to do my pathfinding.



E: 15:17:54 - Failed to generate pathfinding data

E: 15:17:54 - Failed to write GFF_ENV_AREA_PATHFINDING_COSTS

E: 15:17:54 - Failed to write GFF_ENV_AREA_PATHFINDING_VISINFO

E: 15:17:54 - Failed to generate optimized physics (are path nodes generated correctly?)

E: 15:17:54 - Failed to create area navigation info. Check your engine log file in My Documents\\BioWare\\Dragon Age\\Toolset\\logs



I've done the Define Area part, but it still errors out.



Any ideas?


#5
indio

indio
  • Members
  • 204 messages
I had this problem a day or two ago. I solved it by first redefining the area, renewing the start location position, saving and reloading the toolset, then generating pathfinding.

#6
ponozsticka

ponozsticka
  • Members
  • 453 messages
there can ocassionaly be error with generating pathfindings, because of models used.

For example, I encountered this problem when placing floor (the name I dont remember) into room level pathfindings were not generated properly (no green dots and error msg) however, when I changed floor it got solved.




#7
MerAnne

MerAnne
  • Members
  • 1 170 messages

For those who have had the frustration of this issue - one of the floor models that is a problem is

cav_floor03



#8
DarthParametric

DarthParametric
  • Members
  • 1 409 messages
Interestingly the collision volume is set to non-walkable for cav_floor03, which doesn't seem right. However, the model otherwise appears fine, so it shouldn't cause errors when trying to generate pathfinding, theoretically, you just won't get any walkable area on those 03 tiles. A quick test I did in the toolset worked as expected and didn't give any of the above-mentioned physics errors:

DA1_cav_floor03_Test_TH.jpg

#9
MerAnne

MerAnne
  • Members
  • 1 170 messages

There are no physics errors, but it also doesn't also generate pathfinding.  You can still walk across it with the keyboard, but not with the mouse.

 

This discussion thread was the closest that I could find to the problem that I was having :)



#10
DarthParametric

DarthParametric
  • Members
  • 1 409 messages
Yeah, like I said, it's because the collision volume is set to non-walkable instead of walkable. Presumably that was a mistake (and curious it didn't get picked up in Bioware's own levels). It was raised many moons ago - http://forum.bioware...oor-bewalkable/ - but we didn't have a lot in the way of model import/export tools at that juncture to diagnose the root problem.

Anyway, here's a fixed version of the model:

DA1_cav_floor03_Fixed_TH.jpg

http://dpmods.wheb.o...ed_Collision.7z

Just extract it into your My Documents\BioWare\Dragon Age\packages\core\override\ folder. The toolset will generate new mesh chunks in any levels you export, so you don't need to put it in your Addin directory or anything.
  • MerAnne aime ceci

#11
MerAnne

MerAnne
  • Members
  • 1 170 messages

Thank you!