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

How is pain shock calculated?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cPhoenix
Junior Member
Join Date: Jun 2018
Old 09-10-2022 , 13:14   How is pain shock calculated?
Reply With Quote #1

I have been messing around with
PHP Code:
const OFFSET_PAINSHOCK 108 // ConnorMcLeod
set_pdata_float(idOFFSET_PAINSHOCK1.0); 
You can actually call it anywhere and get pained btw.
What i'm interested is how do valve calculate the value for painshock.
It does seem to depend on the damage of weapon and from how many hits in a row taken.
cPhoenix is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 09-11-2022 , 01:25   Re: How is pain shock calculated?
Reply With Quote #2

This may help you: https://forums.alliedmods.net/showthread.php?t=301970
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx 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 08:08.


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