This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

How to do damage to yourself when the bullet misses?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hode10001
Junior Member
Join Date: Jun 2020
Old 08-22-2020 , 14:47   How to do damage to yourself when the bullet misses?
Reply With Quote #1

If the bullet misses, I want to damage myself.

However, I don't know how to detect a missed bullet.

Can you help me?
hode10001 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-22-2020 , 15:04   Re: How to do damage to yourself when the bullet misses?
Reply With Quote #2

What game is it ?

Because CS:GO have own cvar
Code:
"mp_weapon_self_inflict_amount" = "0"
FCVAR_GAMEDLL FCVAR_REPLICATED FCVAR_RELEASE 
- If Set to non-0, will hurt the attacker by the specified fraction of max damage if they miss.
Set mp_weapon_self_inflict_amount 0.05

*seems it stop work on 1HP, not kill you.
__________________
Do not Private Message @me

Last edited by Bacardi; 08-22-2020 at 15:06.
Bacardi is offline
hode10001
Junior Member
Join Date: Jun 2020
Old 08-22-2020 , 22:02   Re: How to do damage to yourself when the bullet misses?
Reply With Quote #3

I want Team Fortress 2 to detect missed bullets.
hode10001 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 13:28.


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