Raised This Month: $51 Target: $400
 12% 

[ANY] Armor Pack V6.3


Post New Thread Reply   
 
Thread Tools Display Modes
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 08-26-2013 , 13:13   Re: [ANY] Armor Pack V6.3
Reply With Quote #61

Quote:
Originally Posted by nergal View Post
I'm testing v6.3 right now

I based all the armor percentages on Quake armor and powerups

question on TF2, does doing selfdamage, like rocket jumps destroy armor?
Well, it's supposed to do dammage (fall dammage too by the way). I will add a Cvar for that !
__________________
Want to check my plugins ?
Arkarr is offline
nergal
Veteran Member
Join Date: Apr 2012
Old 08-26-2013 , 15:45   Re: [ANY] Armor Pack V6.3
Reply With Quote #62

Quote:
Originally Posted by Arkarr View Post
Well, it's supposed to do dammage (fall dammage too by the way). I will add a Cvar for that !
cvar to block self damage is unnecessary, but the fall damage shouldn't affect armor.
__________________
nergal is offline
exstream
Member
Join Date: Feb 2013
Old 08-30-2013 , 21:33   Re: [ANY] Armor Pack V5.0
Reply With Quote #63

well after hrs of work on this plugin it works perfectly on my l4d2 server no problems
Attached Files
File Type: smx Armor_pack v 5 l4d2.smx (14.1 KB, 159 views)
File Type: sp Get Plugin or Get Source (Armor_pack v 5 l4d2.sp - 157 views - 10.7 KB)

Last edited by exstream; 09-04-2013 at 23:38.
exstream is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 08-31-2013 , 02:51   Re: [ANY] Armor Pack V5.0
Reply With Quote #64

Quote:
Originally Posted by exstream View Post
well after hrs of work on this plugin it works perfectly on my l4d2 server no problems
Good job. Anyway, this is the version for YOUR server. My version seems to work correctly.
__________________
Want to check my plugins ?
Arkarr is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 09-02-2013 , 22:05   Re: [ANY] Armor Pack V4
Reply With Quote #65

Quote:
Originally Posted by Chaosxk View Post
Just because i like to make things shorter.

PHP Code:
param2++; 
effect param2;
Action_Effect(client); 
instead of different if else statements in your MenuHandler1.

Also you might need to do some valid client checks to make sure you don't error out with invalid client call stack errors. Here's a stock that i use to check if the client is valid.

PHP Code:
stock bool:IsValidClient(iClientbool:bReplay true) {
    if(
iClient <= || iClient MaxClients)
        return 
false;
    if(!
IsClientInGame(iClient))
        return 
false;
    if(
bReplay && (IsClientSourceTV(iClient) || IsClientReplay(iClient)))
        return 
false;
    return 
true;

So for example in OnTakeDamage, before all your code starts, you would do something like
PHP Code:
if(IsValidClient(client)
{
//blah blah

Same with sm_armor and sm_reset.
Else you might end up with something like:
Client index 0 isinvalid
don't give people bad advice, if a client's entity is hooked by something like ontakedamage a fail stock like isvalidclient will always return true, since their entity will be in game for as long as they are hooked. When they disconnect the hook will be removed.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
nergal
Veteran Member
Join Date: Apr 2012
Old 09-21-2013 , 19:29   Re: [ANY] Armor Pack V6.3
Reply With Quote #66

Arkarr, small question about the HUD, why do the numbers after taking damage update so slowly?
__________________
nergal is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 09-22-2013 , 02:28   Re: [ANY] Armor Pack V6.3
Reply With Quote #67

Quote:
Originally Posted by nergal View Post
Arkarr, small question about the HUD, why do the numbers after taking damage update so slowly?
I don't udnerstand your request, everythin is working fine on my server
__________________
Want to check my plugins ?
Arkarr is offline
nergal
Veteran Member
Join Date: Apr 2012
Old 09-22-2013 , 09:20   Re: [ANY] Armor Pack V6.3
Reply With Quote #68

Quote:
Originally Posted by Arkarr View Post
I don't udnerstand your request, everythin is working fine on my server
well, taking damage normally, it works but when I rocket jump or damage myself in any way, the HUD takes a while to update; idk why but it just seems odd.
__________________
nergal is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 09-22-2013 , 09:30   Re: [ANY] Armor Pack V6.3
Reply With Quote #69

Quote:
Originally Posted by nergal View Post
well, taking damage normally, it works but when I rocket jump or damage myself in any way, the HUD takes a while to update; idk why but it just seems odd.
Everything work fine on my server, can you upload your config file ? (armorpackV6.cfg)
__________________
Want to check my plugins ?
Arkarr is offline
Reply



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 03:41.


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