Difference between revisions of "Creating New Subarenas"

From ASSS Wiki
Jump to: navigation, search
(The long way: removed false statement. removed first person narrative.)
m (fixed spellings; added links)
 
(One intermediate revision by one other user not shown)
Line 41: Line 41:
 
warbird:initialbounty = 30
 
warbird:initialbounty = 30
 
</pre>
 
</pre>
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).
+
Note: [[ASSS]] uses the last occurrence 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).
  
 
[[Category: ASSS]]
 
[[Category: ASSS]]
[[Category: Tutorial]]
+
[[Category: Guides]]

Latest revision as of 20:51, 30 September 2007

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

You can 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:

And then you can add to it as you develop the arena. Placing the map and lvz in the same directory (arenas/arenaname) makes things easier to backup.

Note the map name is prefixed with an underscore, this prevents users from going to an arena with the same name as the map. This is because if you named the arena differently from the map (fx: #secrettesting and eventname.lvl, players going to eventname will not get 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 occurrence 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).