AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   How to do damage to yourself when the bullet misses? (https://forums.alliedmods.net/showthread.php?t=326902)

hode10001 08-22-2020 14:47

How to do damage to yourself when the bullet misses?
 
If the bullet misses, I want to damage myself.

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

Can you help me?

Bacardi 08-22-2020 15:04

Re: How to do damage to yourself when the bullet misses?
 
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.

hode10001 08-22-2020 22:02

Re: How to do damage to yourself when the bullet misses?
 
I want Team Fortress 2 to detect missed bullets.


All times are GMT -4. The time now is 03:08.

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