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

Head Moderator
Staff member
Head Staff Team
Donator
Messages
565
Points
303
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,234
Points
548
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

Moderator
Staff member
Head Staff Team
Messages
296
Points
453
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

Moderator
Staff member
Premium Member
Messages
591
Points
528
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,304
Points
548
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