Plugin Info:
|
Modification: ALL
Category: Admin Commands
|
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
|
07-10-2013
, 05:32
Bunnyhop Racers Mod (1.1.7a - 24.07.2013)
|
#1
|
Bunnyhop Racers Mod
If you like this plugin, please rate this thread with 5 Stars.
.: Description :.
With this plugin you can challenge other players to a race. On the top right corner it shows the current racing time and your speed in units per second.
It uses the ELO Ranking System to dertermine a players skill. Admins can place items on the map using the map editor to increase gameplay.
.: Commands :.
- /race - Opens up the racing menu
- /mapitems - Opens up Map editor (requires access defined in "#define EDITOR_ACCESS")
- /respawn - Respawns you if you aren't in a race.
- /elo - Prints your current ELO to chat.
.: Defines :.
PHP Code:
/* Do NOT change this values unless you know what you're doing! */
#define TAG "[Bunnyhop Racers]" #define ID_HUD (taskid - TASK_HUD)
#define UPDATEINTERVALL 1.0
#define EDITOR_ACCESS ADMIN_KICK
#define BASE_SPEED 250.0
// Maximum Increase / decrase of Rating #define ELO_K 25 // ELO Score Parameter #define ELO_SCORE_1ST 1.0 #define ELO_SCORE_2ND 0.85 #define ELO_SCORE_3RD 0.425 #define ELO_SCORE_4TH 0.2125 #define ELO_SCORE_5TH 0.10625 #define ELO_SCORE_6TH 0.053125 #define ELO_SCORE_7TH 0.0265625 #define ELO_SCORE_8TH 0.01328125
/* Do NOT change this values unless you know what you're doing! */
.: CVars :.
- party_time_accept (Default : 20) - Time a player has to accept or deny an invitation
- party_max_players (Default : 6) - Maximum Size of a Party
- party_allow_bots (Default : 1) - Allowing and auto-adding Bots to a party.
- party_start_delay (old : sb_delay) (Default : 5) - Delay until race starts.
- br_hud_r (Default : 255) - R value of HUD
- br_hud_g (Default : 0) - G value of HUD
- br_hud_b (Default : 0) - B value of HUD
- br_speedbost_time (Default : 7) - Time (in s) how long you'll get a boost.
- br_speedboost_speed (Default : 390.0) - Speed (in u) you'll have while having a speed boost.
- br_pwnage_speed (Default : 100.0) - Speed other players will have after pwning them.
- br_pwnage_time (Default: 9.0) - Time how long others are slowed down.
- br_blind_time (Default : 6.5) - Time how long others are getting blinded.
- br_shield_time (Default : 15.5) - Time how long shield lasts.
- br_invis_time (Default : 7.0) - Time how long invisibility lasts.
.: Requirements :.
- A Steam Server
- Air Accelerate Module : Link
- Orpheu : Link
- PM Functions Pack : Link
- Screenfade UTIL : In Attachments
.: Credits :.
- vato-loco - Code for detecting end button
- Exolent[jNr] - Player Air Accelerate Native
- [R]ak - Party Menu
- anakin_cstrike - Thunder Code
.: Upcoming Features:.
- More Items.
- HUB Servers
Automatic Matchmaking
- Leaderboards
- Tournaments
.: Changelog :.
Quote:
Vers. 1.1.7a
Note : This is an alpha Version, it may contain bugs since I was unable to test it enough.
- Added ELO Ranking System (Detailed explanation here.)
- Fixed Pwange Bug
- Added Item Invisibility
- Added ELO HUD at Race Finish
- Items are now saved in "Inventory" and are used with F ("impulse 100" command)
- Added SQL Saving (required now!)
- Added Defines
Quote:
PHP Code:
// Maximum Increase / decrase of Rating #define ELO_K 25 // ELO Score Parameter #define ELO_SCORE_1ST 1.0 #define ELO_SCORE_2ND 0.85 #define ELO_SCORE_3RD 0.425 #define ELO_SCORE_4TH 0.2125 #define ELO_SCORE_5TH 0.10625 #define ELO_SCORE_6TH 0.053125 #define ELO_SCORE_7TH 0.0265625 #define ELO_SCORE_8TH 0.01328125
|
- Added Commands
Quote:
PHP Code:
say /respawn - Respawns player to start (if not in Race) say /elo - Prints your ELO in chat.
|
- Added forward "bhop_OnRaceFinish" for sub-plugins. You don't need any includes etc.
Here an example :
PHP Code:
#include <amxmodx> #include <amxmisc>
#define PLUGIN "Bunnyhop Racers - Sub Plugin" #define VERSION "9.4.5" #define AUTHOR "Kia"
new g_iPoints[33]
public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) }
public bhop_OnRaceFinish(id) { g_iPoints[id]++ }
- Added CVAR
PHP Code:
cvar_invis_time = register_cvar("br_invis_time","7.0")
- Renamed all Race related CVars, new list
PHP Code:
cvar_time_accept = register_cvar("party_time_accept","20") cvar_max_players = register_cvar("party_max_players","8") cvar_allow_bots = register_cvar("party_allow_bots","1") cvar_delay = register_cvar("party_start_delay","5") cvar_laps = register_cvar("br_max_laps","3") cvar_r = register_cvar("br_hud_r","255") cvar_g = register_cvar("br_hud_g","0") cvar_b = register_cvar("br_hud_b","0")
// SpeedBoost cvar_speedtime = register_cvar("br_speedbost_time","7") cvar_speedspeed = register_cvar("br_speedboost_speed","390.0") // Pwnage cvar_slowdown_speed = register_cvar("br_pwnage_speed","100.0") cvar_slowdown_time = register_cvar("br_pwnage_time","9.0") // Blind cvar_blind_time = register_cvar("br_blind_time","6.5") // Shield cvar_shield_time = register_cvar("br_shield_time","15.5") // Invis cvar_invis_time = register_cvar("br_invis_time","7.0")
Version 1.1.4.1- Fixed some bugs and typos.
Version 1.1.4- Added Items System
- Speedboost : Speeds you up for a certain amount of time.
- Pwnage : Thunders all players and slows them down.
- Blind : Blinds all players for a short time.
- Shield : Protects you from item attacks.
- Added Map Editor
- Added CVars
- sb_speedbost_time (Default : 7) - Time (in s) how long you'll get a boost.
- sb_speedboost_speed (Default : 390.0) - Speed (in u) you'll have while having a speed boost.
- sb_pwnage_speed (Default : 100.0) - Speed other players will have after pwning them.
- sb_pwnage_time (Default: 9.0) - Time how long others are slowed down.
- sb_blind_time (Default : 6.5) - Time how long others are getting blinded.
- sb_shield_time (Default : 15.5) - Time how long shield lasts.
- Fixed some bugs.
- Edited HUD.
- Improved code.
- Added Defines
- #define EDITOR_ACCESS ADMIN_KICK
- #define BASE_SPEED 250.0
Version 1.1.1- Added Game Description
- Fixed some bugs
Version 1.1.0.0013- Fixed typo which disabled Kick Menu.
- Added Laps System.
Version 1.0.9- Re-wrote entire plugin using [R]ak's Party Menu
- Removed Sync Hud Message and replaced it with Interval HUD Message (#define UPDATEINTERVALL 0.2)
- Removed Distanced traveled information
- Added cvars
- party_time_accept (Default : 20) - Time a player has to accept or deny an invitation
- party_max_players (Default : 6) - Maximum Size of a Party
- party_allow_bots (Default : 1) - Allowing and auto-adding Bots to a party.
- party_start_delay (old : sb_delay) (Default : 5) - Delay until race starts.
- sb_hud_r (Default : 255) - R value of HUD
- sb_hud_g (Default : 0) - G value of HUD
- sb_hud_b (Default : 0) - B value of HUD
Version 1.0.0 : First Release
|
.: Media :.
Video here : http://www.youtube.com/watch?v=Eljit...ature=youtu.be
The TrueSkill™ ranking system is a skill based ranking system for Xbox Live developed at Microsoft Research.
Last edited by Kia; 07-24-2013 at 03:37.
|
|
|
|