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

[TF2 MVM] Penetration Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
FlowAria
Junior Member
Join Date: Oct 2017
Plugin ID:
5846
Plugin Version:
2.5
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Make Projectile shield can penetrate with bullets
Old 10-01-2017 , 23:51   [TF2 MVM] Penetration Fix
Reply With Quote #1

Normally, Projectile Penetration upgraded hitscan weapon cannot penetrate Projectile shield
So, i dicided to mod this plugin

What's this Plugin's do?
Makes Projectile penetration bullets can penetrate medic's shield (applys to all team, all weapon)


Cvars
Nope

Commands
Nope

Dependecies
tf2attributes
Attached Files
File Type: sp Get Plugin or Get Source (mvm_penetration_fix.sp - 394 views - 4.9 KB)
File Type: smx mvm_penetration_fix.smx (7.7 KB, 419 views)

Last edited by FlowAria; 10-02-2017 at 06:38.
FlowAria is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 10-02-2017 , 06:17   Re: [TF2 MVM] Penetration Fix
Reply With Quote #2

Please fix the following for your plugin to be approved. The last two comments are not required, but strong suggestions.
  • Don't hardcode 32 for checking player validity. Use the global 'MaxClients' variable.
  • Why are you declaring g_IsOnce as an integer, and using it as a boolean.
  • Use sizeof(), don't hard code string buffer maxlens
  • A 4096 global int array is probably not the best way to be distinguishing whether the entity should be unhooked.
  • Avoid mixing new and old syntax.

Last edited by headline; 10-02-2017 at 06:22.
headline is offline
FlowAria
Junior Member
Join Date: Oct 2017
Old 10-02-2017 , 06:37   Re: [TF2 MVM] Penetration Fix
Reply With Quote #3

Quote:
Originally Posted by Headline View Post
Please fix the following for your plugin to be approved. The last two comments are not required, but strong suggestions.
  • Don't hardcode 32 for checking player validity. Use the global 'MaxClients' variable.
  • Why are you declaring g_IsOnce as an integer, and using it as a boolean.
  • Use sizeof(), don't hard code string buffer maxlens
  • A 4096 global int array is probably not the best way to be distinguishing whether the entity should be unhooked.
  • Avoid mixing new and old syntax.
Don't hardcode 32 for checking player validity. Use the global 'MaxClients' variable.
- MvM servers only works with 32 clients by limit of server so it seems legit with this plugin anyway replaced

Why are you declaring g_IsOnce as an integer, and using it as a boolean.
- Old codes

A 4096 global int array is probably not the best way to be distinguishing whether the entity should be unhooked.
- idk than what can i use it insted of

Other is my mistake
__________________
Some sourcepawn developer that Love to play and fix Mann vs. Machine mod

Last edited by FlowAria; 10-02-2017 at 06:38.
FlowAria 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 21:57.


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