|
Post by Marvel4 on Aug 22, 2012 11:41:41 GMT -5
stanceRecoilAdjuster() { self endon ( "death" ); self endon ( "disconnect" ); self notifyOnPlayerCommand( "adjustedStance", "+stance" ); self notifyOnPlayerCommand( "adjustedStance", "+goStand" ); for ( ;; ) { self waittill_any( "adjustedStance", "sprint_begin" ); weapClass = getWeaponClass( self GetCurrentPrimaryWeapon() ); if ( weapClass != "weapon_lmg" && weapClass != "weapon_sniper" ) continue; wait (.5 ); //necessary to ensure proper stance is given and to balance to ensure duck diving isnt a valid tactic self.stance = self GetStance(); if ( self.stance == "prone" ) { if ( weapClass == "weapon_lmg" ) self setRecoilScale( 0,40 ); else if ( weapClass == "weapon_sniper" ) self setRecoilScale( 0,60 ); else self setRecoilScale(); } else if ( self.stance == "crouch" ) { if ( weapClass == "weapon_lmg" ) self setRecoilScale( 0,10 ); else if ( weapClass == "weapon_sniper" ) self setRecoilScale( 0,30 ); else self setRecoilScale(); } else { self setRecoilScale(); } } }
/*setRecoilScale sets a relative recoil scaler if you pass 20 it will be a 20% reduction in recoil passing it no values will reset scale override to whatever value already exists in self.recoilScale or no override. */ setRecoilScale( scaler, scaleOverride ) { if ( !isDefined( scaler ) ) scaler = 0; if ( !isDefined( self.recoilScale ) ) self.recoilScale = scaler; else self.recoilScale += scaler; //for scale override if ( isDefined( scaleOverride ) ) { //will not override a lower value. if ( isDefined( self.recoilScale) && scaleOverride < self.recoilScale ) scaleOverride = self.recoilScale; scale = 100 - scaleOverride; } else scale = 100 - self.recoilScale; if ( scale < 0 ) scale = 0; if ( scale > 100 ) scale = 100; if ( scale == 100 ) { self player_recoilScaleOff(); return; } self player_recoilScaleOn( scale ); }
|
|
|
Post by MoopusMaximus on Aug 22, 2012 11:53:32 GMT -5
How did you get this? Isn't it encrypted?
Marvel, Are you G IH A IN ID II?
jk.
|
|
|
Post by A Unicorn with the Flag on Aug 22, 2012 12:35:06 GMT -5
Cool shit.
|
|
Lexapro
True Bro
PSN: Lexa_pro
Posts: 1,066
|
Post by Lexapro on Aug 22, 2012 13:08:21 GMT -5
So for LMGs, being prone reduces recoil by 40% and crouching, only 10% For Snipers, prone reduces recoil by 60% while crouching reduces it by 30%
Am I reading that right?
|
|
probaddie
True Bro
You're triggering my intelligence
Posts: 11,043
|
Post by probaddie on Aug 22, 2012 13:25:31 GMT -5
Holy shit. How the hell did you rip out raw code from MW3?
And what do these scalers reduce? Kick values? Or something else?
And if you can do that, why can't you get the data from the gun files?
Answer me!
|
|
mmacola
True Bro
the brazilian guy
Posts: 1,995
|
Post by mmacola on Aug 22, 2012 13:27:30 GMT -5
^ Kick values only
Idle Sway (another thing stance helps in certain weapons) is reduced by different mechanics
|
|
acidsnow
True Bro
Guardian Angel
Posts: 726
|
Post by acidsnow on Aug 22, 2012 13:30:11 GMT -5
So for LMGs, being prone reduces recoil by 40% and crouching, only 10% For Snipers, prone reduces recoil by 60% while crouching reduces it by 30% That's how I understand it, but you forgot to mention the game has a 0.5 second delay before applying the reduced recoil vale.
|
|
probaddie
True Bro
You're triggering my intelligence
Posts: 11,043
|
Post by probaddie on Aug 22, 2012 13:33:47 GMT -5
So for LMGs, being prone reduces recoil by 40% and crouching, only 10% For Snipers, prone reduces recoil by 60% while crouching reduces it by 30% That's how I understand it, but you forgot to mention the game has a 0.5 second delay before applying the reduced recoil vale. I think that's simply in place so that you don't receive the bonus the moment you hit that crouch/prone button.
|
|
mmacola
True Bro
the brazilian guy
Posts: 1,995
|
Post by mmacola on Aug 22, 2012 13:36:28 GMT -5
It is actually said there, that it is so to prevent people jumping and then crouching instantly, so you can get a kick reduce in the air. Quite irrelevant if you ask me :-P
|
|
|
Post by bmac39 on Aug 22, 2012 14:20:33 GMT -5
Wait so if we can get the data for this, can't we theoretically get the weapon files too?
|
|
|
Post by MoopusMaximus on Aug 22, 2012 14:45:56 GMT -5
The mysterious Marvel strikes again!
Maybe one day we will know his identity...
|
|
|
Post by MoopusMaximus on Aug 22, 2012 14:47:43 GMT -5
So for LMGs, being prone reduces recoil by 40% and crouching, only 10% For Snipers, prone reduces recoil by 60% while crouching reduces it by 30% That's how I understand it, but you forgot to mention the game has a 0.5 second delay before applying the reduced recoil vale. The line: Wait(0.5) //necessary to ensure proper stance is given and to balance to ensure duck diving isnt a valid tactic.Explains this.
|
|
|
Post by MoopusMaximus on Aug 22, 2012 14:53:21 GMT -5
Idk but I can't pronounce anything in german anyway, so that won't help. Marvel got a file from some guy with some decrypted s hit, is that correct? You're wrong. Marvel used his 'Kick-Ass' friends to obtain the file from IW. Get it right.
|
|
|
Post by MoopusMaximus on Aug 22, 2012 14:56:04 GMT -5
The movie is amazing. Loved the little girl. Especially the part where she's trained to take a bullet while wearing vests.
Classic.
|
|
|
Post by MoopusMaximus on Aug 22, 2012 15:01:03 GMT -5
Alright.
Geez, what a douchebag.
Oh doo-doo, he's reading this!
Run!
poopysmellycockapoopoo
|
|
Tyzerra
True Bro
Stay sharp.
Posts: 10,989
|
Post by Tyzerra on Aug 22, 2012 15:36:52 GMT -5
LMAO, you guys crack me up sometimes
|
|
danoski666
True Bro
"He ran off the wall like a ninja!"
Posts: 2,484
|
Post by danoski666 on Aug 22, 2012 15:39:39 GMT -5
The framerate guy suceeds yet again.
|
|
Tyzerra
True Bro
Stay sharp.
Posts: 10,989
|
Post by Tyzerra on Aug 22, 2012 15:42:56 GMT -5
Dammit! I'm gonna be checking every reply I see now for secret messaging! Curse you Mousey!
|
|
|
Post by Disgruntled Jigglypuff on Aug 22, 2012 20:14:53 GMT -5
Marvel better not be Den in disguise!
Buff the M1216!
|
|
Lexapro
True Bro
PSN: Lexa_pro
Posts: 1,066
|
Post by Lexapro on Aug 23, 2012 0:34:11 GMT -5
So, can we get some gunkick numbers or what? Dragunov recoil?
|
|