[ANY] SM_CheckpointSaver (v1.06)
1 Attachment(s)
SM_CheckpointSaver Description: Well, here I am again, porting EventScripts to SourceMod. This time I had this checkpoint saver for EventScripts. Well, I also wanted to throw EventScripts away and gather all my plugins in SourceMod instead. Much lighter, much more optimized. This checkpoint saver is great for your bhop/jump/climbing/etc servers, it allows any player to save a position and then teleport back to it. Useful for naughty bhop maps which takes you back to the very beginning when you fail (fall :roll:). You could use the !cpsave and !cptele commands (also from console - sm_cpsave & sm_cptele) or the menu !cpmenu. The plugin also bundles a noblock- and no fall damage function. Requirements: SourceMod 1.7.0+ Features:
Chat commands:
ConVars (automatically created in cfg/sourcemod/sm_cpsaver.cfg): Code:
// Enable/disable blocking of fall damage (resets hp to sm_cpsaver_standard_hp after a player gets hurt from falling unless the fall damage is enough to kill him): 0 - disable, 1 - enable Installation and requirements:
In order to do an express install, simply extract the sm-checkpointsaver-x.xx.zip archive into your cstrike directory.Upgrading: Simply unpack the new ZIP archive to do an express upgrade. Update the translation files, make sure you have the updated convars from the sm_cpsaver.cfg file, and restart your server. Changelog:
Translations: If you want to share your translation of SM_CheckpointSaver, please submit your translation in this thread. I'll check it out and pack it into the ZIP archives if it looks good enough :) A big THANK YOU to the SourceMod development team for making this great stuff. You rock. |
Re: [ANY] SM_CheckpointSaver
Very nice!
I can see this being useful on many servers! |
Re: [ANY] SM_CheckpointSaver
Great! :) been looking for something like this for my surf servers.
And admin flag that can be set to allow access to only some users? |
Re: [ANY] SM_CheckpointSaver
Did you make the eventscripts version?
|
Re: [ANY] SM_CheckpointSaver
Quote:
Quote:
|
Re: [ANY] SM_CheckpointSaver
There are multiple existing teleport plugins already, but this one does seem to be a superset of a couple of them (translations, menu support, fixing blocking, etc.). Nice job.
Did you forget to add something in the empty blocks you left? or are they going to be removed? (the empty OnMapStart and default case on the MenuHandler) |
Re: [ANY] SM_CheckpointSaver
Well, the only one I found which lets normal players teleport themselves is this (for TF2, it says)... ;)
Here's some plugin for an admin to bring a player to him or to teleport to a player (goto/bring), and here's some plugin for an admin to save a location and then teleport players to it... OnMapStart is there because of this, but I honestly don't know if I really needed to have it there, haha... It gets me confused... Well. The default case on the MenuHandler got there because I thought the plugin didn't compile when it wasn't there. When I removed it now, it compiled anyway. Duuuuuh... Well, it's the truth ;) |
Re: [ANY] SM_CheckpointSaver
Quote:
Quote:
What the wiki article means is that if you chose to implement those callbacks that you can rely on a map end occurring for every time a map start occurs. There will never be two map starts before a map end or two map ends after only one map start. |
Re: [ANY] SM_CheckpointSaver
Ah, thanks for explaining.
I thought the OnMapEnd() would never get called if I didn't mention OnMapStart() in the code. |
Re: [ANY] SM_CheckpointSaver
hehe works on l4d2 gives a fun side effect aswell when your smoked or pounced just teleport away and your freeeeeee
i have a question is it just me or when i have sm_cpsaver_block_falldamage "1" nothing does damage to me? (l4d2 ofcorse) if i dissable it it works like normal |
All times are GMT -4. The time now is 08:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.