Difference between revisions of "Race Module"
From ASSS Wiki
I88gerbils (talk | contribs) m (→Download) |
Mine GO BOOM (talk | contribs) m (→Configuration: Changed links to Module Race) |
||
Line 56: | Line 56: | ||
== Configuration == | == Configuration == | ||
− | *[[ | + | *[[Race_Module:MoMinPlaying|MoMinPlaying]] |
− | *[[MinTeams]] | + | *[[Race_Module:MinTeams|MinTeams]] |
− | *[[Laps]] | + | *[[Race_Module:Laps|Laps]] |
− | *[[ContinuousMap]] | + | *[[Race_Module:ContinuousMap|ContinuousMap]] |
− | *[[Chkpt0]] | + | *[[Race_Module:Chkpt0|Chkpt0]] |
− | *[[ChkptX]] | + | *[[Race_Module:ChkptX|ChkptX]] |
− | *[[AutoRace]] | + | *[[Race_Module:AutoRace|AutoRace]] |
− | *[[StartDelay]] | + | *[[Race_Module:StartDelay|StartDelay]] |
− | *[[RaceDelay]] | + | *[[Race_Module:RaceDelay|RaceDelay]] |
− | *[[RaceReward]] | + | *[[Race_Module:RaceReward|RaceReward]] |
− | *[[InSafeToPlay]] | + | *[[Race_Module:InSafeToPlay|InSafeToPlay]] |
− | *[[Stages]] | + | *[[Race_Module:Stages|Stages]] |
− | *[[Actions]] | + | *[[Race_Module:Actions|Actions]] |
− | *[[Macros]] | + | *[[Race_Module:Macros|Macros]] |
== Commands == | == Commands == |
Revision as of 16:40, 14 January 2005
Contents
Introduction
The Race module attempts to implement one of the long requested server features. In the history of zones like Pod Racer comes automated racing under an ASSS module. Race was initially developed by Smong, but now maintained by i88gerbils.
Requirements
ASSS version *1.3.x* or newer.
ChangeLog
11/05/04 v 1.3i i88gerbils * "i" branch started ;-) * RaceReward hack, does not use a separate module. * RaceDelay timer added to set maximum race time. * AutoRace functionality added to start races automatically. * InSafeToPlay changed to spec OR ignore non-racers. * stats->SendUpdates works. Now scores will update immediately. Yay.
Todo
* RaceMinDelay min=0 Minimum time needed to pass a checkpoint before being disqualified. - d->chkpttime = 0 (start_game) - if( (current_ticks() - d->start) / 100 + d->chkpttime > mindelay ) d->chkpttime = current_ticks() - d->start / 100 + d->chkpttime - mindelay; - else FINISH player * RaceRewardMode Add in a new race reward mode based on time. This will probably be players^2 * RaceReward / rank / (mytime-1sttime) [except for 1st place racer of course!]
Download
Current Tarball
Build Instructions (UNIX)
* tar zxf race-*version*.tar.gz * cp race-*version* * cp race.* /path/to/[ASSS]/src * cd /path/to/[ASSS]/src * *make -f race.mk*
Installation
* make -f race.mk install * cp race.conf ../arenas/MY_RACE_ARENA/ * Append race:race to /path/to/[ASSS]/conf/modules.conf * Append cmd_race to /path/to/[ASSS]/conf/groupdef.dir/mod
Configuration
*MoMinPlaying *MinTeams *Laps *ContinuousMap *Chkpt0 *ChkptX *AutoRace *StartDelay *RaceDelay *RaceReward *InSafeToPlay
*Stages *Actions *Macros
Commands
?race start|stop|status
Contact
* Smong * i88gerbils