Raised This Month: $12 Target: $400
 3% 

[TF2] PowerPlay Redux (29.08.2020)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Plugin ID:
5582
Plugin Version:
1.01
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    20 
    Plugin Description:
    This plugin gives uber and crits to players
    Old 04-02-2017 , 17:44   [TF2] PowerPlay Redux (29.08.2020)
    Reply With Quote #1

    Description:
    This plugins gives players uber and crits. The original PowerPlay plugin no longer works and hasnt been updated for years - https://forums.alliedmods.net/showthread.php?p=1377707.

    It gives the targeted players canteen crits and uber. That changes a couple of things. You won't be affected by medic ubers - they won't cancel the effect. Your character won't be playing any ubercharge lines. Bonus round start will not cancel the effects if you're on the losing team. Canteen uses will cancel the effect (why would you use them while using the plugin though?).

    There is a couple of differences:
    - Replaced the powerplay function
    - Updated syntax to the new 1.7 syntax
    - Fixed couple of typos and removed unnecesssary code
    - Added a cvar that modifies duration of the effect

    Cvars:
    PHP Code:
    sm_ppr_version  // version cvar - do not edit
    sm_ppr_duration 999999.0  // duration of the effect 
    Commands:
    PHP Code:
    sm_powerup <target> <1/0>
    sm_powerplayredux <target> <1/0>
    sm_ppr <target> <1/0
    If you dont specify a target, its going to be used on yourself. All of the commands require ADMFLAG_SLAY but can be overridden using sm_powerplayredux_override. If you want to use them in chat, just replace "sm_" with "!". Example: !ppr @all 1


    Installation:


    Credits:
    DarthNinja - he created the original plugin and a lot of code has been reused in this one as well

    Changelog:
    Attached Files
    File Type: sp Get Plugin or Get Source (PowerPlayRedux.sp - 747 views - 4.2 KB)
    __________________

    Last edited by luki1412; 08-28-2020 at 18:29. Reason: Update
    luki1412 is offline
    depthbomb
    Junior Member
    Join Date: Jul 2014
    Old 07-01-2017 , 00:03   Re: [TF2] PowerPlay Redux (02.04.2017)
    Reply With Quote #2

    Works great but it is missing the iconic on-fire effect.
    __________________
    depthbomb is offline
    MaloModo
    Veteran Member
    Join Date: Aug 2008
    Old 08-02-2017 , 10:57   Re: [TF2] PowerPlay Redux (02.04.2017)
    Reply With Quote #3

    Anyone still working on this? If so would like an option where people can't do any damage while powerplay active. Thx.
    MaloModo is offline
    luki1412
    Veteran Member
    Join Date: Oct 2008
    Location: OnPluginStart()
    Old 08-03-2017 , 09:56   Re: [TF2] PowerPlay Redux (02.04.2017)
    Reply With Quote #4

    Quote:
    Originally Posted by depthbomb View Post
    Works great but it is missing the iconic on-fire effect.
    I feel like it added no value just like the resistance uber.
    __________________
    luki1412 is offline
    luki1412
    Veteran Member
    Join Date: Oct 2008
    Location: OnPluginStart()
    Old 08-03-2017 , 09:57   Re: [TF2] PowerPlay Redux (02.04.2017)
    Reply With Quote #5

    Quote:
    Originally Posted by MaloModo View Post
    Anyone still working on this? If so would like an option where people can't do any damage while powerplay active. Thx.
    Do you mean that he shouldnt be able to deal damage while under the effect of the command?
    __________________

    Last edited by luki1412; 08-03-2017 at 09:58.
    luki1412 is offline
    MaloModo
    Veteran Member
    Join Date: Aug 2008
    Old 08-03-2017 , 10:18   Re: [TF2] PowerPlay Redux (02.04.2017)
    Reply With Quote #6

    Quote:
    Originally Posted by luki1412 View Post
    Do you mean that he shouldnt be able to deal damage while under the effect of the command?
    Yes, I know it seems sort of "odd" but would be "cool" to enable the powerplay effects but not be invulnerable and/or do damage. And needs the on-fire effect? My own statement just had me think of something.

    Last edited by MaloModo; 08-03-2017 at 10:19.
    MaloModo is offline
    luki1412
    Veteran Member
    Join Date: Oct 2008
    Location: OnPluginStart()
    Old 08-03-2017 , 10:31   Re: [TF2] PowerPlay Redux (02.04.2017)
    Reply With Quote #7

    Quote:
    Originally Posted by MaloModo View Post
    Yes, I know it seems sort of "odd" but would be "cool" to enable the powerplay effects but not be invulnerable and/or do damage. And needs the on-fire effect? My own statement just had me think of something.
    Arent you just looking for https://forums.alliedmods.net/showthread.php?p=979550 ?
    __________________
    luki1412 is offline
    Whai
    Senior Member
    Join Date: Jul 2018
    Old 08-05-2018 , 14:31   Re: [TF2] PowerPlay Redux (02.04.2017)
    Reply With Quote #8

    Hi, I edited this plugin:

    Now you have the fire effect
    There is no knock back so you can rocket/sticky jump
    I added other conditions

    Bugs:
    Don't go into health kit or you'll lose the fire effect
    Don't go near a dispenser or you'll lose : fire effect, healing effect and have the Quick-Fix effect(Knock back immunity so can't rocket/sticky jump)

    For some reason, after 18 seconds (that happened on me) you lose the healing effect and the democharge crit sound) but you can alt+escape and go back to TF2 they will be back.

    New commands:
    sm_pp
    sm_powerplay

    Command removed:
    sm_powerup (because there is another plugin that use this command so I removed)
    Attached Files
    File Type: sp Get Plugin or Get Source (PowerPlayRedux.sp - 687 views - 5.5 KB)
    __________________

    Last edited by Whai; 08-05-2018 at 16:30. Reason: Add new commands and commands removed; edit the sp file
    Whai is offline
    luki1412
    Veteran Member
    Join Date: Oct 2008
    Location: OnPluginStart()
    Old 08-19-2018 , 07:42   Re: [TF2] PowerPlay Redux (02.04.2017)
    Reply With Quote #9

    Quote:
    Originally Posted by Whai View Post
    Hi, I edited this plugin:

    Now you have the fire effect
    There is no knock back so you can rocket/sticky jump
    I added other conditions

    Bugs:
    Don't go into health kit or you'll lose the fire effect
    Don't go near a dispenser or you'll lose : fire effect, healing effect and have the Quick-Fix effect(Knock back immunity so can't rocket/sticky jump)

    For some reason, after 18 seconds (that happened on me) you lose the healing effect and the democharge crit sound) but you can alt+escape and go back to TF2 they will be back.

    New commands:
    sm_pp
    sm_powerplay

    Command removed:
    sm_powerup (because there is another plugin that use this command so I removed)
    Adding 20 effects to the player doesnt help anything. You didnt even do it correctly. The old powerplay effect is broken and thats why its not in this plugin.
    __________________
    luki1412 is offline
    MarkTheMan
    Junior Member
    Join Date: Aug 2018
    Old 08-28-2020 , 14:30   Re: [TF2] PowerPlay Redux (02.04.2017)
    Reply With Quote #10

    Could you update the plugin, please?

    HTML Code:
    L 08/28/2020 - 21:22:31: [SM] Exception reported: Invalid client index 0
    L 08/28/2020 - 21:22:31: [SM] Blaming: SomePlugins\PowerPlayRedux.smx
    L 08/28/2020 - 21:22:31: [SM] Call stack trace:
    L 08/28/2020 - 21:22:31: [SM]   [0] IsPlayerAlive
    L 08/28/2020 - 21:22:31: [SM]   [1] Line 49, D:\Games\Steam\steamapps\common\Team Fortress 2\tf\addons\sourcemod\scripting\PowerPlayRedux.sp::PowerPlays
    MarkTheMan 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 08:58.


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