Raised This Month: $ Target: $400
 0% 

[TF2] Market Garden Only 1.3


Post New Thread Reply   
 
Thread Tools Display Modes
Author
pear
Member
Join Date: May 2017
Location: sea
Plugin ID:
5842
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Simple plugin that restricts class to Soldier and gives everyone a Rocket Jumper + Market Gardener.
    Old 09-26-2017 , 19:17   [TF2] Market Garden Only 1.3
    Reply With Quote #1

    Description:
    Simple plugin that restricts class to Soldier and gives everyone a Rocket Jumper + Market Gardener.

    Features:
    It only allows crit kills from the MG unless a Soldier is hit and still alive
    he will be marked with an outline and you can kill him with a normal swing.
    Falldamage is also disabled for Soldiers over 65hp.

    Cvars:
    mgonly_enabled 0/1 (1) - Enable MGOnly.
    mgonly_instant 0/1 (0) - Enable instant kills.
    mgonly_remain 0/1 (0) - Enable remaining outline of wounded enemy even on heal.
    mgonly_regen 0/1 (0) - Enable HP regen on kill. (Outline gets removed)
    mgonly_jumper 0/1 (0) - Restricts players to the Rocket Jumper primary.
    mgonly_boots 0/1 (1) - Restricts players to the Mantreads boots.
    mgonly_shovel 0/1 (1) - Restricts players to the Market Gardener melee.

    Installlation:
    1. Put the mgonly.smx file into tf/addons/sourcemod/plugins.
    2. Put the mgonly.txt file into tf/addons/sourcemod/gamedata.
    3. Refresh plugins or restart server.

    Changelog:

    v1.3


    v1.2


    v1.1


    Known Bugs:
    - Weapons are invisible for others [?]
    - Rocketjumping creates a MISS bonk material
    Attached Files
    File Type: txt mgonly.txt (163 Bytes, 264 views)
    File Type: sp Get Plugin or Get Source (mgonly.sp - 548 views - 10.0 KB)

    Last edited by pear; 03-10-2019 at 09:58.
    pear is offline
    ColbY58
    New Member
    Join Date: Dec 2018
    Old 12-01-2018 , 15:40   Re: [TF2] Market Garden Only
    Reply With Quote #2

    Hi,

    I am planning to create a Market Garden Only Server with this plugin.
    Sadly, I have no knowledge about C#.

    There is a small problem with the plugin players encountered:
    If you are in air and use another weapon, other than the rocket jumper, you always crit.

    It is possible to change weapons by using the supply cabinet. It can be disabled. But I don't know how to do so in the configs.

    Could you rewrite the plugin as the follow:
    Crit only with Market Gardener.
    Crit only while in air (MG)
    Be able to change primary weapons of soldier.
    Not be able to change secondary and melee weapons even when using the supply cabinet.


    Of course, if you are up to it, I'd gladly get some lessons by you.
    Kannst mich gerne anschreiben
    ColbY58 is offline
    pear
    Member
    Join Date: May 2017
    Location: sea
    Old 12-04-2018 , 12:03   Re: [TF2] Market Garden Only
    Reply With Quote #3

    Quote:
    Originally Posted by ColbY58 View Post
    Hi,

    I am planning to create a Market Garden Only Server with this plugin.
    Sadly, I have no knowledge about C#.

    There is a small problem with the plugin players encountered:
    If you are in air and use another weapon, other than the rocket jumper, you always crit.

    It is possible to change weapons by using the supply cabinet. It can be disabled. But I don't know how to do so in the configs.

    Could you rewrite the plugin as the follow:
    Crit only with Market Gardener.
    Crit only while in air (MG)
    Be able to change primary weapons of soldier.
    Not be able to change secondary and melee weapons even when using the supply cabinet.


    Of course, if you are up to it, I'd gladly get some lessons by you.
    Kannst mich gerne anschreiben
    I'm workin' on it.
    pear is offline
    ColbY58
    New Member
    Join Date: Dec 2018
    Old 12-04-2018 , 20:14   Re: [TF2] Market Garden Only 1.1
    Reply With Quote #4

    Further suggestions:
    - Disable self-inflicting-damage on rocket jumping with any Rocket Launcher except the Rocket Jumper.
    - Disable Base Jumper

    Configurations such as unlimited Ammo / Clips, disable capping etc. can be realized by other plugins. It does not have to be part of the MGOnly Plugin i suppose.

    I was always wondering why there is not ONE Plugin which is able to do the most basic and advanced configurations in general..?

    Also, thanks for the very fast and quick reply/support!

    Last edited by ColbY58; 12-04-2018 at 20:14.
    ColbY58 is offline
    Proctato
    Junior Member
    Join Date: Feb 2022
    Old 02-12-2022 , 18:11   Re: [TF2] Market Garden Only 1.3
    Reply With Quote #5

    I know this is a few years old but I was able to update the plugin with the new EquipWearable Values and Recompiled with the latest sdkhooks. Everything works as intended now.

    See Updated files attached if needed
    Attached Files
    File Type: txt mgonly.txt (179 Bytes, 22 views)

    Last edited by Silvers; 02-12-2022 at 19:19. Reason: removed .SMX
    Proctato is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 02-12-2022 , 19:19   Re: [TF2] Market Garden Only 1.3
    Reply With Quote #6

    Quote:
    Originally Posted by Proctato View Post
    I know this is a few years old but I was able to update the plugin with the new EquipWearable Values and Recompiled with the latest sdkhooks. Everything works as intended now.

    See Updated files attached if needed
    Please upload the source file, compiled only isn't allowed.
    __________________
    Silvers is offline
    Proctato
    Junior Member
    Join Date: Feb 2022
    Old 02-18-2022 , 09:04   Re: [TF2] Market Garden Only 1.3
    Reply With Quote #7

    Quote:
    Originally Posted by Silvers View Post
    Please upload the source file, compiled only isn't allowed.
    Oh apologies, if that's the case then no update to the source is required since no changes were made to the source, only needed recompiling with sdkhooks.

    Only steps would be to recompile the source locally and update the values in the txt file
    Proctato 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 19:18.


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