View Single Post
Author Message
Wolvan
Senior Member
Join Date: Jul 2014
Location: Tyrol, Austria
Old 07-15-2014 , 05:21   [TF2][PSM][Updater] Revive Markers (v1.7.2, 2015-03-12)
Reply With Quote #1

If you guys are running my Plugin on a server, I would love to know the IP and check it!

REVIVEMARKERS v1.4+ REQUIRES SOURCEMOD 1.6.0 DUE TO SDKHOOKS BUG IN EARLIER VERSIONS

The Webcompiler won't compile due to me including PermissionsSM, FreakFortress2 and VSH Include files, just download the ReviveMarkers_compiled.smx


This works well with my other Plugins, MedicMvMShield! and PermissionsSM

Would love for you guys to add some suggestions I can add to the Plugin, it seems kinda bare to me ^^'

About
This Plugin allows you to drop a respawn marker on death in normal Multiplayer. The respawn marker can then be healed by a friendly medic to revive the person that it is bound to.

Download
You can always get the most recent version from here. Source can be found on GitHub

Features
1.) Easy to use: Just drag the .smx file into your plugins folder and you're set
2.) Small: Not cluttered with unecessary code
3.) Works: Die, let yourself be respawned by your friendly neighbourhood medic
4.) Markers are only visible for Medics of the own team (Configurable)! No other class gets confused.
5.) Developers can hook into it!
6.) Integration into other Plugins: VSH/FF2, PermissionsSM and Adminmenu!
7.) Configurable (ConVars):
I.) Opt In and Out whenever you want
II.) Configurable Max Number of Revives
III.) No Medic, No Revive Marker Drop
IV.) Disable the Plugin for everyone or Admins only
V.) Allow only one team to drop Markers
VI.) Either make Markers visible for all Classes or Medic only

Commands
revivemarkers_optin [NAME] - Opt yourself or [NAME] (Admin) into dropping Revive Markers.
revivemarkers_optout [NAME] - Opt yourself or [NAME] (Admin) out of dropping Revive Markers.

Permission Nodes [PermissionsSM]
ReviveMarkers.DropMarker - Give this Permission to Players that should be allowed to drop Markers
ReviveMarkers.Admin - Allow opting in and out others and also to drop the Marker in Admin-Only Mode

Override Strings
You need to enable Override Strings using revivemarkers_use_override_string
revivemarkers_dropmarker - Give this Permission to Players that should be allowed to drop Markers
revivemarkers_admin - Allow opting in and out others and also to drop the Marker in Admin-Only Mode

ConVars
revivemarkers_no_markers_without_medic (1) - Change if Revive Markers drop when there are no medics in the team.
revivemarkers_disable (0) - Disable Plugin Functionality
revivemarkers_admin_only (0) - Allow dropping of revive Markers only for admins
revivemarkers_drop_for_one_team (0) - 0 - Both Teams drop Markers. 1 - Only RED. 2 - Only BLU.
revivemarkers_max_revives (0) - Set maximum Number of Revives. 0 to disable.
revivemarkers_decay_time (0.0) - Set a timer that despawns the Marker before a player respawns, set to 0.0 to disable
revivemarkers_visible_for_medics (1) - Set Visibility of Respawn Markers for everyone or Medics only
revivemarkers_show_markers_for_hale (1) - Let the current Saxton Hale see the Revive Markers
revivemarkers_use_override_string (0) - Use Permission Override String
revivemarkers_version (1.7.1) - Just an ordinary version ConVar

Installation instructions
1.) Download .smx file below and put it in your plugins folder
2.) Load it with sm plugins load ReviveMarkers or by restarting your server

Dependencies
None

Plugins that use ReviveMarkers
None

Bugs
- Sometimes, when you overheal a target and they die, they will be respawned instantly
- Plugin in VSH/FF2 works only 1 round
- Revive Bubbles can be seen by anyone, not just medics
- Spies with deadringer drop a marker on death

Planned Features
- Build a metrics System (+SM Extension) and hook this Plugin into it
- Make Opt-Out Persist over Server restart and Player reconnect
- Let Admins opt out other people (Need help with targeting code?)
- Add Adminmenu Integration
- External Config File for CVars
- Integration of FF2/VSH to make markers visible for saxton hale
- Register Plugin as Library
- Fix instant revive bug
- Give ability to make all Teammembers see the Markers
- Add decay Timer ConVar
- Add Forward calls and Natives
- Make it so you can remove the revive notification bubbles
- Create a ConVar for Admin only Mode
- Create a ConVar to disable Plugin functionality
- Create a ConVar for Red/Blu only
- Fix the drop Marker on deadringer death
- Create a ConVar to set how often a Player can be revived per round
- Let users opt out of dropping a Revive Marker
- Add it so that if no medics are in the own team, there will be no respawn marker dropped
- Find a way to prevent respawning when Marker is being healed. Help on that appreciated.
Anything else you guys might wanna see being added?

For Developers
Want to hook into my Plugin? Download the Example Plugin and check the Forwards and the revivemarkers.inc if you want to use any of the STILL UNTESTED Natives (I would appreciate if someone could test them for me)
If you wrote a Plugin, please send me a link, I will link it here in the Post as well

Special thanks
- Mitchell for helping me omptimizing my code
- pheadxdll for showing me the function that overrides the respawn time

Servers with my Plugin
The FunForBattle Servers
Spoiler


Media
Spoiler

If you have any kind of media related to this, I'd love to add it here.

Changelog
Spoiler
Attached Files
File Type: txt ReviveMarkers Usage.txt (1.2 KB, 1059 views)
File Type: sp Get Plugin or Get Source (ReviveMarkers_Forward_Sample.sp - 1052 views - 3.3 KB)
File Type: inc revivemarkers.inc (1.7 KB, 1107 views)
File Type: smx ReviveMarkers_compiled.smx (21.7 KB, 1652 views)

Last edited by Wolvan; 03-12-2015 at 15:35. Reason: Updated to 1.7.2
Wolvan is offline
Send a message via Skype™ to Wolvan