Plugin for creating Shortcuts on map
Plugin: KZ Shortcuts
Version: 1.1
Author: Destroman (Special Thanks to
Perfectslife)
Cvars:
kz_sc_prefix <message> - The prefix for chat messages. Default: [KZSC]
kz_sc_show <0/1> - Allow show shortcuts on the map
kz_sc_anim <0/1> - Enable/Disable beam animation effect
kz_show_jumptype <0/1> - 0 disable, 1 dhud message
Player commands:
say /sc - Enable/Disable shortcuts show
say /shortcuts - Enable/Disable shortcuts show
say /scr - Main menu to request SC.
Admin commands:
say /kzsc - Main menu for create/edit shortcuts (flag
ADMIN_BAN)
Note:
It is not recommended to create overlapping SC and multi jump types for 1 SC.
As soon as you reach <= 500.0 distance to the shortcut position, plugin will highlight a shortcut route for you.
To create shortcut you need to create at least 2 points. Points are created on your standing position (not aiming).
Additional info:
You can change these values as you wish:
SHORTCUTS_POINTS 33 //Shortcut points for each SC
MAP_SHORTCUTS_NUM 33 //Shortcuts number for 1 map
MIN_SC_DIST 50.0 //Minimum Distance for SC points
MIN_SHOW_SC_DIST 500.0 //Minimum Distance to show SC beam
HUD_MSG_TIME 25.0 //Hud Msg Info Interval
JTYPE_MSG_TIME 15.0 //JumpType Msg Info Interval
Changelog:
* v1.1 (11/11/2016)
* - all sprites removed
* - fixed precache bug on some maps
* - fixed bug with record WR
* v1.0 (11/02/2016)
* - added Jump Type for SC Point
* - added callfunction detect_cheat(uncomment //detect(id))
* - add your reset function name and kreedz plugin name on public detect(id)
* - added cvar show jumptype:
* - kz_show_jumptype <0/1> - 0 disable, 1 dhud message
* v0.3 (10/31/2016)
* - added server function: requests from players
* - uncomment #define REQUEST_SERVER for use this function
* - now players also can create shortcut points and request admin for submit
* - after admin submit players can see requested shortcut on server
* v0.2 (10/31/2016)
* - some code optimizations (thanks to Perfectslife)
* - added show shortcuts in spectator mode
* - added animation effect (cvar kz_sc_anim)
*
* v0.1 (10/29/2016)
* First public release
Screenshots:
If have suggestions or problems please post it