Release [GSC] No Recoil + Source

xCometMods

Modder
Messages
39
Points
378
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
583
Points
653
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
39
Points
378
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

Software Engineer
Premium Member
Messages
1,271
Points
748
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!

New Member
Messages
7
Points
3
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
376
Points
653
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 :)
Staff member
Messages
607
Points
728
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
Premium Member
Donator
Messages
1,307
Points
748
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