lategame pretty much working, work on some string stuff, some memory optimizations, summon should now work with non-bps
This commit is contained in:
Milxnor
2023-06-03 15:01:24 -04:00
parent fbf392e0a1
commit 5e6d120c09
20 changed files with 358 additions and 174 deletions

View File

@@ -4,12 +4,40 @@
#include "OnlineReplStructs.h"
#include "BuildingContainer.h"
class BotPOI
{
FVector CenterLocation;
FVector Range; // this just has to be FVector2D
};
class BotPOIEncounter
{
public:
int NumChestsSearched;
int NumAmmoBoxesSearched;
int NumPlayersEncountered;
};
class PlayerBot
{
public:
AController* Controller = nullptr;
BotPOIEncounter currentBotEncounter;
int TotalPlayersEncountered;
std::vector<BotPOI> POIsTraveled;
float NextJumpTime = 1.0f;
void OnPlayerEncountered()
{
currentBotEncounter.NumPlayersEncountered++;
TotalPlayersEncountered++;
}
void MoveToNewPOI()
{
}
void Initialize(const FTransform& SpawnTransform)
{
auto GameState = Cast<AFortGameStateAthena>(GetWorld()->GetGameState());