mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
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:
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.
Binary file not shown.
|
@ -1172,7 +1172,7 @@ bool AICOMM_CheckForNextBuildAction(AvHAIPlayer* pBot)
|
||||||
|
|
||||||
if (!TF.IsValid())
|
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))
|
if (!vIsZero(BuildLocation))
|
||||||
{
|
{
|
||||||
|
@ -1247,7 +1247,7 @@ bool AICOMM_CheckForNextBuildAction(AvHAIPlayer* pBot)
|
||||||
|
|
||||||
if (!bHasArmsLab && !FNullEnt(BaseBuilder))
|
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))
|
if (!vIsZero(BuildLocation))
|
||||||
{
|
{
|
||||||
|
@ -1281,7 +1281,7 @@ bool AICOMM_CheckForNextBuildAction(AvHAIPlayer* pBot)
|
||||||
|
|
||||||
if (!bHasObservatory && !FNullEnt(BaseBuilder))
|
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))
|
if (!vIsZero(BuildLocation))
|
||||||
{
|
{
|
||||||
|
@ -1361,7 +1361,7 @@ bool AICOMM_CheckForNextBuildAction(AvHAIPlayer* pBot)
|
||||||
|
|
||||||
if (!bHasPrototypeLab && bHasAdvArmoury && !FNullEnt(BaseBuilder))
|
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))
|
if(!vIsZero(BuildLocation))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue