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/mp/_ai_mp.gnut | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Northstar.CustomServers/mod/scripts/vscripts/mp/_ai_mp.gnut (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp/_ai_mp.gnut') diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_ai_mp.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_ai_mp.gnut new file mode 100644 index 000000000..ac0c309b7 --- /dev/null +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_ai_mp.gnut @@ -0,0 +1,41 @@ +global function MpInitAILoadouts +global function SetProficiency +global function IsAutoPopulateEnabled +global function SPMP_UpdateNPCProficiency +global function SPMP_Callback_ForceAIMissPlayer + +void function MpInitAILoadouts() +{ + +} + +void function SetProficiency( entity soldier ) +{ + +} + +bool function IsAutoPopulateEnabled( var team = null ) +{ + if ( IsNPCSpawningEnabled() == false ) + return false + + if ( Flag( "disable_npcs" ) ) + return false + + if ( team == TEAM_MILITIA && Flag( "Disable_MILITIA" ) ) + return false + if ( team == TEAM_IMC && Flag( "Disable_IMC" ) ) + return false + + return true +} + +void function SPMP_UpdateNPCProficiency(entity ent) +{ + +} + +bool function SPMP_Callback_ForceAIMissPlayer(entity npc, entity player) +{ + return true +} \ No newline at end of file -- cgit v1.2.3