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

Ultimate Block Wall Shoot


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
AGoodGuy
Member
Join Date: Sep 2014
Old 09-20-2014 , 02:17   Ultimate Block Wall Shoot
Reply With Quote #1

Ultimate Block Wall Shoot


I know have 2 old plugins have this function, i try all, but always have mistake in my weapon plugins. Sometimes can't block with:


No Walls 0.13 by Avalanche

and

No Wall Damage by anakin_cstrike


So i decide try to make some new, and i found the way to block fully and exactly, and no bug. If have mistake, please comment and i
will try to fix this. Thank so much!


Description:

Plugin fully block shoot through the wall.


Version:
1.0
Attached Files
File Type: sma Get Plugin or Get Source (amx_block_wall_shoot.sma - 666 views - 1.2 KB)
__________________
Without Passion Life Is Nothing

Quote:
“If you can't fly then run, if you can't run then walk, if you can't walk then crawl, but whatever you do, you have to keep moving forward.”― Martin Luther King Jr.
AGoodGuy is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 09-20-2014 , 02:52   Re: Ultimate Block Wall Shoot
Reply With Quote #2

Updated No Walls Plugin.

Also your plugin will not work effectively because your checking only player origin to player origin, rather than bullet hit origin.
hornet is offline
AGoodGuy
Member
Join Date: Sep 2014
Old 09-20-2014 , 05:38   Re: Ultimate Block Wall Shoot
Reply With Quote #3

Thank for your help, i test again and found a mistake, checking only player origin to player origin is not great. Please remove this for me.

Ah, i want to ask you, with is_wall_between_points stock, it's great for check? Or have some perfect way than this?
__________________
Without Passion Life Is Nothing

Quote:
“If you can't fly then run, if you can't run then walk, if you can't walk then crawl, but whatever you do, you have to keep moving forward.”― Martin Luther King Jr.
AGoodGuy is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 09-20-2014 , 22:39   Re: Ultimate Block Wall Shoot
Reply With Quote #4

Well the reason my plugin uses TraceAttack() is because it provides you with the direction vector which I've used to fire from the bullet origin back towards the player in order to check for a wall.
hornet 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 07:16.


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