View Single Post
Author Message
pear
Member
Join Date: May 2017
Location: sea
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, 339 views)
File Type: sp Get Plugin or Get Source (mgonly.sp - 673 views - 10.0 KB)

Last edited by pear; 03-10-2019 at 09:58.
pear is offline