Steam Avatar
You aren't signed in

TF2 Supplies

32 KB, 12 years ago, submitted by Demian

Resupply system similar to that of Team Fortress 2. (The models and default values are from TF2.) Currently there are only health supplies but ammunition supplies will be added eventually. The health kits come in three sizes: small, medium and large.

The idea is quite simple actually. The health kits (There are three different kits.) are spawned like any other item. Then you walk over the kit and your health is restored. You do not pick up the item at any time, you simply walk over it. The amount of health restored can be fully customized via RTB prefs. Please note that walking over the item with full health does nothing.

Comes with 8 RTB prefs so one can customize the add-on to fit their needs. If you do not have RTB, Blockland prefs are automatically set to the default values.

Small Respawn Time
This pref controls the small health kit respawn time. After a kit is used, it becomes transparent and unusable for a set time. This time is in milliseconds. (1000 ms = 1 second) Minimum value is 16 ms and the maximum is 600000 ms. (10 minutes.) Server must be restarted for this to take effect. By default this is set to 10000 ms.

Medium Respawn Time
This pref controls the medium health kit respawn time. After a kit is used, it becomes transparent and unusable for a set time. This time is in milliseconds. (1000 ms = 1 second) Minimum value is 16 ms and the maximum is 600000 ms. (10 minutes.) Server must be restarted for this to take effect. By default this is set to 10000 ms.

Large Respawn Time
This pref controls the large health kit respawn time. After a kit is used, it becomes transparent and unusable for a set time. This time is in milliseconds. (1000 ms = 1 second) Minimum value is 16 ms and the maximum is 600000 ms. (10 minutes.) Server must be restarted for this to take effect. By default this is set to 10000 ms.

Enable Spin
Used to enable/disable the spin animation on the health kits. Server must be restarted for this to take effect. By default this is unchecked.

Heal Percentage
Controls whether the amount of health restored is a percentage (Checked) or an absolute value (Unchecked). Percentages are of the player's datablock's maximum health. (maxDamage variable in the player datablock.) Server does not have to be restarted for this to take effect. By default this is checked.

Small Heal Amount
The amount of health restored by Health kit, Small. If the Health Percentage pref is checked then this value is a percentage if not, then it is an absolute value. Minimum value is 0 and maximum is 100000. Server does not have to be restarted for this to take effect. By default this is set to 20.

Medium Heal Amount
The amount of health restored by Health Kit, Medium. If the Health Percentage pref is checked then this value is a percentage if not, then it is an absolute value. Minimum value is 0 and maximum is 100000. Server does not have to be restarted for this to take effect. By default this is set to 50.

Large Heal Amount
The amount of health restored by Health Kit, Large. If the Health Percentage pref is checked then this value is a percentage if not, then it is an absolute value. Minimum value is 0 and maximum is 100000. Server does not have to be restarted for this to take effect. By default this is set to 100.

Demian made the models, supplied the scripters with details and ideas and poked around in the script a little bit. The script is a joint effort of both McTwist and Flaw/Bauklotz.

Nasoa
Very good, very useful for almost everything. 5/5.
Did it ever occur to you that medkits are red usually, although, I don't play TF2. Nice job 5/5
Demian
@Posh
Not in TF2.
Ruiner369
Awesome! I haven't played TF2 but I wish one RTB pref or a separate add-on enables you to pick them up, because I'm tired of the pills and Iban's medpack and stuff
Nice one! Now follow through the home run with the ammo items!
Megamax2001
In TF2, I'm pretty sure that the big tub heals 150hp. But at least I can adjust that.
Demian
@Megamax2001
I've done my homework and adapted it to make it simpler and fit Blockland better. It does 100%.

@Ruiner369
What on earth are you talking about?
bob13
I DL but it not work D:
Killer2
Give me my sandwich Demian...
emoboy
In real life you can live 4 gunshots.
Reynolds
This is super awsome its what ive been waiting for
Slade
@Emoboy what if all of those gunshots are just inside a different toe?

OnTopic: Cool, but I probably won't use, but still nice so 5/5
TristanLuigi
Great, but instead of using an RTB pref for respawn time, make it use the brick item respawn time (like T+T 2). It would not only make it so we can have varying respawns, but also we don't have to restart the server.
super_sniper
Interesting.......



Demian
@TristanLuigi
The respawn time in the wrench dialog only goes up to a measly 30 seconds. I prefer customizability over usability.
Kyle95
Cool.
PaRaGoN x777
PILLZ HERE!
Keltfire88
Now my TF2 build is COMPLETE!
xlax12
i have a problem, i can't make it heal me when my hp is low... maybe it's because i got health bar mod?
CLONEMONKEY
time for a gmod server!
LegoFig
time for a tf2 server!
niko001
This works so good! Really time to tf2 server =)
coolguy905
this is very useful
st8terblock33
Hehe Idk yet so Fuck you all!
Catman221
Ur mean.
Catman221
What, no locker?
cam849
You shold make a working sentrys/buildings Add-On
Hah. It would be very cool if you made an update for this based on the new Pyromania update in TF2.