Results 1 to 6 of 6
  1. #1
    ElpidiosMan's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0

    Question No recoil question

    I want no recoil for all weapons except cheytac in my mod but i dont know how....if any one know tell me
    Last edited by ElpidiosMan; 07-20-2012 at 03:27 AM.

  2. #2
    tylergott's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    209
    Reputation
    11
    Thanks
    650
    My Mood
    Devilish
    Quote Originally Posted by ElpidiosMan View Post
    I want no recoil for all weapons except cheytac but i dont know how....if any one know tell me
    Unfortunatley "No Recoil" Involves "Writing Into The game's Memory" Which Is What Most Anti-Hack Programs Are Looking For Like VAC
    I Do not Have The Answer to your Question Unfortunatley But I Hope I Changed your mind About it If You CARE About your Account xD
    Otherwise Like I Say "Happy Hacking"

  3. #3
    ElpidiosMan's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    ..........i play on fourdeltaone and i want it for my MODDDDDDD
    Last edited by ElpidiosMan; 07-20-2012 at 03:13 AM.

  4. #4
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,984
    Reputation
    176
    Thanks
    919
    My Mood
    Blah
    Quote Originally Posted by tylergott View Post


    Unfortunatley "No Recoil" Involves "Writing Into The game's Memory" Which Is What Most Anti-Hack Programs Are Looking For Like VAC
    I Do not Have The Answer to your Question Unfortunatley But I Hope I Changed your mind About it If You CARE About your Account xD
    Otherwise Like I Say "Happy Hacking"
    He wants to do it via GSC coding


    The lines in my Steam are i's

  5. #5
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,112
    My Mood
    Angelic
    Quote Originally Posted by ElpidiosMan View Post
    I want no recoil for all weapons except cheytac in my mod but i dont know how....if any one know tell me
    Search Helps....
    https://www.mpgh.net/forum/323-call-d...iper-sway.html

    Code:
    setdvar( "player_breath_fire_delay ", "0" );
    setdvar( "player_breath_gasp_lerp", "0" );
    setdvar( "player_breath_gasp_scale", "0.0" );
    setdvar( "player_breath_gasp_time", "0" );
    setDvar( "player_breath_snd_delay ", "0" );
    And with some extra look:
    Code:
    CurrentWeapon= self GetCurrentWeapon();
    if ( isSubStr(CurrentWeapon,"cheytac") ) // Checks if the weapon name contains: cheytac
    {
    setdvar( "player_breath_fire_delay", getDvar("player_breath_fire_delay") );
    setdvar( "player_breath_gasp_lerp", getDvar("player_breath_gasp_lerp") );
    setdvar( "player_breath_gasp_scale", getDvar("player_breath_gasp_scale") );
    setdvar( "player_breath_gasp_time", getDvar("player_breath_gasp_time") );
    setDvar( "player_breath_snd_delay", getDvar("player_breath_snd_delay") );
    }
    else
    {
    setdvar( "player_breath_fire_delay", "0" );
    setdvar( "player_breath_gasp_lerp", "0" );
    setdvar( "player_breath_gasp_scale", "0.0" );
    setdvar( "player_breath_gasp_time", "0" );
    setDvar( "player_breath_snd_delay ", "0" );
    }
    Oki?

    Else you may just add it in a loop with some wait time:
    Code:
    NoWepRecoil()
    {
    //To avoid bugs ;)
    self endon("death");
    self endon("disconnect");
    
    for(;;)
    {
    CurrentWeapon= self GetCurrentWeapon();
    if ( isSubStr(CurrentWeapon,"cheytac") ) // Checks if the weapon name contains: cheytac
    {
    //Code will get the dvar Value. Might become wrong if the user first used the sniper. And switch back to something else. It might use the wrong values...
    setdvar( "player_breath_fire_delay", getDvar("player_breath_fire_delay") );
    setdvar( "player_breath_gasp_lerp", getDvar("player_breath_gasp_lerp") );
    setdvar( "player_breath_gasp_scale", getDvar("player_breath_gasp_scale") );
    setdvar( "player_breath_gasp_time", getDvar("player_breath_gasp_time") );
    setDvar( "player_breath_snd_delay", getDvar("player_breath_snd_delay") );
    }
    else
    {
    setdvar( "player_breath_fire_delay", "0" );
    setdvar( "player_breath_gasp_lerp", "0" );
    setdvar( "player_breath_gasp_scale", "0.0" );
    setdvar( "player_breath_gasp_time", "0" );
    setDvar( "player_breath_snd_delay ", "0" );
    }
    wait 1.5; //1 sec and 5 mili sec wait time.  Change if want
    }
    }
    And in the Player Spawn thread or so:
    Code:
    self thread NoWepRecoil();

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  6. #6
    tylergott's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    209
    Reputation
    11
    Thanks
    650
    My Mood
    Devilish
    Quote Originally Posted by Nachos View Post


    He wants to do it via GSC coding
    Ah I See,.. Then Go Fucking Crazy

Similar Threads

  1. question about recoil
    By gorman400 in forum Battlefield Heroes Hacks
    Replies: 3
    Last Post: 07-22-2009, 05:47 PM
  2. [Question] whats recoil?
    By gogopoop in forum Combat Arms Europe Hacks
    Replies: 12
    Last Post: 03-27-2009, 11:42 AM
  3. [Question]Recoil
    By Drater04 in forum Combat Arms Hacks & Cheats
    Replies: 0
    Last Post: 08-31-2008, 02:04 AM
  4. [Question] Is there a no recoil only hack here?
    By skip in forum Combat Arms Hacks & Cheats
    Replies: 11
    Last Post: 08-20-2008, 12:58 AM
  5. recoil question..
    By lowdownskin in forum Combat Arms Hacks & Cheats
    Replies: 1
    Last Post: 08-18-2008, 06:03 AM