Post: Getting (headshot) weapon damage
11-10-2015, 04:08 AM #1
BullyWiiPlaza
Climbing up the ladder
(adsbygoogle = window.adsbygoogle || []).push({}); In the unfair aimbot script for example, the damage dealt is fixed to 100 meaning that it's always a one-shot-kill under normal conditions. How do I get the regular headshot damage of the current weapon? I know that range is another factor that may decrease it but it doesn't really matter to me if you just show me how to get the weapon damage from the smallest range possible a.k.a. standing right in front of somebody.
    aimAt thread [[level.callbackPlayerDamage]](self, self, 100 /*Use gun damage stat here*/, 0, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "head", 0, 0);
Last edited by BullyWiiPlaza ; 11-10-2015 at 04:10 AM.
11-13-2015, 02:54 PM #11
-Numb
You talkin to me?
Originally posted by BullyWiiPlaza View Post
It doesn't shoot through walls like the other one did...


Then put the second arg to also be aimAt getTagOrigin("j_head"), then it should work because it spawns and end on the players head and is not going trough any walls.
The only bad thing is that it don't got the range decrease, but you said that was okay so
    MagicBullet(self getcurrentweapon(), aimAt getTagOrigin("j_head"), aimAt getTagOrigin("j_head"),self);
11-14-2015, 01:41 AM #12
itsSorrow
In my man cave
Originally posted by Numb View Post
Then put the second arg to also be aimAt getTagOrigin("j_head"), then it should work because it spawns and end on the players head and is not going trough any walls.
The only bad thing is that it don't got the range decrease, but you said that was okay so
    MagicBullet(self getcurrentweapon(), aimAt getTagOrigin("j_head"), aimAt getTagOrigin("j_head"),self);


You didn't define aimAt yet so it would be player instead. Also the start would be the players head? It will not show at all since its starting at the head and ending at the head
11-14-2015, 10:14 AM #13
-Numb
You talkin to me?
Originally posted by GentleSlugger View Post
You didn't define aimAt yet so it would be player instead. Also the start would be the players head? It will not show at all since its starting at the head and ending at the head


He wanted to switch out "aimAt thread [[level.callbackPlayerDamage]]..." so aimAt is defined in his aimbot code?? lol
and what the hell are you talking about it will not show? He is not trying to do fake bullet trial, he wants to kill a player with the damage of his gun....
11-14-2015, 11:32 AM #14
itsSorrow
In my man cave
Originally posted by Numb View Post
He wanted to switch out "aimAt thread [[level.callbackPlayerDamage]]..." so aimAt is defined in his aimbot code?? lol
and what the hell are you talking about it will not show? He is not trying to do fake bullet trial, he wants to kill a player with the damage of his gun....


then just use the fucking callbackplayerdamage...
11-14-2015, 11:48 AM #15
-Numb
You talkin to me?
Originally posted by GentleSlugger View Post
then just use the fucking callbackplayerdamage...


You don't know what this thread is about? Read his question...
11-14-2015, 11:49 AM #16
itsSorrow
In my man cave
Originally posted by Numb View Post
You don't know what this thread is about? Read his question...


idk idc I can't read at fucking 5 am

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo