Raised This Month: $32 Target: $400
 8% 

Reduce the bullet damage through walls


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Will2
Junior Member
Join Date: Jan 2021
Old 01-24-2021 , 13:16   Reduce the bullet damage through walls
Reply With Quote #1

I am searching for a plugin, which reduces the bullet damage through walls
Will2 is offline
luciaus18
Senior Member
Join Date: Dec 2014
Old 01-25-2021 , 05:51   Re: Reduce the bullet damage through walls
Reply With Quote #2

Could be nice
luciaus18 is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 01-25-2021 , 21:31   Re: Reduce the bullet damage through walls
Reply With Quote #3

I haven't test yet but it should work.
Code:
Cvar:
	* wall_damage_mod 1/0 - enable/disable plugin [default 1]
	* wall_reduce_percent - reduce the damage x percent of damage [default 20%] (so player take 80% of default though wall damage)
Attached Files
File Type: sma Get Plugin or Get Source (wall_damage_mod.sma - 29 views - 1.8 KB)
__________________
My plugin:
Celena Luna is offline
Will2
Junior Member
Join Date: Jan 2021
Old 01-26-2021 , 12:32   Re: Reduce the bullet damage through walls
Reply With Quote #4

Quote:
Originally Posted by Celena Luna View Post
I haven't test yet but it should work.
Code:
Cvar:
	* wall_damage_mod 1/0 - enable/disable plugin [default 1]
	* wall_reduce_percent - reduce the damage x percent of damage [default 20%] (so player take 80% of default though wall damage)
i tried but i got this message after compile:

Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

wall_damage_mod.sma(58) : error 017: undefined symbol "percent"

1 Error.
Could not locate output file wall_damage_mod.amx (compile failed).

Last edited by Will2; 01-26-2021 at 12:34.
Will2 is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 01-26-2021 , 23:56   Re: Reduce the bullet damage through walls
Reply With Quote #5

Quote:
Originally Posted by Will2 View Post
i tried but i got this message after compile:

Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

wall_damage_mod.sma(58) : error 017: undefined symbol "percent"

1 Error.
Could not locate output file wall_damage_mod.amx (compile failed).
Fixed
Attached Files
File Type: sma Get Plugin or Get Source (wall_damage_mod.sma - 62 views - 1.8 KB)
__________________
My plugin:
Celena Luna is offline
Will2
Junior Member
Join Date: Jan 2021
Old 01-27-2021 , 14:39   Re: Reduce the bullet damage through walls
Reply With Quote #6

The plugin is working now, but it can't be damaged through the wall at all, even if we change the percentage. Thank you very much for your help!
Will2 is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 01-27-2021 , 20:49   Re: Reduce the bullet damage through walls
Reply With Quote #7

Quote:
Originally Posted by Will2 View Post
The plugin is working now, but it can't be damaged through the wall at all, even if we change the percentage. Thank you very much for your help!
Could u test it again?
Attached Files
File Type: sma Get Plugin or Get Source (wall_damage_mod.sma - 76 views - 1.9 KB)
__________________
My plugin:
Celena Luna is offline
Will2
Junior Member
Join Date: Jan 2021
Old 01-28-2021 , 14:26   Re: Reduce the bullet damage through walls
Reply With Quote #8

Thank you very much, it works perfectly!!
Will2 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 05:55.


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