3 #include <common/mapinfo.qh>
5 CLASS(Assault, Gametype)
8 this.gametype_init(this, _("Assault"),"as","g_assault",GAMETYPE_FLAG_TEAMPLAY,"","timelimit=20",_("Destroy obstacles to find and destroy the enemy power core before time runs out"));
10 METHOD(Assault, m_generate_mapinfo, void(Gametype this, string v))
12 if(v == "target_assault_roundend")
13 MapInfo_Map_supportedGametypes |= this.m_flags;
15 METHOD(Assault, m_isTwoBaseMode, bool())
19 METHOD(Assault, m_configuremenu, void(Gametype this, entity menu, void(entity me, string pLabel, float pMin, float pMax, float pStep, string pCvar, string tCvar, string pTooltip) returns))
22 returns(menu, _("Point limit:"), 50, 500, 10, string_null, string_null, string_null);
24 ATTRIB(Assault, m_legacydefaults, string, "20 0");
26 REGISTER_GAMETYPE(ASSAULT, NEW(Assault));
27 #define g_assault IS_GAMETYPE(ASSAULT)