Release [GSC] No Recoil + Source

xCometMods

Modder
Messages
68
Reaction score
38
Points
803
Here is the code thanks to thahitcrew:
Code:
ToggleRecoil()
{
    if( self.recoil == 0 )
    {
        self.recoil = 1;
        self iprintln( "No recoil ^2ON" );
        self thread DoRecoil();
    }
    else
    {
        self.recoil = 0;
        self iprintln( "No recoil ^1OFF" );
        self.entity delete();
        self notify("end_norecoil");
    }

}
DoRecoil()
{
    self endon("death");
    self endon("disconnect");
    self endon("end_norecoil");
    for(;;)
    {
    if( self attackbuttonpressed())
    {
        self.entity = spawn("script_origin", self.origin);
        self.entity.angles = self.angles;
        self linkto( self.entity );
    }
    else
    {
        if(!(self attackbuttonpressed()))
        {
            self.entity delete();
        }
    }
    wait 0.1;
    }
}
This does work very well without aimbot.
Video:
 
Last edited:

DF_AUS

Moderator
Staff member
Head Staff Team
Donator
Messages
582
Reaction score
826
Points
878
You should have posted this here: Release - Black Ops 2 GSC Managed Code List | CabConModding

Unless you are looking to release a variety of scripts please do not create threads for simply one code.
I will leave your thread enabled for now, as i am unaware if you are going to be releasing more scripts or not, regardless, i will add it to the GSC scripts thread for you :smile:
 
Last edited:

xCometMods

Modder
Messages
68
Reaction score
38
Points
803
You should have posted this here: Release - Black Ops 2 GSC Managed Code List | CabConModding

Unless you are looking to release a variety of scripts please do not create threads for simply one code.
I will leave your thread enabled for now, as i am unaware if you are going to be releasing for scripts or not, regardless, i will add it to the GSC scripts thread for you :smile:
Totally forgot about the manged code list but thanks for pointing it out!
 

Harry

Certified Sick ℂunt
Premium Member
Messages
1,263
Reaction score
969
Points
973
You should have posted this here: Release - Black Ops 2 GSC Managed Code List | CabConModding

Unless you are looking to release a variety of scripts please do not create threads for simply one code.
I will leave your thread enabled for now, as i am unaware if you are going to be releasing for scripts or not, regardless, i will add it to the GSC scripts thread for you :smile:
Donut talk shite to the leetest of haxors on here m-nine
 

Aqua!

Well-Known Member
Messages
7
Reaction score
1
Points
203
Is there a reason why it completely keeps you from moving while you shoot with the function enabled?
 

P!X

Head Moderator
Staff member
Head Staff Team
Messages
408
Reaction score
590
Points
878
Is there a reason why it completely keeps you from moving while you shoot with the function enabled?
Cause while attack button is pressed the player is linked to a script model
 

Pyrex BLJ

im done :)
Messages
605
Reaction score
338
Points
953
wouldnt it work better to use them gsx (maybe gcx idk) functions to directly change memory? yea it would require different offsets depending on what platform but you would be able to move and is less taxing on the game to run. and having a library of offsets for each platform wouldnt be too hard to implement.

i dont do any gsc tho so idk
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,327
Reaction score
763
Points
973
wouldnt it work better to use them gsx (maybe gcx idk) functions to directly change memory? yea it would require different offsets depending on what platform but you would be able to move and is less taxing on the game to run. and having a library of offsets for each platform wouldnt be too hard to implement.

i dont do any gsc tho so idk
yes.
 
Top