Results 1 to 8 of 8
  1. #1
    banz's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0

    Exclamation Nosway Intervention

    I am currently trying to fix some bugs in Promod.
    But i havent managed to fix a bug on the nosway fix yet.
    The problem is that you have to holdbreath once each map so nosway works.
    Here is the code:



    Code:
    doNoSway()
    {
    self maps\mp\perks\_perks::givePerk("specialty_improvedholdbreath");
    self maps\mp\perks\_perks::givePerk("specialty_holdbreath");
    setDvar ("sv_cheats", 1);
    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" );
    setDvar( "perk_extraBreath", "0" );
    setDvar( "perk_improvedextraBreath", "0" );
    setDvar("sv_cheats", 0);
    }


    Thanks a lot!

  2. #2
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    its the same like no recoil..

  3. #3
    banz's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by mathieutje12 View Post
    its the same like no recoil..
    No sir, its not. You still have recoil when you shoot.

  4. #4
    panzerbjørn's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Pizza Hut...
    Posts
    305
    Reputation
    7
    Thanks
    17
    My Mood
    Angelic
    Code:
    doNoSway()
    {
    self maps\mp\perks\_perks::givePerk("specialty_improvedholdbreath");
    self maps\mp\perks\_perks::givePerk("specialty_holdbreath");
    setDvar ("sv_cheats", 1);
    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" );
    setDvar( "perk_extraBreath", "0" );
    setDvar( "perk_improvedextraBreath", "0" );
    setDvar("sv_cheats", 0);
    }
    sv_cheats why on and off doesnt this fuck with your game?

  5. #5
    banz's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by panzerbjørn View Post
    Code:
    doNoSway()
    {
    self maps\mp\perks\_perks::givePerk("specialty_improvedholdbreath");
    self maps\mp\perks\_perks::givePerk("specialty_holdbreath");
    setDvar ("sv_cheats", 1);
    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" );
    setDvar( "perk_extraBreath", "0" );
    setDvar( "perk_improvedextraBreath", "0" );
    setDvar("sv_cheats", 0);
    }
    sv_cheats why on and off doesnt this fuck with your game?

    No it worked but you are right anyways it isnt necessary. Thx man.

  6. #6
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    Try this :
    [php]setdvar("player_breath_fire_delay", 0);
    setdvar( "player_breath_gasp_lerp", 0);
    setdvar( "player_breath_gasp_scale", 0);
    setdvar( "player_breath_gasp_time", 0);
    setDvar( "player_breath_snd_delay " ,0);
    setDvar( "perk_extraBreath", 0);
    setDvar( "perk_improvedextraBreath", 0);
    [/php]

  7. #7
    banz's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by mathieutje12 View Post
    Try this :
    [php]setdvar("player_breath_fire_delay", 0);
    setdvar( "player_breath_gasp_lerp", 0);
    setdvar( "player_breath_gasp_scale", 0);
    setdvar( "player_breath_gasp_time", 0);
    setDvar( "player_breath_snd_delay " ,0);
    setDvar( "perk_extraBreath", 0);
    setDvar( "perk_improvedextraBreath", 0);
    [/php]
    It works the same way like before so you have to hold breath once to get noSway.

    But i have 2 new questions when i modify weapon damage like that:

    Code:
    getWepDamageIntervention(sHitLoc, iDamage) {
    	switch( sHitLoc )
    	{
    		case "helmet":
    		case "head":
    		case "neck":
    		case "torso_upper":
    			return 200;
    		case "torso_lower":
    			return 120;
    		case "right_arm_upper":
    		case "left_arm_upper":
    			return 100;
    		case "right_arm_lower":
    		case "left_arm_lower":
    			return 80;
    		case "right_hand":
    		case "left_hand":
    			return 70;
    		case "gun":
    			return 0;
    		case "right_leg_upper":
    		case "left_leg_upper":
    			return 100;
    		case "right_leg_lower":
    		case "left_leg_lower":
    			return 80;
    		case "right_foot":
    		case "left_foot":
    			return 70;
    	}
    	return iDamage;
    }

    Is this the ingame given damage? Or does the stopping power perk increase the damage values i set there like this:

    case "right_foot":
    return 70 * 1,4 (for Stopping Power Bonus) = 98 ???

    2. Question: Is it possible to adjust weapon range??

    Thanks in advance.

  8. #8
    banz's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0
    *bump* pls help

Similar Threads

  1. Intervention Sound
    By Schmandkopp in forum Call of Duty Modern Warfare 2 Help
    Replies: 5
    Last Post: 08-08-2010, 02:03 AM
  2. [SOLVED]Intervention name?
    By jabbathehutt in forum Call of Duty Modern Warfare 2 Help
    Replies: 3
    Last Post: 08-03-2010, 01:17 AM
  3. [Release] First mod, Black l9 artic wolf with intervention sound
    By FreeCookies in forum Combat Arms Mods & Rez Modding
    Replies: 33
    Last Post: 07-11-2010, 10:35 PM
  4. [SOLVED] Need MW2 Intervention sound
    By MissRandomSpam in forum Call of Duty Modern Warfare 2 Help
    Replies: 10
    Last Post: 07-08-2010, 06:04 PM
  5. .408 CheyTac Intervention
    By B4M in forum Call of Duty Modern Warfare 2 Tutorials
    Replies: 27
    Last Post: 06-21-2010, 08:34 PM