Difference between revisions of "Flag game Setup"
Mine GO BOOM (talk | contribs) m (Reverted edit of Zc321, changed back to last version by Cyan~Fire) |
|||
Line 1: | Line 1: | ||
− | + | This article explains how to setup a flag game on [[ASSS]]. All flag games require a flag module attached to the arena. ASSS comes with two flag game types, basing and turf. | |
+ | |||
+ | == Setting up Basing == | ||
+ | The basing module is a python module called ''fg_wz''. There are a few more modules that handle points, ''jackpot'', ''points_flag'' and ''points_periodic''. Add these lines to the bottom of modules.conf if they are not already there: | ||
+ | <pre> | ||
+ | scoring:periodic | ||
+ | scoring:jackpot | ||
+ | scoring:points_flag | ||
+ | scoring:points_periodic | ||
+ | pymod:pymod | ||
+ | <py> fg_wz | ||
+ | </pre> | ||
+ | For the module to be attached to the arena it must be in the Modules:AttachModule setting of arena.conf. Here is an example with other common modules attached, note only ''points_flag'', ''points_periodic'' and ''fg_wz'' need to be attached for basing. | ||
+ | <pre> | ||
+ | [Modules] | ||
+ | AttachModules = fm_normal points_kill points_flag points_periodic fg_wz | ||
+ | </pre> | ||
+ | The ''fg_wz'' module obeys some settings in the [Flag] section. The other modules also have some settings. | ||
+ | |||
+ | It is a good idea to seperate out the flag settings from the other arena settings. This can be done with '#include' as shown in this arena.conf: | ||
+ | <pre> | ||
+ | #include flags.conf | ||
+ | </pre> | ||
+ | The file flags.conf should be in same directory as arena.conf (make one if necessary). Here are a few settings that can be used to configure a basing flag game: | ||
+ | <pre> | ||
+ | [Flag] | ||
+ | ; 5 to 7 flags (replaces the MaxFlags/RandomFlags setting from subgame) | ||
+ | FlagCount = 5 - 7 | ||
+ | ; when a game is won the points awarded will be: | ||
+ | ; jackpot + players * players * flagreward / 1000 | ||
+ | FlagReward=10000 | ||
+ | |||
+ | ; 150 points per flag owned awarded every 4 minutes | ||
+ | [Periodic] | ||
+ | RewardDelay=24000 | ||
+ | RewardMinimumPlayers=2 | ||
+ | RewardPoints=150 | ||
+ | |||
+ | [Kill] | ||
+ | ; how much of the kill points should be added to the jackpot. in tenths of a percent. | ||
+ | JackpotBountyPercent=1000 | ||
+ | </pre> | ||
+ | |||
+ | [[Category:Guides]] | ||
+ | [[Category:ASSS]] |
Latest revision as of 03:54, 30 November 2005
This article explains how to setup a flag game on ASSS. All flag games require a flag module attached to the arena. ASSS comes with two flag game types, basing and turf.
Setting up Basing
The basing module is a python module called fg_wz. There are a few more modules that handle points, jackpot, points_flag and points_periodic. Add these lines to the bottom of modules.conf if they are not already there:
scoring:periodic scoring:jackpot scoring:points_flag scoring:points_periodic pymod:pymod <py> fg_wz
For the module to be attached to the arena it must be in the Modules:AttachModule setting of arena.conf. Here is an example with other common modules attached, note only points_flag, points_periodic and fg_wz need to be attached for basing.
[Modules] AttachModules = fm_normal points_kill points_flag points_periodic fg_wz
The fg_wz module obeys some settings in the [Flag] section. The other modules also have some settings.
It is a good idea to seperate out the flag settings from the other arena settings. This can be done with '#include' as shown in this arena.conf:
#include flags.conf
The file flags.conf should be in same directory as arena.conf (make one if necessary). Here are a few settings that can be used to configure a basing flag game:
[Flag] ; 5 to 7 flags (replaces the MaxFlags/RandomFlags setting from subgame) FlagCount = 5 - 7 ; when a game is won the points awarded will be: ; jackpot + players * players * flagreward / 1000 FlagReward=10000 ; 150 points per flag owned awarded every 4 minutes [Periodic] RewardDelay=24000 RewardMinimumPlayers=2 RewardPoints=150 [Kill] ; how much of the kill points should be added to the jackpot. in tenths of a percent. JackpotBountyPercent=1000