Fix walkableClimb, maxWalkableAngle maxAngle height.
This commit is contained in:
parent
1b9b901817
commit
32fe67d32c
3 changed files with 3 additions and 3 deletions
|
|
@ -573,7 +573,7 @@ namespace MMAP
|
|||
config.walkableHeight = m_bigBaseUnit ? 3 : 6;
|
||||
// a value >= 3|6 allows npcs to walk over some fences
|
||||
// a value >= 4|8 allows npcs to walk over all fences
|
||||
config.walkableClimb = m_bigBaseUnit ? 2 : 4;
|
||||
config.walkableClimb = m_bigBaseUnit ? 4 : 8;
|
||||
config.minRegionArea = rcSqr(60);
|
||||
config.mergeRegionArea = rcSqr(50);
|
||||
config.maxSimplificationError = 1.8f; // eliminates most jagged edges (tiny polygons)
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ namespace MMAP
|
|||
class MapBuilder
|
||||
{
|
||||
public:
|
||||
MapBuilder(float maxWalkableAngle = 55.f,
|
||||
MapBuilder(float maxWalkableAngle = 70.f,
|
||||
bool skipLiquid = false,
|
||||
bool skipContinents = false,
|
||||
bool skipJunkMaps = true,
|
||||
|
|
|
|||
|
|
@ -231,7 +231,7 @@ int finish(const char* message, int returnValue)
|
|||
int main(int argc, char** argv)
|
||||
{
|
||||
int threads = 3, mapnum = -1;
|
||||
float maxAngle = 55.0f;
|
||||
float maxAngle = 70.0f;
|
||||
int tileX = -1, tileY = -1;
|
||||
bool skipLiquid = false,
|
||||
skipContinents = false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue