This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Kreedz Shortcuts (Last Update:11-11-2016)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
elantra86
Member
Join Date: Feb 2014
Old 10-28-2016 , 16:01   Kreedz Shortcuts (Last Update:11-11-2016)
Reply With Quote #1

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
Attached Files
File Type: sma Get Plugin or Get Source (kz_sc.sma - 1071 views - 31.3 KB)
File Type: inc colorchat.inc (1.9 KB, 232 views)
File Type: inc dhudmessage.inc (3.4 KB, 314 views)

Last edited by elantra86; 02-25-2020 at 10:33. Reason: Update
elantra86 is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 10-30-2016 , 12:00   Re: Kreedz Shortcuts
Reply With Quote #2

Do not distribute `.amxx` binary files. See rules: https://forums.alliedmods.net/showthread.php?t=21956
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
elantra86
Member
Join Date: Feb 2014
Old 10-30-2016 , 12:46   Re: Kreedz Shortcuts
Reply With Quote #3

What do you mean ?? Where i distribute amxx ??
elantra86 is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 10-30-2016 , 13:18   Re: Kreedz Shortcuts
Reply With Quote #4

Remove .amxx from zip file
redivcram is offline
elantra86
Member
Join Date: Feb 2014
Old 10-30-2016 , 13:41   Re: Kreedz Shortcuts
Reply With Quote #5

Done! Ty.
elantra86 is offline
lazarev
Veteran Member
Join Date: Sep 2008
Old 10-30-2016 , 16:02   Re: Kreedz Shortcuts
Reply With Quote #6

You can know if player is ducking just by looking if FL_DUCKING is present in pev->flags.

Last edited by lazarev; 10-30-2016 at 16:02.
lazarev is offline
elantra86
Member
Join Date: Feb 2014
Old 11-07-2016 , 00:06   Re: Kreedz Shortcuts
Reply With Quote #7

Quote:
Originally Posted by lazarev View Post
You can know if player is ducking just by looking if FL_DUCKING is present in pev->flags.
Ok thx i try this method too.
elantra86 is offline
kiarfuzzy
Member
Join Date: Aug 2009
Old 11-18-2016 , 04:04   Re: Kreedz Shortcuts (Last Update:11-11-2016)
Reply With Quote #8

The plugin causes massive fps drops on intel video cards. The sprites with words, like longjump, count jump etc. drops the fps to 30-40 when you stand right in the middle of the word.
The sc made only with arrows works fine.


L.E.
Oh updated to the latest version and I see you removed them now... You could make the sprites for lj/cj/hj etc as the arrow ones. I mean replace the arrow with words or add words next to the arrows, like cj->cj->cj->.

Also can you change the /sc command? it interferes with the image /sc plugin from xj. So if i type /sc the server will use the images plugin instead of yours. Maybe add something like /scon, /scoff.

Last edited by kiarfuzzy; 11-18-2016 at 04:13.
kiarfuzzy is offline
elantra86
Member
Join Date: Feb 2014
Old 11-22-2016 , 00:58   Re: Kreedz Shortcuts (Last Update:11-11-2016)
Reply With Quote #9

I delete sprites because have bug on some maps. Server is shutting down when u use sprites. Because have limit entities on some maps.
and as alternate command /sc u can use /shortcuts.
elantra86 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode