View Single Post
Author Message
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 01-05-2019 , 05:34   [Any] Save Loc (v0.2.7 June-31-2019)
Reply With Quote #1

.
Save Loc
v0.2.7



Description:
Retains position, angle, and velocity data. Useful for practicing surf/rocket jump/bhop/etc
Information is temporary - removed on disconnect, map change, and toggle (if toggle is required by cvar).
Max of 14 saves client. To modify, edit MAX_RECENT_LOCS and recompile. New saves will remove oldest save.

Devs - See include file for plugin integration


Commands:
sm_practice - Enable practice mode - only required if cvar is set
sm_sl - Save loc
sm_tl - Tele loc
sm_ml <optional:targetname> - Loc menu (Allows chosing from one of 10 recent saves)
sm_rl - Remove Loc - Opens menu to select a save to remove

ConVars
sm_saveloc_requireenable "1" // Require the client activate a toggle before using commands?
sm_saveloc_onground "1" // Require the client to be on the ground while enabling practice toggle?
sm_saveloc_restoreontoggle "1" // Save and restore client location on toggle of practice command?
sm_saveloc_allowother "1" // Allows clients to use other players' saves?
sm_saveloc_forceteam "1" // Only allow client to use saves from players on their own team?
sm_saveloc_forceclass "1" // Only allow clients to use saves from players of their own class? (TF2)
sm_saveloc_wipeontoggle "1" // Should the plugin wipe saves on practice toggle?
sm_saveloc_wipeonteam "1" // Should the plugin wipe saves on team change?
sm_saveloc_wipeonclass "1" // Should the plugin wipe saves on class change?
sm_saveloc_customcolor "1" // Should the plugin use custom THEMECOLOR in messages? (TF2)


Example of plugin integration:
Ref 1 - Checking library
Ref 2 - Using a native
Ref 3 - Using a forward


Project here:
Github

Changelog
__________________

Last edited by JoinedSenses; 06-16-2019 at 11:50.
JoinedSenses is offline