OpenArena Message Boards

id Tech 3 => cgame/game/ui => Topic started by: bbmario on March 09, 2014, 05:49:39 PM



Title: Specify game mode based on map name
Post by: bbmario on March 09, 2014, 05:49:39 PM
Is it possible to make the game mode switch based on the map name?


Title: Re: Specify game mode based on map name
Post by: Neon_Knight on March 09, 2014, 06:29:09 PM
With current OA maps and the way they're handled, I doubt so. There's a reason why .arena files are used.


Title: Re: Specify game mode based on map name
Post by: fromhell on March 09, 2014, 08:55:28 PM
I personally don't like UT's prefix mapnames for the gametypes.  It's too restrictive and imposes much redundancy.  It is nice that it states what gametype it's for off the prefix, however the way UT handles it enumerates every file manuially for this which can be problematic for detecting several gametypes in a large collection.