TF2 Supplies
32 KB, 12 years ago, submitted by
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.
Not in TF2.
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?
OnTopic: Cool, but I probably won't use, but still nice so 5/5
The respawn time in the wrench dialog only goes up to a measly 30 seconds. I prefer customizability over usability.