Updated nav meshes for relocation

* All nav meshes now have hints to help the commander relocate in good spots and build their base inside a hive appropriately
* Updated the nav editor to hide "illusionary" surfaces from other tools where they get in the way
This commit is contained in:
RGreenlees 2024-05-23 16:19:55 +01:00 committed by pierow
parent e17fba76ea
commit 8fef7241a0
21 changed files with 4 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1172,7 +1172,7 @@ bool AICOMM_CheckForNextBuildAction(AvHAIPlayer* pBot)
if (!TF.IsValid())
{
Vector BuildLocation = AITAC_GetRandomBuildHintInLocation(STRUCTURE_MARINE_TURRETFACTORY, CommChair->v.origin, UTIL_MetresToGoldSrcUnits(10.0f));
Vector BuildLocation = AITAC_GetRandomBuildHintInLocation(STRUCTURE_MARINE_TURRETFACTORY, CommChair->v.origin, UTIL_MetresToGoldSrcUnits(20.0f));
if (!vIsZero(BuildLocation))
{
@ -1247,7 +1247,7 @@ bool AICOMM_CheckForNextBuildAction(AvHAIPlayer* pBot)
if (!bHasArmsLab && !FNullEnt(BaseBuilder))
{
Vector BuildLocation = AITAC_GetRandomBuildHintInLocation(STRUCTURE_MARINE_ARMSLAB, CommChair->v.origin, UTIL_MetresToGoldSrcUnits(15.0f));
Vector BuildLocation = AITAC_GetRandomBuildHintInLocation(STRUCTURE_MARINE_ARMSLAB, CommChair->v.origin, UTIL_MetresToGoldSrcUnits(20.0f));
if (!vIsZero(BuildLocation))
{
@ -1281,7 +1281,7 @@ bool AICOMM_CheckForNextBuildAction(AvHAIPlayer* pBot)
if (!bHasObservatory && !FNullEnt(BaseBuilder))
{
Vector BuildLocation = AITAC_GetRandomBuildHintInLocation(STRUCTURE_MARINE_OBSERVATORY, CommChair->v.origin, UTIL_MetresToGoldSrcUnits(15.0f));
Vector BuildLocation = AITAC_GetRandomBuildHintInLocation(STRUCTURE_MARINE_OBSERVATORY, CommChair->v.origin, UTIL_MetresToGoldSrcUnits(20.0f));
if (!vIsZero(BuildLocation))
{
@ -1361,7 +1361,7 @@ bool AICOMM_CheckForNextBuildAction(AvHAIPlayer* pBot)
if (!bHasPrototypeLab && bHasAdvArmoury && !FNullEnt(BaseBuilder))
{
Vector BuildLocation = AITAC_GetRandomBuildHintInLocation(STRUCTURE_MARINE_PROTOTYPELAB, CommChair->v.origin, UTIL_MetresToGoldSrcUnits(15.0f));
Vector BuildLocation = AITAC_GetRandomBuildHintInLocation(STRUCTURE_MARINE_PROTOTYPELAB, CommChair->v.origin, UTIL_MetresToGoldSrcUnits(20.0f));
if(!vIsZero(BuildLocation))
{