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

[TF2][PSM] Medic's MvM Shield (v1.2.3, 2015-09-24)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Wolvan
Senior Member
Join Date: Jul 2014
Location: Tyrol, Austria
Plugin ID:
4290
Plugin Version:
1.2.3
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Deploy the Medic MvM Shield in normal gameplay!
    Old 07-27-2014 , 22:22   [TF2][PSM] Medic's MvM Shield (v1.2.3, 2015-09-24)
    Reply With Quote #1

    If you guys are running my Plugin on a server, I would love to know the IP and check it!

    The Webcompiler won't compile due to me including PermissionsSM Include files, just download the MedicMvMShield_compiled.smx

    This works well with my other Plugins, ReviveMarkers! and PermissionsSM

    Would love for you guys to add some suggestions I can add to the Plugin, it seems kinda bare to me ^^'

    About
    This Plugin allows you to spawn Medic's MvM Shield in normal Multiplayer. You can either type medicshield_shield/medicshield_shield2 into the console/chat or you can also use Attack3 (Default: Mouse3) to deploy the shield. It will stay for 10 seconds but will disappear if you switch your weapon away from the medigun.

    Features
    1.) Easy to use: Just drag the .smx file into your plugins folder and you're set
    2.) Small: Not cluttered with unecessary code
    3.) Works: Charge to 75% Ubercharge (default, changeable), press Mouse3 and run around with a shield
    4.) PermissionsSM Support! Easy Permission Management for your server
    5.) Integration into other Plugins: Currently only Adminmenu! Any Plugins I should hook into?
    6.) Configurable (ConVars):
    I.) Choose between Time-based or Ubercharge-based Cooldown
    II.) Both, required charge and Cooldown Time are configurable
    III.) Disable the Plugin for everyone or Admins only
    IV.) Allow only 1 team to deploy shields

    Commands
    medicshield_shield - Spawn a level 1 shield if no cooldown.
    medicshield_shield2 - Spawn a level 2 shield if no cooldown.
    medicshield_info - Show Plugin&Config Info

    Permission Nodes [PermissionsSM]
    MedicMvMShield.shield.lvl1 - Allow Level 1 Shield deploy
    MedicMvMShield.shield.lvl2 - Allow Level 2 Shield deploy
    MedicMvMShield.teamOnlyOverride - Allow Shield deploying even if only the other team would be allowed to
    MedicMvMShield.Admin - Allow deploying the shield with admin-only mode on

    Override Strings
    You need to enable Override Strings using revivemarkers_use_override_string
    medicshield_shield - Give access to level 1 shield
    medicshield_shield2 - Give access to level 2 shield
    medicshield_teamonlyoverride - Override One Team Only
    medicshield_admin - Use admin functionality

    ConVars
    medicshield_enable_plugin (1) - Enable or disable the Plugin.
    medicshield_recharge_mode (1) - Change Recharge Mode (0 - Time-based recharge, 1 - Ubercharge based recharge).
    medicshield_recharge_delay (60) - Change recharge time in seconds if medicshield_recharge_mode is 0
    medicshield_required_charge (0.75) - Required charge to deploy a shield if medicshield_recharge_mode is 1.
    medicshield_admin_only (0) - Enable or disable admin-only mode.
    medicshield_recharge_on_death (1) - Enable or disable recharging the shield on death (only works with time-based recharge)
    medicshield_team (0) - Allow only one team to use the shield. 0 - Both teams, 1 - RED, 2 - BLU
    medicshield_use_override_strings (0) - Use Override Strings for Permissions
    medicshield_version (1.1) - Just an ordinary version ConVar

    Installation instructions
    1.) Download .smx file below and put it in your plugins folder
    2.) Load it with sm plugins load MedicMvMShield or by restarting your server

    Dependencies
    None

    Plugins that use MedicMvMShield
    None

    Bugs
    None so far :)

    Planned Features
    - Build a metrics System (+SM Extension) and hook this Plugin into it
    - Add Forward calls and Natives (if people want/need them)
    - Add ConVars to enable shield only for 1 team
    Anything else you guys might wanna see being added?

    For Developers
    Forwards
    OnMedicShieldSpawn - Happens when the Shield gets deployed via command or key. Return Plugin_Handled or Plugin_Stop to prevent Shield spawning
    OnMedicShieldReady - Gets called when the shield has recharged and the Plugin is about to notify the player. Return Plugin_Handled or Plugin_Stop to prevent notification

    Special thanks / Credits
    - abrandnewday for creating the Shield Spawn Code I am using. Check out his version!
    - Pelipoika for the Ubercharge based cooldown

    Servers with my Plugin
    The FunForBattle Servers
    Spoiler




    Media
    NONE SO FAR ;_;
    If you have any kind of media related to this, I'd love to add it here.

    Changelog
    Spoiler
    Attached Files
    File Type: sp Get Plugin or Get Source (MedicMvMShield.sp - 751 views - 39.0 KB)
    File Type: txt Medicshield Usage.txt (1.4 KB, 965 views)
    File Type: smx MedicMvMShield_compiled.smx (19.3 KB, 1080 views)
    __________________

    Last edited by Wolvan; 05-05-2017 at 09:12. Reason: Updated to 1.2.3
    Wolvan is offline
    Send a message via Skype™ to Wolvan
    Research
    SourceMod Donor
    Join Date: Nov 2011
    Old 07-28-2014 , 02:59   Re: [TF2] Medic's MvM Shield (v1.0, 2014-07-28)
    Reply With Quote #2

    cool. now I can use mouse3 for shield(not using sm_shield2). using one button is more easy for new players.

    can you add 'Kill the shield if you switch from your Medigun to your primary/melee' and 'if medic current using primary weapon or melee weapon, shield can't activate(I mean, medic shooting syringe gun or swing bonesaw, he can't start activate shield)'?
    Research is offline
    romeoschifferling
    Junior Member
    Join Date: Jun 2014
    Old 07-28-2014 , 05:02   Re: [TF2] Medic's MvM Shield (v1.0, 2014-07-28)
    Reply With Quote #3

    but ehm where is the download link?
    romeoschifferling is offline
    Wolvan
    Senior Member
    Join Date: Jul 2014
    Location: Tyrol, Austria
    Old 07-28-2014 , 07:02   Re: [TF2] Medic's MvM Shield (v1.0, 2014-07-28)
    Reply With Quote #4

    Quote:
    Originally Posted by Research View Post
    cool. now I can use mouse3 for shield(not using sm_shield2). using one button is more easy for new players.

    can you add 'Kill the shield if you switch from your Medigun to your primary/melee' and 'if medic current using primary weapon or melee weapon, shield can't activate(I mean, medic shooting syringe gun or swing bonesaw, he can't start activate shield)'?
    The stuff you asked for is actually already in.

    Quote:
    Originally Posted by romeoschifferling View Post
    but ehm where is the download link?
    OMFG I'm sorry ;_;. It was 4AM when I created this post, I didn't pay enough attention! Downloadlink is now up, grab it while it's hot
    __________________
    Wolvan is offline
    Send a message via Skype™ to Wolvan
    Research
    SourceMod Donor
    Join Date: Nov 2011
    Old 07-28-2014 , 08:48   Re: [TF2] Medic's MvM Shield (v1.0, 2014-07-28)
    Reply With Quote #5

    oh I miss it :s Thanks!
    Research is offline
    romeoschifferling
    Junior Member
    Join Date: Jun 2014
    Old 07-28-2014 , 14:44   Re: [TF2] Medic's MvM Shield (v1.0, 2014-07-28)
    Reply With Quote #6

    Quote:
    Originally Posted by Wolvan View Post
    OMFG I'm sorry ;_;. It was 4AM when I created this post, I didn't pay enough attention! Downloadlink is now up, grab it while it's hot
    that's fine ;D i will test this out right now!
    romeoschifferling is offline
    Wolvan
    Senior Member
    Join Date: Jul 2014
    Location: Tyrol, Austria
    Old 07-28-2014 , 14:47   Re: [TF2] Medic's MvM Shield (v1.0, 2014-07-28)
    Reply With Quote #7

    Quote:
    Originally Posted by romeoschifferling View Post
    that's fine ;D i will test this out right now!
    Can't wait for your feedback!

    Can't wait for Anyone's Feedback & Feature Suggestions, so go ahead, post them please!
    __________________
    Wolvan is offline
    Send a message via Skype™ to Wolvan
    romeoschifferling
    Junior Member
    Join Date: Jun 2014
    Old 07-28-2014 , 19:06   Re: [TF2] Medic's MvM Shield (v1.0, 2014-07-28)
    Reply With Quote #8

    Quote:
    Originally Posted by Wolvan View Post
    Can't wait for your feedback!

    Can't wait for Anyone's Feedback & Feature Suggestions, so go ahead, post them please!
    This really works!, but somehow the cvars and stuff don't.
    I do love the admin menu extention it all works for as far as i saw.
    This also works with all the other mediguns, (i'm not sure if it should)
    But other then that awesome plugin!
    Thanks for sharing it!
    romeoschifferling is offline
    Wolvan
    Senior Member
    Join Date: Jul 2014
    Location: Tyrol, Austria
    Old 07-28-2014 , 19:08   Re: [TF2] Medic's MvM Shield (v1.0, 2014-07-28)
    Reply With Quote #9

    Quote:
    Originally Posted by romeoschifferling View Post
    This really works!, but somehow the cvars and stuff don't.
    I do love the admin menu extention it all works for as far as i saw.
    This also works with all the other mediguns, (i'm not sure if it should)
    But other then that awesome plugin!
    Thanks for sharing it!
    What do you mean the CVars don't work? And the Admin Menu uses the CVars, so if that works, the CVars itself should as well. what's the problem exactly?
    __________________
    Wolvan is offline
    Send a message via Skype™ to Wolvan
    Research
    SourceMod Donor
    Join Date: Nov 2011
    Old 07-28-2014 , 22:25   Re: [TF2] Medic's MvM Shield (v1.0, 2014-07-28)
    Reply With Quote #10

    Request - Cvar: Only RED or Only BLU
    Research 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:41.


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