[TF2] Gravestone Markers - Updated 10/29/2013
1 Attachment(s)
Spawns a tombstone at the corpse of a player when they die (given set conditions).
Each player may only have one down at a time. [IMG]http://s16.************/5lup4ssz9/gravestones105.png[/IMG] Latest: https://drive.google.com/folderview?...nc&usp=sharing CVARs: Code:
revengestone_version: version number, for tracking (don't change)
When a player dies, an alert with the players name for (sm_gravestones_alert) will be sent to players within viewable range (sm_gravestones_distance) of the marker. When viewing a marker, the line will be displayed for as long as they are looking at it, and are within range (sm_gravestones_distance) of if it. The props are not solid, and shouldn't interfere with combat in any way. They will always spawn pointing downward, but will adjust their angle to terrain normals. The player's name/epitaph index is stored inside of the gravestone prop itself, so it will persist, even if the player leaves the server, or reconnects. Configuration File:: The configuration file consists of lines of text that will appear on the hud to clients looking at the stones. use * to insert the player's name, use | to insert a newline (line break) Do not use newlines in the configuration file (blank text lines) it just reads each one into the array for now :S The file is read into pre-allocated arrays of fixed size. If you need many more, or want them to be extremely long, you may have to recompile the SP and change the defines at the top. Code:
Here lies *|Who could replace you?|Anyone with a gun Code:
Here lies Player
Code:
2013-5-6 (v1.0.0)
Comments:
Latest version can be found here: https://drive.google.com/folderview?...VU&usp=sharing |
Re: [TF2] Gravestone Revenge Markers - 5/6/2013
Would be nice for each kill to have one of those. Can be used in arena for instance to know where everyone died.
|
Re: [TF2] Gravestone Revenge Markers - 5/6/2013
Quote:
Code:
if(client && IsClientInGame(client)) |
Re: [TF2] Gravestone Revenge Markers - 5/6/2013
Updated to fix some minor issues, and provide a bit better error handling.
I could also add convars to change how it operates, if you guys would want that sort of thing. - any death - revenge death - assisted revenge death (don't think this is important, since it only spawns one, and the revenge would trigger it anyway) - dominated death could also make a cvar to change the hud colors =/ |
Re: [TF2] Gravestone Revenge Markers - 5/6/2013
Quote:
|
Re: [TF2] Gravestone Revenge Markers - 5/6/2013
this would be much better if you used the little pop up boxes that tf2 uses for what i think are hints? like when you gib a player and it says "Your kidney" and stuff right above your gibs?
someone did a plugin for that that also had msyql support to it but i dunno where its at anymore. |
Re: [TF2] Gravestone Revenge Markers - 5/6/2013
Dunno how to implement that, but it would be better than hud messages.
|
Re: [TF2] Gravestone Revenge Markers - 5/6/2013
Quote:
|
Re: [TF2] Gravestone Revenge Markers - 5/6/2013
Quote:
|
Re: [TF2] Gravestone Revenge Markers - 5/6/2013
Yeah, i should be able to use this, i can just make the bubbles pop up above the stones. I assume newlines are supported? It would suck if they arn't
It looks like the annotations are designed to be temporary. They zoom in and then dissapear. They also don't support newlines. This could mabye be useful for just showing the client's name over the stone when it's spawned though. |
All times are GMT -4. The time now is 22:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.