[GameMode] [GM] Adrenaline (Racing)
#1

*NEW VERSION*

[Image: sa-mp-000_small.jpg][Image: sa-mp-002_small.jpg]

Main Features:
-Included are 29 Races
-Support for Unlimited Races
-MTA style starting grid
-Make and save your own races in-game.
-Top5 Highscore system
-Support for air races
-Race Voting system to decide next race.


Commands:
/rescueme (return to grid)
/newcar (spawns a new car for you)
/buildmode on (enter buildmode, you will not be teleported to the next race ect.)
/buildmode off (exit buildmode and return to grid)
/top5 (top5 records for this race)

Admin commands
/track [racename] (forces a track change to the map)
/pause (pauses the counting down to the next race)
/resume (resumes counting down)
/addtorotation [racename] (adds the named road to the rotation and voting)


Race Making tutorial
1) type '/buildmode on' into chat
2) Use your up+down and sprint keys to select options for WorldTime,Weather,TrackTime,Car type from the menu
3) Set the name of the race using '/set [racename]'
4) Get to the start of your race (teleporting is turned on here so you can teleport using the map, type /newcar if you lose your car)
5)Drive to a good position for the first person to start in (Grid Position: 1st) And press your FIRE button (mouse1) to save the location.
6)Drive to a good position for the second person to start in (Grid Position: 2nd) And press your FIRE button (mouse1) to save the location.
7)Drive around your planned race using FIRE (mouse1) to set checkpoints along the way
Once you have saved the last checkpoint (Finish line) type '/saverace'
9)If you are an admin type '/track [racename]' to load up your finished race.
10) if you are an admin and want your race to show up in rotation type '/addtorotation [racename]'


Planned Future Features
-Allow non-admins to add their races to the votes
-Some limiting of vehicle types to stick below the 70 type limit
-More vehicle options in creating races
-Add the singleplayer races
-Support for interior races
-A more advanced score tracking system
-Tools to edit finished races
-Maybe a buy menu for mods+NOS

Notes:
-Don't go too crazy vehicle types, there is no limiting to stop you hitting 70 types.
-If for some reason you want the mode to change after x amount of races, edit #define RACES_TILL_MODECHANGE 0
-The track rotation is kept in racenames.txt inside your scriptfiles folder


Credits

Coding:
Kynen: Highscore() code he made for me
******: Used GetXYInFrontOfPlayer() as base of Grid function
Simon: Used ConvertToSafeInput() as base for CheckSafeInput()
Dabombber: TimeConvert()
Yagu: Referenced his race filterscript early on http://forum.sa-mp.com/index.php?topic=20637.0

Testing:
aerodynamics
[RSD]McPott
Any other person who crashed while on my TestServer


> Download Adrenaline (Racing) 1.06 by switch <

1.06 Released 30/08/07
changelog 1.06
-Changed some TextDraw code to fix crash on re-entering the server Needed for 0.2.2!
-Added #define SHOW_JOINS_PARTS comment to hide joins+parts

--BELOW ARE NOT COMPATIBLE WITH 0.2.2--
1.05 Released 30/08/07
changelog 1.05
-Redone textdraws for 0.2.2
-Added extra info to racing textdraw showing how many current racers (/5, /12 ect)

1.04 Released 29/08/07
changelog 1.04
-Fixed inconsistencies between /newcar and /nc
-Fixed a bug that would allow you to use a buildcar during a race.
-Allowed unlimited newcars in buildmode

1.03 Released 28/08/07
changelog 1.03
-Re-done vehicle spawning system; Greatly reduced the frequency of crashing.
-Changed the way buildmenus are created, should fix votemenu's from not showing
-Allows a limit of spare cars each race to be set (default 2)
-Each race set in a new virtualworld
-Race builders are given their own virtual world.
-Added more vehicles to buildmenu
-Newly built races are added to "buildlog.txt" along with creator name and date.

1.02 Released - 05/06/07
changelog 1.02
-Fixed /top5 command
-Fixed textDraw timer for linux servers

1.01 Released - 30/06/07
changelog 1.01
-Fixed grid starting in race: Speeder
-Fixed grid starting in race: Reckless
-Improved grid placing code (player sorting now done by quicksort)
-Fixed bug: Menu's were not being destroyed, causing them to reach the limit.
-Fixed bug: The next race countdown doesn't get shortened to 30 seconds until ALL players have finished
-Players now don't see voting menu after the next track has been decided
-/newcar command will now instantly give them a car if they aren't currently in one (dunno why i took this out)
Reply


