Post: How to limit max kills per shot/disable collaterals?
02-06-2017, 03:02 PM #1
loltwat
Save Point
(adsbygoogle = window.adsbygoogle || []).push({}); How to limit max kills per shot/disable collaterals using gsc in bo2 on PC?
(adsbygoogle = window.adsbygoogle || []).push({});
02-06-2017, 05:12 PM #2
anthonything
Space Ninja
Originally posted by loltwat View Post
How to limit max kills per shot/disable collaterals using gsc in bo2 on PC?


The best you can do is make a monitor for health and after one person is hit, if the einflictor is the same on someone else, negate the damage, however I think that the engine's bullet projectiles are just raycasts and are instantaneous feedback (ie: It probably isnt possible)
02-06-2017, 07:02 PM #3
loltwat
Save Point
Originally posted by NXUser View Post
The best you can do is make a monitor for health and after one person is hit, if the einflictor is the same on someone else, negate the damage, however I think that the engine's bullet projectiles are just raycasts and are instantaneous feedback (ie: It probably isnt possible)

I've found crosshair aimbot and already got it to work.You mentioned bullet projectiles does it change anything about it if i am making an aimbot? (I am new to gsc btw)Also maybe i could limit max damage per shot?
02-06-2017, 07:05 PM #4
Luckeyy
Retired - Lead Content Manager
Originally posted by loltwat View Post
How to limit max kills per shot/disable collaterals using gsc in bo2 on PC?


Thread Moved - Call of Duty: Black Ops 2 GSC Mods and Scripts Questions
02-06-2017, 08:46 PM #5
Loz
Vault dweller
Originally posted by loltwat View Post
How to limit max kills per shot/disable collaterals using gsc in bo2 on PC?


u could override the damage callback & check if the idFlags is equal to 8, which means it penetrated something & if so set the damage to 0, however if its for an aimbot, just fix the aimbot to only kill 1 person @ once

The following user thanked Loz for this useful post:

anthonything
02-06-2017, 10:40 PM #6
loltwat
Save Point
loltwat
02-07-2017, 04:19 PM #7
Patrick
League Champion
Originally posted by loltwat View Post
how do i do that?
this is my aimbot code:

    
//code by doc
isRealistic(greasyNerd)
{
self.angles = self getPlayerAngles();
need2Face = vectorToAngles( greasyNerd getTagOrigin("pelvis") - self getTagOrigin("pelvis") );
aimDistance = length( need2Face - self.angles );
if(aimDistance < 25)
return true;
else
return false;
}


//The aimbot
aimBot()
{

self endon("disconnect");
self endon("death");
self endon("EndAutoAim");

for(;Winky Winky
{
self waittill( "weapon_fired");
abc=0;
foreach(player in level.players) {
if(isRealistic(player))
{
if(self.pers["team"] != player.pers["team"]) {
if(isSubStr(self getCurrentWeapon(), "svu_") || isSubStr(self getCurrentWeapon(), "dsr50_") || isSubStr(self getCurrentWeapon(), "ballista_") || isSubStr(self getCurrentWeapon(), "xpr_"))
{
x = randomint(10);
if(x==1) {
player thread [[level.callbackPlayerDamage]](self, self, 500, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "j_head", 0, 0 );
} else {
player thread [[level.callbackPlayerDamage]](self, self, 500, 8, "MOD_RIFLE_BULLET", self getCurrentWeapon(), (0,0,0), (0,0,0), "j_mainroot", 0, 0 );
}
}
}
}
}
}
}


loltwat

The following user thanked Patrick for this useful post:

anthonything
02-07-2017, 09:02 PM #8
loltwat
Save Point
bump bump

The following user groaned loltwat for this awful post:

anthonything
02-09-2017, 02:27 PM #9
Twats

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo