From 9a96d0bff56f1969c68bb52a2f33296095bdc67d Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Tue, 31 Aug 2021 23:14:58 +0100 Subject: move to new mod format --- .../mod/scripts/vscripts/_misc.gnut | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Northstar.CustomServers/mod/scripts/vscripts/_misc.gnut (limited to 'Northstar.CustomServers/mod/scripts/vscripts/_misc.gnut') diff --git a/Northstar.CustomServers/mod/scripts/vscripts/_misc.gnut b/Northstar.CustomServers/mod/scripts/vscripts/_misc.gnut new file mode 100644 index 000000000..20b53c502 --- /dev/null +++ b/Northstar.CustomServers/mod/scripts/vscripts/_misc.gnut @@ -0,0 +1,40 @@ +//todo figure out where these stub functions should be and move them to those places +global function Spotting_Init +global function FW_Border_GlobalInit +global function IsVDUTitan +global function PIN_PlayerRodeoedEnemyTitanToCompletion +global function PlayerProgressionAllowed + +void function Spotting_Init() +{ + +} + +void function FW_Border_GlobalInit() +{ + AddSpawnCallbackEditorClass( "func_brush", "func_brush_fw_territory_border", RemoveFWBorder ) +} + +void function RemoveFWBorder( entity border ) +{ + if ( GameModeRemove( border ) ) + return + + if ( !border.HasKey( "gamemode_" + GAMETYPE ) ) + border.Destroy() +} + +bool function IsVDUTitan(entity titan) +{ + return false +} + +void function PIN_PlayerRodeoedEnemyTitanToCompletion( entity player, entity titan, bool playerHadBattery ) +{ + +} + +bool function PlayerProgressionAllowed( entity player ) +{ + return true +} \ No newline at end of file -- cgit v1.2.3