Coalz101 wrote:I'm sure there's maths somewhere that can get those two linked together. I don't know how the bf2 code works, but I'll assume something.
Your reasoning is coming from an assumption that game code has a mimic-ing relationship with our physical reality and that's just not the case. It has nothing to do with maths either instead it's the game having specific values and then calling onto that reference to do whatever with it(in layman's terms, before one of our IT gods rages at me for not knowing any better).
Is it possible to have deviation linked to key press and for how long the key is pressed. So lets say I've been holding shift for 5 seconds, so it takes an extra 2 seconds to deviate for every 5 seconds the key is pressed?
The system is a wee bit more intricate than my current understanding of it(since I'm only looking at the tweaker files), but I'm pretty sure that the game already takes movement speed into consideration when it calculates your "movement deviation" by having it build faster when sprinting rather than walking or crouch walking. Maybe it's just an impression I have?
In any event, what you're asking is already the case with moving, turning, shooting, but once you stop the interaction the game will slowly decay the deviation down to the minimum of your current weapon. It doesn't factor in exhaustion, Hit Points, whether or not you're in a squad or whatever other random thing you can come up with. The rate of build up and decay is specifically defined within a weapon's deviation setting and calls onto specific actions, the ones I mentioned as well as jumping and going(!) prone. The game also detects whether or not you ADS, and whether you're prone, crouched or standing. Nothing else is called or referenced by the deviation system currently.
What you're asking is whether or not it's possible to have another reference for the deviation and the answer to that is "I don't know". I don't know if the 5 deviation settings are all we have because they are hardcoded into the game's engine. If not, I guess it ought to be possible to get something done once we understand how the game itself contextualises the deviation in its own logic.
VTRaptor: but i only stopped for less than 10 secs and that fucking awesome dude put 2 of them
]CIA[ SwampFox: well my definition of glitching is using an enemy kit to kill the enemy
Just_Dave: i have a list about PR players, and they r categorized by their skill
Para: You sir are an arse and not what the game or our community needs.
AlonTavor: Is that a German trying to make me concentrate?
Heavy Death: join PRTA instead - Teamwork is a must there.