Raised This Month: $23 Target: $400
 5% 

[L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]


Post New Thread Reply   
 
Thread Tools Display Modes
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 08-01-2020 , 18:25   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #791

Version 8.76 is out!

Download | Changelog

*Requires SourceMod 1.11.0.6511 or higher.
*Optional: DHooks.
*Optional: Left 4 DHooks Direct.
*Important: READ THE CHANGELOG.MD FILE FOR A DETAILED LIST OF CHANGES!
__________________
AFK like JFK
Crasher_3637 is offline
3aljiyavslgazana
Junior Member
Join Date: Dec 2018
Old 08-03-2020 , 02:27   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #792

Hey Crasher the max HP of mutant tanks is 85k at the moment or is the health bar not showing HP correctly? I don't know.. but it should be more then that cause max base HP is 65k and max bonus HP is also 65k together the max HP that tank can have should be 130k I think :p also if you can add the ability for tank to how much intensity he can shake the ground that would be fun!!
3aljiyavslgazana is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 08-03-2020 , 02:29   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #793

Quote:
Originally Posted by 3aljiyavslgazana View Post
Hey Crasher the max HP of mutant tanks is 85k at the moment or is the health bar not showing HP correctly? I don't know.. but it should be more then that cause max base HP is 65k and max bonus HP is also 65k together the max HP that tank can have should be 130k I think :p also if you can add the ability for tank to how much intensity he can shake the ground that would be fun!!
Max HP is 65,535 total; it doesn't matter how much the base and bonus HP are.
__________________
AFK like JFK
Crasher_3637 is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Brexit
Old 08-03-2020 , 06:20   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #794

Quote:
Originally Posted by Crasher_3637 View Post
Max HP is 65,535 total; it doesn't matter how much the base and bonus HP are.
The range that can be sent to players is only 0 to 65,535 since it's an unsigned short, internally the range for hp is -2,147,483,648 to 2,147,483,647

Hope this clears it up for ya 3aljiyavslgazana
__________________
Lux is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 08-03-2020 , 06:25   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #795

Quote:
Originally Posted by Lux View Post
The range that can be sent to players is only 0 to 65,535 since it's an unsigned short, internally the range for hp is -2,147,483,648 to 2,147,483,647

Hope this clears it up for ya 3aljiyavslgazana
Oh, derp. I thought he was asking about MT specifically, so I was telling him that it doesn't matter what he sets the base and bonus HP settings for MT to. MT will limit the final value to 65,535 either way.
__________________
AFK like JFK
Crasher_3637 is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Brexit
Old 08-03-2020 , 06:28   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #796

https://github.com/Psykotikism/Mutan...sp#L4997-L4999

Does it tho? I can't find where other than where you set the HP to match 65k so much code
__________________
Lux is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 08-03-2020 , 06:31   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #797

Quote:
Originally Posted by Lux View Post
https://github.com/Psykotikism/Mutan...sp#L4997-L4999

Does it tho? I can't find where other than where you set the HP to match 65k so much code
Yeah, it's somewhere above that. Just look at all the variables above that where it checks if the value is higher than "MT_MAXHEALTH" and you'll see what I mean.
__________________
AFK like JFK
Crasher_3637 is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Brexit
Old 08-03-2020 , 06:34   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #798

Quote:
Originally Posted by Crasher_3637 View Post
Yeah, it's somewhere above that. Just look at all the variables above that where it checks if the value is higher than "MT_MAXHEALTH" and you'll see what I mean.
OH yea i see it, why do you limit it?
__________________
Lux is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 08-03-2020 , 06:37   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #799

Quote:
Originally Posted by Lux View Post
OH yea i see it, why do you limit it?
In the original Super Tanks, there was no limit and it caused bugs where Tanks would have either no HP (die instantly) or infinite HP (never dying unless slayed). I made MT limit it just to make it easier for everyone. I could always add a setting to let users decide if they want a limit or not, but nobody has really asked for one so meh.
__________________
AFK like JFK
Crasher_3637 is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Brexit
Old 08-03-2020 , 06:42   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #800

Ohh i see, yea people tend to use "Prop_Send" in other plugins ect, less hassle for you i guess one of the many reasons i stopped publishing gameplay altering plugins can't be bothered to deal with people.

Anyway good job with MT++
__________________

Last edited by Lux; 08-03-2020 at 06:44.
Lux is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:23.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode