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

(CSGO) C4 Explosion Damage


Post New Thread Reply   
 
Thread Tools Display Modes
Ark_Procession
Senior Member
Join Date: Jun 2020
Location: Argentina
Old 10-24-2021 , 10:36   Re: (CSGO) C4 Explosion Damage
Reply With Quote #11

Quote:
Originally Posted by Bacardi View Post
Updated post #6
Thanks, but it seems that there is no point in between, either you are in the deadly range of the c4, or you are not. that did not happen before. any ideas?

I tried adjusting the damage to a reasonable scale but lets say i put 1.0 damage scale and 1000 distance: the results are instance death from very far away instead of taking a proportion of the damage.
Ark_Procession is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-25-2021 , 15:07   Re: (CSGO) C4 Explosion Damage
Reply With Quote #12

Ok... I'm thinking how to tell this. Not 100% sure did I mess some point, however.

- The SM plugin which scale explosion damage #post 6 :
It works when player is damaged -> player get damaged because he is in explosion range.
Simple.


- You gave example radius 200, well that seems be very short range.
Here in picture is sphere with 200 radius and block 74 height which is player height.
Name:  untitled1.jpg
Views: 194
Size:  60.2 KB

What if you try bigger radius first ? 600 ?
Name:  untitled2.jpg
Views: 193
Size:  30.1 KB

But plugin from #post 6 again, bombexplosiondistance is filter. Player outside of that range do not get damage.
Try bombexplosiondistance 700

- Now trickiest part. #post 2
In-game bomb explosive radius. With this you can change explosion radius which damage player.
What you enter is actually max. damage what happen in dead center. Funny.
Default is map_setbombradius 500
You multiply max damage with 3.5
Code:
500 damage x 3.5 = 1750 radius
For 650 radius.
Code:
650 / 3.5 = ~186 damage
186 is kindy small max. damage...
Try map_setbombradius 186


At this point, you scale explosive damage scale, higher or lower.
Try bombdamagescale 2


in ...cfg/server.cfg
Code:
bombexplosiondistance 700
map_setbombradius 186
bombdamagescale 2

*Not enough ?
Increase map_setbombradius -> explosive range increase and damage
Increase or dercrease bombexplosiondistance -> set filter range, plugin block damage out of range.
Increase damage bombdamagescale -> scale normal damage bigger


*edit
I removed cvars max values from #post 6 code
__________________
Do not Private Message @me

Last edited by Bacardi; 10-25-2021 at 15:26.
Bacardi is offline
Ark_Procession
Senior Member
Join Date: Jun 2020
Location: Argentina
Old 10-25-2021 , 21:48   Re: (CSGO) C4 Explosion Damage
Reply With Quote #13

Quote:
Originally Posted by Bacardi View Post
Ok... I'm thinking how to tell this. Not 100% sure did I mess some point, however.

- The SM plugin which scale explosion damage #post 6 :
It works when player is damaged -> player get damaged because he is in explosion range.
Simple.


- You gave example radius 200, well that seems be very short range.
Here in picture is sphere with 200 radius and block 74 height which is player height.
Attachment 192053

What if you try bigger radius first ? 600 ?
Attachment 192052

But plugin from #post 6 again, bombexplosiondistance is filter. Player outside of that range do not get damage.
Try bombexplosiondistance 700

- Now trickiest part. #post 2
In-game bomb explosive radius. With this you can change explosion radius which damage player.
What you enter is actually max. damage what happen in dead center. Funny.
Default is map_setbombradius 500
You multiply max damage with 3.5
Code:
500 damage x 3.5 = 1750 radius
For 650 radius.
Code:
650 / 3.5 = ~186 damage
186 is kindy small max. damage...
Try map_setbombradius 186


At this point, you scale explosive damage scale, higher or lower.
Try bombdamagescale 2


in ...cfg/server.cfg
Code:
bombexplosiondistance 700
map_setbombradius 186
bombdamagescale 2

*Not enough ?
Increase map_setbombradius -> explosive range increase and damage
Increase or dercrease bombexplosiondistance -> set filter range, plugin block damage out of range.
Increase damage bombdamagescale -> scale normal damage bigger


*edit
I removed cvars max values from #post 6 code
AMAZING explanation, now everything works as expected! thank you for all your time. i hope you can help me with other requests i made... i wont have many more than that tho...
Ark_Procession is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-26-2021 , 02:00   Re: (CSGO) C4 Explosion Damage
Reply With Quote #14

Good, I was almost sure I screw something between these. Glad it worked.
__________________
Do not Private Message @me
Bacardi 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:36.


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