Creating New Subarenas

From ASSS Wiki
Revision as of 16:35, 12 January 2005 by Pests (talk | contribs) (Changing Server to ASSS)
Jump to: navigation, search

To create a new arena type ?makearena (arena name). Settings changes made in this arena will now only apply to this arena.

It's a good idea to not be in the target arena when sending the command.

To change the map, change the location of the file in the [General] Section. Or when in the arena you can use ?putmap <mapname.lvl>, the map will be uploaded from your client directory to maps/uploads/ and the arena.conf modified accordingly.


The long way

If you use ?makearena and arenas/(default)/arena.conf #include's local files such as flags.conf then the server will generate errors as it will not be able to find these in the new arena's directory. I use a small arena.conf that starts off looking something like this:

;"arena name" date

#include conf/svs/svs.conf

[General]
Map = _arenaname.lvl

[Modules]
AttachModules = \
	fm_normal \
	points_kill

; changed settings:

Then I usually place the map and lvz in the same directory (arenas/arenaname/) as it makes things neater.

Note the map name is prefixed with an underscore, this prevents users from going to an arena with the same name as the map. Good if you named the arena differently from the map (fx: #secrettesting and eventname.lvl, you can just imagine the frustration of normal players going to eventname and not getting the correct settings).

Other stock modules that can be attached are points_goal, points_flag, points_periodic and koth to name a few. The backslash indicates that the setting carries on to the next line. It can be used to make things look neater.

The comment 'changed settings' is there because when settings are edited in game they are appended to the end of arena.conf.

After heavy in game editing of the settings there will be a lot of redundant settings in arena.conf which will inflate the size of the file:

; set by x on Mon Feb 16 16:36:52 2004
warbird:initialbounty = 20

; set by x on Fri Feb 20 12:35:54 2004
warbird:initialbounty = 30

Note: ASSS uses the last occurence of a setting, whereas subgame uses the first. You can use a conf cleaner such as confclean, or you could use scripts/settoconf.py on server.set from ?getsettings (you can find server.set in your client directory).