Raised This Month: $ Target: $400
 0% 

VSH [Plugin] Lives


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
starblaster64
Member
Join Date: Jul 2015
Old 07-03-2016 , 03:56   [Plugin] Lives
Reply With Quote #1

VSH Subplugin: Lives


This plugin allows players to respawn during VSH rounds if they have lives remaining. An alternative to using something like ReviveMarkers.


ConVars
(Found in cfg/sourcemod/vsh-lives.cfg)
PHP Code:
vsh_lives_version "Plugin version. Don't touch this."
vsh_lives_enabled"1.0""Enables/Disables the plugin."
vsh_lives_base"0.0""Sets base number of extra lives per round."
vsh_lives_damage"2048.0"">0 to enable gaining 1 extra life per this much damage."
vsh_lives_max"1.0""Maximum number of extra lives you can gain per round."
vsh_lives_respawn_delay"5.0""Sets the delay (in seconds) between dying and respawning."
vsh_lives_respawn_block"1.0""Blocks players from spawning if they have no lives left. (Fixes latespawns, but probably breaks other plugins that respawn players)"
vsh_lives_respawn_lastman"1.0""Whether the LastManStanding should respawn instantly if he has lives left." 
Commands
Code:
sm_hale_lives - Display your remaining lives and how many lives you can gain this round.
sm_lives - As above.
Installation is literally drag + drop into sourcemod/plugins folder, then edit the auto-generated config to your liking.
Only dependency is Vs. Saxton Hale, obviously.

Compiled using SM1.8.

This is actually part of a larger "[VSH] Enhancements" thing I started, but I don't know if I'll ever get around to completing all the 'modules'.
Probably not going to make a version for FF2, it'd probably break with a lot of rage abilities.

Changelog
Spoiler


Bugs/Issues
Spoiler

TODO
Spoiler
Attached Files
File Type: sp Get Plugin or Get Source (vsh_lives.sp - 292 views - 13.2 KB)
File Type: smx vsh_lives.smx (16.0 KB, 270 views)

Last edited by starblaster64; 07-03-2016 at 03:59.
starblaster64 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 02:22.


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