#include "point_checkpoint"

#include "anti_rush"

#include "rc/map_save"

#include "opfor/nvision"
#include "opfor/weapon_knife"

const bool blAntiRushEnabled = false; // You can change this to have AntiRush mode enabled or disabled

void MapInit()
{
	// Enable SC PointCheckPoint Support
	RegisterPointCheckPointEntity();
	// Enable Nightvision Support
	NightVision::Enable( NightVision::NV_RED ); // Red Nightvision
	// Register original Opposing Force knife weapon
	RegisterKnife();
	// Enable Anti-Rush
	ANTI_RUSH::RemoveEntities = "countdown_blocker;countdown_start;countdown_end";
	ANTI_RUSH::EntityRegister( blAntiRushEnabled );
	MapSaveRegister( "ss1a2;ss1a3;ss4a2;ss4a3" );
	// Global CVars
	g_EngineFuncs.CVarSetFloat( "mp_hevsuit_voice", 0 );
	g_EngineFuncs.CVarSetFloat( "mp_no_akimbo_uzis", 1 );

	g_EngineFuncs.ServerPrint( "Ultimate Attack Version 1.2 - Download this campaign from scmapdb.com\n" );
}
