AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Mushroom Health (https://forums.alliedmods.net/showthread.php?t=76636)

L. Duke 08-27-2008 18:51

[TF2] Mushroom Health
 
3 Attachment(s)
Mushroom Health

Player's drop a mushroom when they die that gives health to whoever picks it up.

Screenshot, model files, and plugin are attached.

original mushroom model by
Ultrimo, Majek, Wolfwood



Installing:
  1. Upload the plugin to your server.
  2. Upload the model/material files to your server.
  3. Upload the model/material files to your HTTP fast download server (if you have one).
Changelist:
1.0.0.2 ( 2 Sept 2009 )
- added sound
- added removal of mushrooms
- added medic only convar
1.0.0.1
- initial release
Convars:

sm_mh_version - plugin version

sm_mh_healthsize - what type of medkit to emulate (1=small, 2=medium, 3=large) (default 3)

sm_mh_time
- time before mushroom is removed (seconds) (default 15.0)

sm_mh_mediconly - only the medic drops mushrooms on death (0=all players, 1=medic only) (default 0)

Download:

If you are updating, remember to delete the old smx file on the server.

MaKTaiL 08-27-2008 18:55

Re: Mushroom Health
 
Haha, funny one. I will download it here.

Great work :D

Obs.: Don't put the version of the plugin in the name of the file.
It is ugly and people can get confused when upgrading to a new version since they may accidentally use both new an old versions at the same time (it can happen xDD).
It is much easier to substitute files of the same name than deleting the old version to put the new one.

V0gelz 08-27-2008 20:35

Re: Mushroom Health
 
now thats what i call nice, would be cool also for some bigger mod ( the model )

Neo Cool Dude 08-27-2008 22:18

Re: Mushroom Health
 
The grenade plugin along with this you sir are a winrar. :) +1

<<<Anonysmous>>> 08-28-2008 08:14

Re: Mushroom Health
 
Wow, Nice plugin this could be good that only medic can drop the Mushroom :D

Banjo Boy 08-28-2008 14:20

Re: Mushroom Health
 
Anyway you can post the source code so I can change it so an item_food falls down after death instead of something else for PVKII.

r3dh3adkid 08-28-2008 18:58

Re: Mushroom Health
 
I'm getting errors on my server, do i need to install he precacher to force people to dl the models or did i mess something up.

L. Duke 08-28-2008 19:00

Re: Mushroom Health
 
Quote:

Originally Posted by r3dh3adkid (Post 677539)
I'm getting errors on my server, do i need to install he precacher to force people to dl the models or did i mess something up.

The plugin precaches the models, so first thing to do is double check the file locations on your server and fast download server. Also check your client to make sure you don't have server downloads filtered.

r3dh3adkid 08-28-2008 19:03

Re: Mushroom Health
 
Quote:

orangebox/tf/materials/models/items/ld1
orangebox/tf/models/items/ld1
for the TF2 server

Quote:

tf/materials/models/items/ld1
tf/models/items/ld1
for the fast download server


Correct?

L. Duke 08-29-2008 10:20

Re: Mushroom Health
 
Quote:

Originally Posted by r3dh3adkid (Post 677544)
for the TF2 server
Code:

orangebox/tf/materials/models/items/ld1
orangebox/tf/models/items/ld1


Yes. that looks right.

Quote:

Originally Posted by r3dh3adkid (Post 677544)
for the fast download server
Code:

tf/materials/models/items/ld1
tf/models/items/ld1

Correct?

Only if your fast download path is www.mydomain.com/tf. The files should be in the directory specified in your path (mine is tf2_dl) so that that location matches the tf directory on your server:
Code:

materials/models/items/ld1
 models/items/ld1

is located in the folder at www.mydomain.com/tf2_dl for my fast downloads.


All times are GMT -4. The time now is 20:58.

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