Raised This Month: $301 Target: $400
 75% 

[CSS/CSGO] Revival 1.1.3 [2020/09/26]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Plugin ID:
6373
Plugin Version:
1.1.3
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    102 
    Plugin Description:
    The plugin allows players to revive each other during the round
    Old 12-17-2018 , 12:08   [CSS/CSGO] Revival 1.1.3 [2020/09/26]
    Reply With Quote #1

    Name: Revival

    Description: Press and hold Shift, E or Ctrl key above death place to respawn player

    Installation: Place compiled plugin (sm_revival.smx) into the plugins folder (../addons/sourcemod/plugins/).

    Commands: sm_revival - show client's prefrences menu (key for revive, where show additional info and progressbar)

    ConVars:
    • sm_revival_version - plugin version
    • sm_revival_enabled - Enable/disable plugin
    • sm_revival_tip - Enable/disable key tip at the beginning of the round
    • sm_revival_msg - Enable/disable chat messages (except tips)
    • sm_revival_key - Key for reviving (0 - 'duck', 1 - 'use', 2 - 'walk', 3 - no key needed)
    • sm_revival_pos - Spawn player at: 0 - position of reviver, 1 - his death position
    • sm_revival_clean - Remove body x sec after the death (-1 - don't remove)
    • sm_revival_teamchange - Can a player be revived after a team change
    • sm_revival_enemy - Can a player revive the enemy (the revived player will change the team)
    • sm_revival_bar - Enable/disable progressbar
    • sm_revival_percent - Enable/disable save the percentage of reviving
    • sm_revival_effect - Enable/disable effect (circles) around to place of death
    • sm_revival_radius - Radius to respawn death player
    • sm_revival_time - The time after the death of the player, during which the revive is possible (0 - down to the end of the round)
    • sm_revival_countdown - Time for respawn in seconds
    • sm_revival_times - How many times can a player revive other players during the round (0 - unlimited)
    • sm_revival_reset - Reset counter of revived (for cvar 'sm_revival_times') at every: 0 - round, 1 - spawn
    • sm_revival_noblock_time - Noblocking time after respawn (set at 0 if you have any noblock plugin)
    • sm_revival_health_cost - Need's health to respawn (if value is less than 0, then this value will be added to the reviver)
    • sm_revival_maxhealth - The maximum amount of health that a reviver can receive for reviving players (0 - disable limit)
    • sm_revival_death - Can a player revive others if he have less HP than needed for reviving
    • sm_revival_health - How many HP will get revived player
    • sm_revival_frag - Give x frags to the player for revived teammate
    • sm_revival_rip - Disallow the revival of the players killed: 1 - in the head, 2 - with a knife, 3 - in the head or with a knife.
    • sm_revival_balance - The difference in the number of live players of the teams, at which player can revive allies (-1 - disable restriction)
    • sm_revival_soundpath - This sound playing after reviving (empty string = disabled)
    • sm_revival_nodmg_time - No damage recive time after respawn (set at 0.0 if you have any spawn protect plugin)
    • sm_revival_color_t - T death mark color. Wrong color code = red
      *Set by HEX (RGB or RRGGBB, values 0 - F or 00 - FF, resp., any register).
    • sm_revival_color_ct - CT death mark color. Wrong color code = blue
    • sm_revival_color_any - Any death team mark color (sm_revival_enemy = 1). Wrong color code = green
    • sm_revival_best - Show TOPx revivers at round end (0 - disable)
    • sm_revival_worst - Show AntiTOPx revivers at round end (0 - disable)
    • sm_revival_mark_t - Path to the vmt-file in folder 'materials' for the T mark. Wrong or empty path = default mark.
    • sm_revival_mark_ct - Path to the vmt-file in folder 'materials' for the CT mark. Wrong or empty path = default mark.
    • sm_revival_mark_any - Path to the vmt-file in folder 'materials' for the Any mark. Wrong or empty path = default mark.
    • sm_revival_hud_x - HUD info position X (0.0 - 1.0 left to right or -1 for center)
    • sm_revival_hud_y - HUD info position Y (0.0 - 1.0 top to bottom or -1 for center)
    • sm_revival_hud_color - HUD info color. Set by HEX (RGB or RRGGBB, values 0 - F or 00 - FF, resp.). Wrong color code = green
    • sm_revival_hud_mode - Show additional info in the: 0 - chat only, 1 - HUD, 2 - KeyHint (not for CS:S v34)

    Starting from v1.0.7, the plugin supports text coloring in chat using tags: {DEFAULT}, {TEAM}, {GREEN}, {WHITE}, {RED},
    {LIME}, {LIGHTGREEN}, {LIGHTRED}, {GRAY}, {LIGHTOLIVE}, {OLIVE}, {BLUEGREY}, {LIGHTBLUE}, {BLUE}, {PURPLE}, {LIGHTRED2}.
    *Only the first 3 tags will be used in CSSv34, the rest will be removed from the text.

    Screenshots: 1st (from v1.0.0), 2nd, 3rd, client's prefrences menu

    GitHub
    Attached Files
    File Type: zip Revival 1.0.3.zip (25.5 KB, 658 views)
    File Type: zip Revival 1.0.4.zip (25.5 KB, 318 views)
    File Type: zip Revival 1.0.5.zip (44.0 KB, 440 views)
    File Type: zip Revival 1.0.8.zip (8.7 KB, 359 views)
    File Type: zip Revival 1.0.9.zip (8.9 KB, 838 views)
    File Type: zip Revival 1.0.11.zip (78.7 KB, 399 views)
    File Type: zip Revival 1.1.3.zip (24.9 KB, 791 views)
    __________________

    Last edited by Grey83; 09-27-2020 at 05:57. Reason: Updated plugin: fixed errors, added features
    Grey83 is offline
    aykocity
    Member
    Join Date: Sep 2017
    Old 12-17-2018 , 21:22   Re: [CSS/CSGO] Revival 1.0.3 [2018/12/17]
    Reply With Quote #2

    Thank you @Grey83
    cs go work ?
    aykocity is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 12-18-2018 , 07:07   Re: [CSS/CSGO] Revival 1.0.3 [2018/12/17]
    Reply With Quote #3

    aykocity, IDK: i don't have CSGO server for tests.
    Should work without significant problems (not sure about progress bar).
    __________________
    Grey83 is offline
    arcticx2
    Senior Member
    Join Date: Nov 2011
    Old 12-18-2018 , 19:00   Re: [CSS/CSGO] Revival 1.0.3 [2018/12/17]
    Reply With Quote #4

    Noice ! will test it on csgo & update the results here

    *edit : worked on csgo but as you mentioned no progress bar ! + a few errors :

    Quote:
    L 12/18/2018 - 16:13:06: [SM] Exception reported: Entity 297 (297) is not a CBaseEntity
    L 12/18/2018 - 16:13:06: [SM] Blaming: sm_revival 1.0.3.smx
    L 12/18/2018 - 16:13:06: [SM] Call stack trace:
    L 12/18/2018 - 16:13:06: [SM] [0] AcceptEntityInput
    L 12/18/2018 - 16:13:06: [SM] [1] Line 311, F:\steamcmd\l4d2_ds\left4dead2\addons\sourcem od\scripting_1.8.0\! Revival\sm_revival 1.0.3.sp::Timer_RemoveBody
    L 12/18/2018 - 16:13:12: [SM] Exception reported: Entity 295 (295) is not a CBaseEntity
    L 12/18/2018 - 16:13:12: [SM] Blaming: sm_revival 1.0.3.smx
    L 12/18/2018 - 16:13:12: [SM] Call stack trace:
    L 12/18/2018 - 16:13:12: [SM] [0] AcceptEntityInput
    L 12/18/2018 - 16:13:12: [SM] [1] Line 311, F:\steamcmd\l4d2_ds\left4dead2\addons\sourcem od\scripting_1.8.0\! Revival\sm_revival 1.0.3.sp::Timer_RemoveBody
    L 12/18/2018 - 16:13:14: [SM] Exception reported: Entity 295 (295) is not a CBaseEntity
    L 12/18/2018 - 16:13:14: [SM] Blaming: sm_revival 1.0.3.smx
    L 12/18/2018 - 16:13:14: [SM] Call stack trace:
    L 12/18/2018 - 16:13:14: [SM] [0] AcceptEntityInput
    L 12/18/2018 - 16:13:14: [SM] [1] Line 311, F:\steamcmd\l4d2_ds\left4dead2\addons\sourcem od\scripting_1.8.0\! Revival\sm_revival 1.0.3.sp::Timer_RemoveBody
    i do not have l4d2

    Last edited by arcticx2; 12-18-2018 at 19:17.
    arcticx2 is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 12-19-2018 , 07:32   Re: [CSS/CSGO] Revival 1.0.3 [2018/12/17]
    Reply With Quote #5

    Quote:
    Originally Posted by arcticx2 View Post
    i do not have l4d2
    but I have
    __________________
    Grey83 is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 12-23-2018 , 07:06   [CSS/CSGO] Revival 1.0.4 [2018/12/23]
    Reply With Quote #6

    Changes:
    • Fixed error "Exception reported: Entity 295 (295) is not a CBaseEntity"
    • Some optimizations
    Attached Files
    File Type: smx sm_revival 1.0.4.smx (18.2 KB, 554 views)
    __________________

    Last edited by Grey83; 12-23-2018 at 07:09. Reason: added plugin compiled with SM1.9
    Grey83 is offline
    arybagusoctora
    Junior Member
    Join Date: Nov 2015
    Location: Sleman
    Old 12-25-2018 , 03:06   Re: [CSS/CSGO] Revival 1.0.4 [2018/12/23]
    Reply With Quote #7

    Can you make another setting, so player can spawn on last position when they died? need this great plugin for my deathmatch server with random spawn position.
    arybagusoctora is offline
    Send a message via Yahoo to arybagusoctora Send a message via Skype™ to arybagusoctora
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 12-25-2018 , 06:18   Re: [CSS/CSGO] Revival 1.0.4 [2018/12/23]
    Reply With Quote #8

    arybagusoctora, players are always revives on the spot of their death.
    If this is not the case, then some other plugin (deathmatch plugin) moves them after the revival.
    __________________
    Grey83 is offline
    arybagusoctora
    Junior Member
    Join Date: Nov 2015
    Location: Sleman
    Old 12-25-2018 , 07:51   Re: [CSS/CSGO] Revival 1.0.4 [2018/12/23]
    Reply With Quote #9

    Quote:
    Originally Posted by Grey83 View Post
    arybagusoctora, players are always revives on the spot of their death.
    If this is not the case, then some other plugin (deathmatch plugin) moves them after the revival.
    its ok, plugin work as expected. my bad. thanks for your great plugin, i appreciated your hard work!

    Last edited by arybagusoctora; 12-25-2018 at 07:51.
    arybagusoctora is offline
    Send a message via Yahoo to arybagusoctora Send a message via Skype™ to arybagusoctora
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 01-05-2019 , 08:45   Re: [CSS/CSGO] Revival 1.0.5 [2019/01/05]
    Reply With Quote #10

    Changes:
    • Now plugin can run at servers with CS:S v34 (without emo-sprite) and can be compiled using SM 1.9*.
    • The plugin no longer turns off when you turn off effects.
    • Other small fixes
    *Zip-archive contains 2 versions of this plugin: compiled using SM 1.9 and compiled using SM 1.8
    __________________
    Grey83 is offline
    Reply


    Thread Tools
    Display Modes

    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 21:11.


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