[TF2] Engineer Metal Regen
1 Attachment(s)
[TF2] Engineer Metal Regen Version 2.0.3 Description: Regenerates engineers' build metal at a configurable rate.Commands: NoneCvars:
Version History:
|
Re: [TF2] Engineer Metal Regen
I like this idea. Like the Medic's health regen.
|
Re: [TF2] Engineer Metal Regen
You're passing the handles of your convars as parameters as if they were the actual values inside the convars. Use GetConVarInt for that purpose.
|
Re: [TF2] Engineer Metal Regen
Quote:
I'm also planning on adding an optional admin flag for donators Quote:
-Edit, ...And testing! |
Re: [TF2] Engineer Metal Regen
Got it working 100% :up:
Redoing post page :o |
Re: [TF2] Engineer Metal Regen
I'm sorry, I learn more about tick rate in google but it's obscure for me :|
tickrate "5" = 5 seconds and regen 5 metals ? Thanks for your help :) |
Re: [TF2] Engineer Metal Regen
Quote:
:arrow:example: sm_rmetal_rate "5.0" (it means 5 seconds) So your metal will be set to 200 after every 5 seconds. Silent |
Re: [TF2] Engineer Metal Regen
The first cvar sm_rmetal_rate sets the tick rate in seconds, so sm_rmetal_rate "5.0" would mean that the plugin 'ticks' every 5 seconds.
sm_rmetal_size is the amount of metal the plugin adds to the engie's build metal. so for example size = 5 & rate = 5 then give the engi 5 metal every 5 seconds so again, 0sec = 100metal, 5 sec = 105 metal, 10 sec = 110 metal etc. the size and rate do not have to the the same obviously. You could if you wanted set it to regen 15 metal every five sec, or 17 metal every 11 sec. So, simple breakdown: sm_rmetal_rate controls the time it takes to regen metal. sm_rmetal_size controls now much metal to give every X seconds. (X seconds being controlled by the sm_rmetal_rate cvar) Quote:
|
Re: [TF2] Engineer Metal Regen
Just noticed that the plugin doesn't kill any timer and creates one more timer everytime when engineer spawns.
|
Re: [TF2] Engineer Metal Regen
Quote:
|
All times are GMT -4. The time now is 08:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.