Fix walkableClimb, maxWalkableAngle maxAngle height.
This commit is contained in:
@@ -573,7 +573,7 @@ namespace MMAP
|
|||||||
config.walkableHeight = m_bigBaseUnit ? 3 : 6;
|
config.walkableHeight = m_bigBaseUnit ? 3 : 6;
|
||||||
// a value >= 3|6 allows npcs to walk over some fences
|
// a value >= 3|6 allows npcs to walk over some fences
|
||||||
// a value >= 4|8 allows npcs to walk over all 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.minRegionArea = rcSqr(60);
|
||||||
config.mergeRegionArea = rcSqr(50);
|
config.mergeRegionArea = rcSqr(50);
|
||||||
config.maxSimplificationError = 1.8f; // eliminates most jagged edges (tiny polygons)
|
config.maxSimplificationError = 1.8f; // eliminates most jagged edges (tiny polygons)
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ namespace MMAP
|
|||||||
class MapBuilder
|
class MapBuilder
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MapBuilder(float maxWalkableAngle = 55.f,
|
MapBuilder(float maxWalkableAngle = 70.f,
|
||||||
bool skipLiquid = false,
|
bool skipLiquid = false,
|
||||||
bool skipContinents = false,
|
bool skipContinents = false,
|
||||||
bool skipJunkMaps = true,
|
bool skipJunkMaps = true,
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ int finish(const char* message, int returnValue)
|
|||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
int threads = 3, mapnum = -1;
|
int threads = 3, mapnum = -1;
|
||||||
float maxAngle = 55.0f;
|
float maxAngle = 70.0f;
|
||||||
int tileX = -1, tileY = -1;
|
int tileX = -1, tileY = -1;
|
||||||
bool skipLiquid = false,
|
bool skipLiquid = false,
|
||||||
skipContinents = false,
|
skipContinents = false,
|
||||||
|
|||||||
Reference in New Issue
Block a user