FrontierDefenseCallback

v2.0.0·Updated 2024-09-03

Modding resource. Provide some useful callbacks on FD.

About this mod Author’s original text

This mod provides some useful functions on FD in client.

You should not install this until you are told.

Functions

mp_fd_custom_callbacks.gnut

// get the harvester entity in FD

entity function FD_GetHarvester() // IsValid(ent) check on it before call. The harvester entity always stay the same even after retries. Its get 1hp left after destroyed actually.

// use the shieldboost, same as comman behaviour

void function UseHarvesterShieldBoost( entity player )

bool function PlayerHasCoreOverloadReady( entity player )

bool function PlayerHasArcTrapReady( entity player )

bool function PlayerHasSentryTurretReady( entity player )

bool function PlayerHasHarvesterShieldBoost( entity player )

// callbacks. Its possible to handle the harvester entity.

void function AddCallback_OnHarvesterShieldDamaged( void functionref(entity harvester, int oldShield, int newShield) callbackFunc )

void function AddCallback_OnHarvesterHealthDamaged( void functionref( entity harvester, int oldHealth, int newHealth ) callbackFunc )

// only call when store opens.

void function AddCallback_OnNotifyStoreOpen( void functionref( ) callbackFunc )

// Functions below are a simple package of GetGlobalNetInt( str ). Dont use them if you know how to get NetworkedVariable properly.

// Returns -1 if there is no targets. If the return-value <= 0, means there is no target entities.

int function FD_GetTitanCount // There maybe some args to help filter in later version.

int function FD_GetNukeTitanCount

int function FD_GetMortarTitanCount

int function FD_GetArcTitanCount

int function FD_GetGruntCount

int function FD_GetSpectreCount

int function FD_GetMortarCount

int function FD_GetStalkerCount

int function FD_GetReaperCount

int function FD_GetTicksCount

int function FD_GetDroneCount

int function FD_GetCloakDroneCount

int function FD_GetCurrentCount // Obviously the current enemies ai count.

int function FD_GetTotalCount // The total of each wave.

int function FD_TotalWaves // Usually 5.

int function FD_CurrentWave // It starts with 0.

int function FD_RestartsRemaining // 0-2

int function FD_TeamWaveScore // I don't know whats this exactly.

float function FD_HarvesterInvulTime // The shieldboost.

float function FD_NextWaveStartTime

bool function FD_ReadyForNextWave // Not work. No NetworkedVar FD_readyForNextWave exists

bool function FD_WaveActive

int function FD_WaveState // I don't know whats state exactly.

Install & use Install: Northstar client mod

  1. Install the Northstar client first (the open-source community client for Titanfall 2; its release page provides an installer). It loads the mods.
  2. Unzip the archive from playbuff and put its contents into the Northstar/mods/ folder inside your Titanfall2 directory.
  3. Start the game through NorthstarLauncher.exe — the console lists the mods it loaded.

Northstar is for private servers and custom content; do not use it to connect to official servers.

File & checksum

Filename
FrontierDefenseCallback-2.0.0.zip
File size
12.6 KiB
SHA-256
6cf8f8b1d768169355c7c31c5bced645c3e857d7f31f36be65b76328a734e899
Stored at
2026-10-12 00:53