MODSon[line.com] Wiki - Beta 1.0
Arena file
From MODSonline Wiki
The arena file is the file that the game will look up, when lauching a new server, to know which gametype are allowed and what is the name of the map. Those files are located in the following folder, and have the same name as the compiled file, the extension being .arena.
root/main/mp
An example of the content of the file is as follow:
{
map "mp_mapname"
longname "testing gametypes"
gametype "dm tdm sd ctf hq"
}
As for the worldspawn, those are pair Key-Value. The explaination is as follow:
- map "mp_mapname": specify the name of the actual map as the game engine sees it;
- longname "testing gametypes": the name of the map as the user will see it, whether it is in the server browser, or when setting up a server;
- gametype "dm tdm sd ctf hq": the Multiplayer Gametypes available when playing this map.
