Raised This Month: $32 Target: $400
 8% 

[TF2] Rise from the Dead


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SoulSharD
Member
Join Date: Oct 2013
Location: United Kingdom
Plugin ID:
4073
Plugin Version:
1.2.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Spawns a Skeleton where a player was killed.
    Old 01-31-2014 , 12:55   [TF2] Rise from the Dead
    Reply With Quote #1

    [TF2] Rise from the Dead

    Firstly, I'd like to apologize if there are any problems with the formatting, this is my first plugin upload.


    Description:

    This spawns a Skeleton at the position where a player was killed, the Skeleton will spawn respective to the dead players team. However, using the options below you may customize the chances when this may occur. I made this to add a little more... interesting game play, as well as just for fun.

    You may think this will ultimately break game play and completely unbalance the game. Well, you'd be correct.

    Cvars:
    • sm_rftd_version - Displays the current version of the plugin.
    • sm_rftd_enable - Enable or Disable the plugin. (def. 1) [0 or below disables]
    • sm_rftd_chance - The chance for when a Skeleton may spawn. (def. 0.5) [e.g. 0.78 == 78%]
    • sm_rftd_delay - The delay a Skeleton's spawn will be. (def. 3) [seconds]
    • sm_rftd_suicide - Enable or Disable spawning if the player killed himself. (def. 0)
    • sm_rftd_lifetime - The lifetime for the Skeleton's spawned by THIS plugin. (def. 30) [seconds]
    Installation:
    1. Download the below 'rftd.smx' file.
    2. Paste the 'rftd.smx' file into: addons/sourcemod/plugins
    3. Load the plugin using your preferred methods. (Restart or command.)
    Bugs/Fixes:
    • Changing teams caused the Skeleton to spawn as the new team. - Fixed
    • If the Skeleton's lifetime expires, it will not spawn 3 additional skeletons.
    Changelog:
    • 31/01/2014 - 1.0.0: Initial Release
    • 31/01/2014 - 1.1.0: Added "sm_rftd_delay"
    • 01/02/2014 - 1.2.0: Added "sm_rftd_suicide" || Added "sm_rftd_lifetime"
    Attached Files
    File Type: sp Get Plugin or Get Source (rftd.sp - 1533 views - 2.6 KB)

    Last edited by SoulSharD; 02-01-2014 at 06:47.
    SoulSharD is offline
    Oshizu
    Veteran Member
    Join Date: Nov 2012
    Location: Warsaw
    Old 01-31-2014 , 13:47   Re: [TF2] Rise from the Dead
    Reply With Quote #2

    Nice Plugin

    Thought i've got suggestion for a new cvar
    Cvar for delaying spawn of skeleton example by 4 seconds
    __________________
    ...

    Last edited by Oshizu; 01-31-2014 at 14:04.
    Oshizu is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 01-31-2014 , 21:33   Re: [TF2] Rise from the Dead
    Reply With Quote #3

    Do they spawn upon suicide if so perhaps a option to disable them if they wish to not allow that to happen.
    Horsedick is offline
    SoulSharD
    Member
    Join Date: Oct 2013
    Location: United Kingdom
    Old 02-01-2014 , 06:40   Re: [TF2] Rise from the Dead
    Reply With Quote #4

    Sorry for the very late replies!

    Quote:
    Originally Posted by Oshizu View Post
    Nice Plugin

    Thought i've got suggestion for a new cvar
    Cvar for delaying spawn of skeleton example by 4 seconds
    Good idea, added in: 1.1.0

    Cvar:
    "sm_rftd_delay" (def. 3)

    Quote:
    Originally Posted by Horsedick View Post
    Do they spawn upon suicide if so perhaps a option to disable them if they wish to not allow that to happen.
    Yeah, our server had the problem of spammed Skeletons, and they didn't perish after a certain amount of time. However, there are now Cvars to help with this.

    "sm_rftd_suicide" (def. 0) - This enables or disables the ability to spawn skeletons if a player suicides.

    "sm_rftd_lifetime" (def. 30) - The lifetime for the spawned Skeletons.
    __________________

    SoulSharD is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 02-01-2014 , 09:27   Re: [TF2] Rise from the Dead
    Reply With Quote #5

    Also may want to make it so to exclude bots if it doesn't, this may be useful on those servers with bots.

    I'm only saying this cause I'm not sure if it does or doesn't but food for thought. Looks good overall .
    Horsedick is offline
    DJ Data
    SourceMod Donor
    Join Date: Dec 2012
    Location: Switzerland
    Old 02-12-2014 , 22:02   Re: [TF2] Rise from the Dead
    Reply With Quote #6

    Could you add an option to define a flag at which they spawn?
    This way only admins could use it, etc.
    __________________
    SourcePawn Coding Level: Novice
    DJ Data is offline
    Marverlous
    Senior Member
    Join Date: May 2013
    Old 03-01-2014 , 18:58   Re: [TF2] Rise from the Dead
    Reply With Quote #7

    Can you add an option to decide what color the skeleton will be? For example I want Blue skelly to spawn from Red grave.
    __________________
    Marverlous is offline
    Oshizu
    Veteran Member
    Join Date: Nov 2012
    Location: Warsaw
    Old 03-01-2014 , 19:33   Re: [TF2] Rise from the Dead
    Reply With Quote #8

    You ask for color or team?
    There are three possible teams:
    - Red
    - Green
    - Blue
    And There are four | Five possible colors
    - Red
    - Green
    - Blue
    - Yellow
    - Purple (Requires modifying model due to .vmt not being included)
    __________________
    ...
    Oshizu is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 03-01-2014 , 20:49   Re: [TF2] Rise from the Dead
    Reply With Quote #9

    Yellow is actually more of an orange color
    Mitchell is offline
    Marverlous
    Senior Member
    Join Date: May 2013
    Old 03-01-2014 , 22:25   Re: [TF2] Rise from the Dead
    Reply With Quote #10

    Yes, I mean team, sorry
    __________________

    Last edited by Marverlous; 03-01-2014 at 22:25.
    Marverlous 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 23:53.


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