Race Module
From ASSS Wiki
Revision as of 11:14, 31 May 2005 by Mine GO BOOM (talk | contribs) (→Download: Don't need a <pre> for download line)
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
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
To configure, see Race Settings.
Commands
?race start|stop|status
Contact
* Smong * i88gerbils