Difference between revisions of "Race Module"
From ASSS Wiki
Mine GO BOOM (talk | contribs) m (→Download: Don't need a <pre> for download line) |
I88gerbils (talk | contribs) m |
||
(One intermediate revision by one other user not shown) | |||
Line 56: | Line 56: | ||
* Append cmd_race to /path/to/[ASSS]/conf/groupdef.dir/mod | * Append cmd_race to /path/to/[ASSS]/conf/groupdef.dir/mod | ||
− | + | == [[Race Settings|Configure]] == | |
== Commands == | == Commands == | ||
Line 64: | Line 64: | ||
== Contact == | == Contact == | ||
− | + | * [[User:Smong|Smong]] | |
− | + | * [[User:i88gerbils|i88gerbils]] | |
[[Category: Custom Modules]] | [[Category: Custom Modules]] |
Latest revision as of 13:11, 31 May 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
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
Configure
Commands
?race start|stop|status