View Single Post
naris
AlliedModders Donor
Join Date: Dec 2006
Old 04-21-2015 , 19:26   Re: [TF2] Remote Control/Build/Limit buildings plugin
Reply With Quote #107

Quote:
Originally Posted by Chdata View Post
What exactly happens if you set a sentry's level to "4"?

Can you not do this with dispensers and teleporters? The stocks block that.
It builds a level 3 sentry with more health, rockets and ammo than a regular level 3 sentry.
Level 5 sets the health, rocket and ammo to the max amounts.

At least I think that's what it does after looking through the code, I have been working a bazillion hours so I have not had time to work on this or play a game in a couple of years

Here are the amounts of Shells(Ammo), Rockets and Health for the various levels.

Code:
    // Max Sentry Ammo for Level:         mini,   1,   2,   3, max
    stock const TF2_MaxSentryShells[]  = { 150, 100, 120, 144,  255 };
    stock const TF2_MaxSentryRockets[] = {   0,   0,   0,  20,   63 };
    stock const TF2_SentryHealth[]     = { 100, 150, 180, 216, 8191 };

Last edited by naris; 04-21-2015 at 19:27.
naris is offline