AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   VSH / Freak Fortress (https://forums.alliedmods.net/forumdisplay.php?f=154)
-   -   FF2 [Subplugin] Another Respawn Ticket (https://forums.alliedmods.net/showthread.php?t=321737)

Hoto Cocoa 02-26-2020 08:53

[Subplugin] Another Respawn Ticket
 
2 Attachment(s)
With the help from junhe and WhiteFalcon. Here's a new respawn ticket plugin which will not make the boss max health too high to defeat and a smart way to reward your donators. When a player use a respawn ticket boss will restore the damage they dealt. If player has dealt 0 damage boss will gain 7% rage charge.
It shows a menu when player died. Player can use their respawn ticket anytime after death.
You might want to use override.
Command
sm_spawn - use a respawn ticket.

Cvar:
respawn_playersleft - When the number of players alive is less than this, players are not allowed to respawn, 0 to disable.
respawn_toomuchdamage - 1 - Don't allow player to respawn when their damage reach the ragedamage. 0 - Disable.

Installition:
Put the .smx to sourcemod/plugins
There's no need to rename it to .ff2

Changelogs
1.0 - Initial release
1.1 - Delete some include files and fix a formatting error.
1.2 - Fix a health bug when respawning after dying as a minion.
1.2.1 - Fix a bug that player can use the respawn ticket even if their ticket is false.

Hoto Cocoa 12-27-2020 08:34

Re: [Subplugin] Another Respawn Ticket
 
Update:
1.2 - Fix a health bug when respawning after dying as a minion.


All times are GMT -4. The time now is 18:52.

Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.