if (isdefaultcfg)
{
// special defaults for specific games go here, these execute before default.cfg
- // Nehahra pushable crates malfunction in some levels if this is on
- // Nehahra NPC AI is confused by blowupfallenzombies
switch(gamemode)
{
case GAME_NORMAL:
"csqc_polygons_defaultmaterial_nocullface 0\n"
);
break;
+ // Nehahra pushable crates malfunction in some levels if this is on
+ // Nehahra NPC AI is confused by blowupfallenzombies
case GAME_NEHAHRA:
Cbuf_InsertText(cmd, "\n"
"sv_gameplayfix_blowupfallenzombies 0\n"
"sv_gameplayfix_unstickentities 1\n"
);
break;
+ // Arcane Dimensions V1.80 Patch 1 assumes engines that don't pass values to CSQC_Init() are DP,
+ // instead of doing a workaround there we can give it what it really wants (fixes offscreen HUD).
+ case GAME_AD:
+ Cbuf_InsertText(cmd, "\n"
+"csqc_lowres 1\n"
+ );
+ break;
default:
Cbuf_InsertText(cmd, "\n"
"sv_gameplayfix_blowupfallenzombies 1\n"
{ GAME_DOOMBRINGER, GAME_DOOMBRINGER, "doombringer", "-doombringer", "DOOMBRINGER", "DOOMBRINGER", "dbdata", NULL, "doombringer", "doombringer" }, // COMMANDLINEOPTION: Game: -doombringer runs the game DOOMBRINGER
{ GAME_BATTLEMETAL, GAME_NORMAL, "battlemetal", "-battlemetal", "battlemetal", "battlemetal", "metaldata", NULL, "battlemetal", "battlemetal" }, // COMMANDLINEOPTION: Game: -battlemetal runs the game battleMETAL
{ GAME_QUAKE15, GAME_NORMAL, "quake15", "-quake15", "Quake 1.5", "Quake_1.5", "id1", "quake15", "quake15", "darkplaces" }, // COMMANDLINEOPTION: Game: -quake15 runs the Quake 1.5 or Quake Combat+ mod
+{ GAME_AD, GAME_NORMAL, "ad", "-ad", "Arcane Dimensions", "Arcane_Dimensions", "id1", "ad", "ad", "darkplaces" }, // COMMANDLINEOPTION: Game: -ad runs the Arcane Dimensions mod
};
static void COM_SetGameType(int index);
GAME_DOOMBRINGER, // added by Cloudwalk for kristus
GAME_BATTLEMETAL, // added by Cloudwalk for Subject9x
GAME_QUAKE15, // added by bones_was_here as it depends on an old bug and a workaround
+ GAME_AD, // added by bones_was_here as it depends on old DP behaviour or csqc_lowres
GAME_COUNT
}
gamemode_t;