Thread: (Beta) ff_bhoprace_lines
View Single Post
Old 09-07-2013, 10:14 AM   #6
squeek.
Stuff Do-er
Lua Team
Wiki Team
Fortress Forever Staff
 
squeek.'s Avatar
 
Join Date: Mar 2007
Location: Northern California
Class/Position: Rallygun Shooter
Gametype: Conc tag (you just wait)
Affiliations: Mustache Brigade
Posts Rated Helpful 352 Times
Send a message via AIM to squeek.
I made a base_race.lua. It's kind of crazy (I wanted to try out object-oriented Lua in FF), and it has (partial, untested) support for things that it doesn't need at the moment, like multiple different races, synchronous races, per-race leaderboards and whatnot.

But, the main thing is it should save and load records between map changes (stored by Steam ID). There are also the chat commands: !rank (to get your own rank) and !top <num> (to get the top <num> players, defaulted to 5, max of 15), and the timer and your PB shows on the HUD.

Here it is with ff_bhoprace_lines.lua modified to use it:
http://www.ffpickup.com/temp/base_race.zip

P.S. My best time is 10.7. I have a hard time believing alex's 10.2 claim.
__________________
#FF.Pickup ยค Fortress-Forever pickups

My Non-official Maps
Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic
Beta FF_Myth - FF_Redlight_Greenlight

Sick of the people on the internet, always moanin'. They just moan.
- Karl Pilkington

Last edited by squeek.; 09-07-2013 at 07:33 PM.
squeek. is offline   Reply With Quote