custom supplydrops and battlebus based on version

This commit is contained in:
max_the
2024-01-15 21:00:29 +01:00
parent b4ca8c9bfe
commit e76d5d8c2a
7 changed files with 167 additions and 48 deletions

View File

@@ -232,6 +232,11 @@ static void StreamLevel(const std::string& LevelName, FVector Location = {})
ShowFoundation(BuildingFoundation);
}
class UFortSupplyDropInfo : public UObject // UDataAsset
{
public:
};
class AFortGameModeAthena : public AFortGameModePvPBase
{
public:
@@ -269,6 +274,8 @@ public:
void PauseSafeZone(bool bPaused = true);
void StartAircraftPhase();
static void OverrideBattleBus(AFortGameStateAthena* GameState, UObject* OverrideBattleBusSkin);
static void OverrideSupplyDrop(AFortGameStateAthena* GameState, UClass* OverrideSupplyDropBusClass);
static void HandleSpawnRateForActorClass(UClass* ActorClass, float SpawnPercentage); // idk where to put
static void OnAircraftEnteredDropZoneHook(AFortGameModeAthena* GameModeAthena, AActor* Aircraft);