Messages In This Thread
[GM] Adrenaline (Racing) - by switch - 28.06.2007, 19:27
Re: [GM] Adrenaline (Racing) - by Mr.Lennart - 28.06.2007, 19:28
Re: [GM] Adrenaline (Racing) - by Aerodynamics - 28.06.2007, 20:07
Re: [GM] Adrenaline (Racing) - by Antironix - 28.06.2007, 22:29
Re: [GM] Adrenaline (Racing) - by [RSD]McPott - 29.06.2007, 00:38
Re: [GM] Adrenaline (Racing) - by KFCWWE - 29.06.2007, 03:18
Re: [GM] Adrenaline (Racing) - by Foxtrota - 29.06.2007, 07:24
Re: [GM] Adrenaline (Racing) - by MaTrIx4057 - 29.06.2007, 08:16
Re: [GM] Adrenaline (Racing) - by El0vric - 29.06.2007, 08:41
Re: [GM] Adrenaline (Racing) - by kspeed - 29.06.2007, 10:36
Re: [GM] Adrenaline (Racing) - by switch - 29.06.2007, 11:52
Re: [GM] Adrenaline (Racing) - by kynen - 30.06.2007, 22:52
Re: [GM] Adrenaline (Racing) - by C0met - 30.06.2007, 23:54
Re: [GM] Adrenaline (Racing) - by TheBigShow - 01.07.2007, 05:19
Re: [GM] Adrenaline (Racing) - by [KIG]Martin - 01.07.2007, 07:04
Re: [GM] Adrenaline (Racing) - by Rac3r - 01.07.2007, 08:22
Re: [GM] Adrenaline (Racing) - by flippi - 01.07.2007, 09:55
Re: [GM] Adrenaline (Racing) - by switch - 02.07.2007, 02:06
Re: [GM] Adrenaline (Racing) - by tomozj - 02.07.2007, 02:35
Re: [GM] Adrenaline (Racing) - by C0met - 02.07.2007, 21:15
Re: [GM] Adrenaline (Racing) - by Rac3r - 02.07.2007, 21:18
Re: [GM] Adrenaline (Racing) - by C0met - 02.07.2007, 21:20
Re: [GM] Adrenaline (Racing) - by Rac3r - 02.07.2007, 21:31
Re: [GM] Adrenaline (Racing) - by switch - 02.07.2007, 21:50
Re: [GM] Adrenaline (Racing) - by TheBigShow - 05.07.2007, 20:10
Re: [GM] Adrenaline (Racing) - by switch - 05.07.2007, 20:14
Re: [GM] Adrenaline (Racing) - by porsche_owner - 05.07.2007, 21:04
Re: [GM] Adrenaline (Racing) - by TheBigShow - 03.08.2007, 02:04
Re: [GM] Adrenaline (Racing) - by Noxa - 03.08.2007, 03:27
Re: [GM] Adrenaline (Racing) - by Killer-Boy - 03.08.2007, 13:28
Re: [GM] Adrenaline (Racing) - by Gemini - 16.08.2011, 11:53
Re: [GM] Adrenaline (Racing) - by Hugo1984 - 08.01.2012, 20:41
Re: [GM] Adrenaline (Racing) - by Rickeman - 09.01.2012, 14:24
Re: [GM] Adrenaline (Racing) - by TenseSnail - 09.03.2012, 03:45
Re: [GM] Adrenaline (Racing) - by Ravnos - 10.03.2012, 12:54
Re: [GM] Adrenaline (Racing) - by soul225 - 14.05.2014, 04:03
Re: [GM] Adrenaline (Racing) - by Fn1Ln2 - 14.05.2014, 06:41
Re: [GM] Adrenaline (Racing) - by AmirSlaYeR - 14.05.2014, 06:43
Re: [GM] Adrenaline (Racing) - by XpiTa - 14.02.2017, 10:01
Re: [GM] Adrenaline (Racing) - by VixxeN - 15.02.2017, 17:46
Re: [GM] Adrenaline (Racing) - by BanSilog - 14.11.2017, 08:29
Re: [GM] Adrenaline (Racing) - by cuber - 14.11.2017, 22:00

Forum Jump:


Users browsing this thread: 2 Guest(s)