mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
lategame
lategame pretty much working, work on some string stuff, some memory optimizations, summon should now work with non-bps
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user