Stamina-related accuracy
-
SnipingCoward
- Posts: 2326
- Joined: 2007-12-31 22:40
maybe they can make the immense stamina loss be triggered only when the dolphin-dive/roll-dive animation was triggered?
Got a PROBLEM? Check this: PR:BF2 Installation Guide
Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ
"Hello, IT! ... Yes, have you tried turning it on and off again?"
Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ
"Hello, IT! ... Yes, have you tried turning it on and off again?"
-
Masaq
- Retired PR Developer
- Posts: 10043
- Joined: 2006-09-23 16:29
Well, I did search but didn't come up with anything so I defend that one 
Will merge the topics though.
Johnny - those values you posted seem to relate to movement rather than character's position?
Will merge the topics though.
Johnny - those values you posted seem to relate to movement rather than character's position?
"That's how it starts, Mas, with that warm happy feeling inside. Pretty soon you're rocking in the corner, a full grown dog addict, wondering where your next St Bernand is coming from..." - IAJTHOMAS
"Did they say what he's angry about?" asked Annette Mitchell, 77, of the district, stranded after seeing a double feature of "Piranha 3D" and "The Last Exorcism." - Washington Post
-
Masaq
- Retired PR Developer
- Posts: 10043
- Joined: 2006-09-23 16:29
Wanna talk to me about how using that variable would bring about the outcome we're looking for?
"That's how it starts, Mas, with that warm happy feeling inside. Pretty soon you're rocking in the corner, a full grown dog addict, wondering where your next St Bernand is coming from..." - IAJTHOMAS
"Did they say what he's angry about?" asked Annette Mitchell, 77, of the district, stranded after seeing a double feature of "Piranha 3D" and "The Last Exorcism." - Washington Post
-
Masaq
- Retired PR Developer
- Posts: 10043
- Joined: 2006-09-23 16:29
Would it discriminate between walking and crouched walking? That'd be pretty useful.
Also, it wouldn't create the additional bonus of helping limit prone-diving by using the: "going prone -> reduces stamina -> temporarily reduces accuracy" benefit, but by the sound of it that's not possible at all?
Also, it wouldn't create the additional bonus of helping limit prone-diving by using the: "going prone -> reduces stamina -> temporarily reduces accuracy" benefit, but by the sound of it that's not possible at all?
"That's how it starts, Mas, with that warm happy feeling inside. Pretty soon you're rocking in the corner, a full grown dog addict, wondering where your next St Bernand is coming from..." - IAJTHOMAS
"Did they say what he's angry about?" asked Annette Mitchell, 77, of the district, stranded after seeing a double feature of "Piranha 3D" and "The Last Exorcism." - Washington Post
-
nedlands1
- Posts: 1467
- Joined: 2006-05-28 09:50
Jonny is right when he says, "there is no way to discriminate between walking and running". The time you move for and whether it is a strafe movement or forwards/backwards movement is how the deviation is determined. Having said that, there is something that can be done. There is a zoom modifier for deviation. Currently it is set at "1" which means looking down you sights is as accurate as not looking down them. If this value was set to something low(X) and the base deviation was increased, then moving with the sights up would be far more effective as the deviation added due to moving would be X times less. I believe that moving with the sights up would be more effective than moving then bringing the sights up to shoot.

-
Masaq
- Retired PR Developer
- Posts: 10043
- Joined: 2006-09-23 16:29
Interesting thought... how easy would be it be to plumb a couple of values into this and try it out?
"That's how it starts, Mas, with that warm happy feeling inside. Pretty soon you're rocking in the corner, a full grown dog addict, wondering where your next St Bernand is coming from..." - IAJTHOMAS
"Did they say what he's angry about?" asked Annette Mitchell, 77, of the district, stranded after seeing a double feature of "Piranha 3D" and "The Last Exorcism." - Washington Post
-
nedlands1
- Posts: 1467
- Joined: 2006-05-28 09:50
Fairly simple. Clone the PR mod folder (located here: C:\Program Files\EA GAMES\Battlefield 2\mods, rename and create a shortcut of to it. Open up "C:\Program Files\EA GAMES\Battlefield 2\mods\[YOUR MOD'S NAME]\objects\objects_server.zip\Weapons\Handheld". Look for a weapon you wish to modify. Open the .tweak file. Find this line, "rem ---BeginComp:SoldierDeviationComp ---" and change the "ObjectTemplate.deviation..." values below it. Save your changes in the the archive and trial it. I'm pretty sure the general formula for random deviation is as follows.[R-MOD]Masaq wrote:Interesting thought... how easy would be it be to plumb a couple of values into this and try it out?
Random Deviation = [{Base Deviation (minDev)+ Other Deviation (turnDev, speedDev and miscDev)} * Stance (devModStand, devModCrouch or devModLie) + Additional Shots (fireDev)] * Zoom Modifier (devModZoom)
Jonny would tell you that the measurements are in "BF2 degrees" which are equivalent to two normal degrees. I'd say that it is in normal degrees, but measured differently (instead of the whole arc it is just from the centre to an outer point). The reason I say this is because with other measurements, conventional degrees are used (eg the orientation of objects). Either way you think about it, it works. An example:
Code: Select all
ObjectTemplate.deviation.minDev 90
ObjectTemplate.deviation.setFireDev 0 0 0
ObjectTemplate.deviation.setTurnDev 0 0 0 0
ObjectTemplate.deviation.setSpeedDev 0 0 0 0
ObjectTemplate.deviation.setMiscDev 0 0 0
ObjectTemplate.deviation.devModStand 1
ObjectTemplate.deviation.devModCrouch 0.5
ObjectTemplate.deviation.devModLie 0.25
ObjectTemplate.deviation.devModZoom 1Code: Select all
ObjectTemplate.deviation.minDev 5
ObjectTemplate.deviation.setFireDev 0 0 0
ObjectTemplate.deviation.setTurnDev 0 0 0 0
ObjectTemplate.deviation.setSpeedDev 0 0 0 0
ObjectTemplate.deviation.setMiscDev 0 0 0
ObjectTemplate.deviation.devModStand 1
ObjectTemplate.deviation.devModCrouch 1
ObjectTemplate.deviation.devModLie 1
ObjectTemplate.deviation.devModZoom 1-
maarit
- Posts: 1145
- Joined: 2008-02-04 17:21
Re: Stamina-related accuracy
i did search and i found this.
is this even possible,link the stamina bar to the accuracy?
the positive sides about this would be regrouping to the squadleader.
i mean when your squad is running place called "x".
your squadmembers staminas is low and accuracy is gone.
squadleader has to command other to: "regroup","do not engage the enemy".
and sorry if this suggestion is imbossible and sorry that i upped this old thread.
but i like the idea.
is this even possible,link the stamina bar to the accuracy?
the positive sides about this would be regrouping to the squadleader.
i mean when your squad is running place called "x".
your squadmembers staminas is low and accuracy is gone.
squadleader has to command other to: "regroup","do not engage the enemy".
and sorry if this suggestion is imbossible and sorry that i upped this old thread.
but i like the idea.
-
Jaymz
- Retired PR Developer
- Posts: 9138
- Joined: 2006-04-29 10:03
Re: Stamina-related accuracy
You can't link actual stamina, but you can link the amount of movement (which is already done).
..and for the love of god....

..and for the love of god....

"Clear the battlefield and let me see, All the profit from our victory." - Greg Lake
-
maarit
- Posts: 1145
- Joined: 2008-02-04 17:21
Re: Stamina-related accuracy
ok.but is deviation calculated somehow to the stamina?
i mean,if staminabar is full/empty is there difference how much i have to wait to shoot correctly?
or is it always 5 seconds?
i watched in youtube some video and there was some guy shooting with almost empty staminabar,one shot and kill.
and sorry again
ops:
edit:
http://www.youtube.com/watch?v=fwZ1rUFZF5E
in that video in the end.he is so exhausted that he just barely can sprint but he still makes perfect shot.
so i think it doesnt matter how much you have stamina,just wait needed time and get perfect shot.
examble in mestiamap,theres a group who move slowly,aware about enemy,crouch,sometimes maybe little running...
then comes enemygroup running all the way from muttrahcity,staminas low,they just aim,wait sametime like crouching team and,gets a perfectshot.
maybe im wrong.
i mean,if staminabar is full/empty is there difference how much i have to wait to shoot correctly?
or is it always 5 seconds?
i watched in youtube some video and there was some guy shooting with almost empty staminabar,one shot and kill.
and sorry again
edit:
http://www.youtube.com/watch?v=fwZ1rUFZF5E
in that video in the end.he is so exhausted that he just barely can sprint but he still makes perfect shot.
so i think it doesnt matter how much you have stamina,just wait needed time and get perfect shot.
examble in mestiamap,theres a group who move slowly,aware about enemy,crouch,sometimes maybe little running...
then comes enemygroup running all the way from muttrahcity,staminas low,they just aim,wait sametime like crouching team and,gets a perfectshot.
maybe im wrong.
Last edited by maarit on 2009-10-22 14:41, edited 1 time in total.
-
Sniperdog
- Retired PR Developer
- Posts: 1177
- Joined: 2009-02-27 00:06
Re: Stamina-related accuracy
IF this is possible at all it would likely be done with either python or the Project Reality Executable. I was talking with Mosquil the other day and he mentioned that a lot of things that may seem hardcoded involving variables can actually be done with a custom executable running parallel to BF2.exe. Just my 2 cents >.> I would like to here DB's take on this.


Will Stahl aka "Merlin" in the Squad community
-
Jaymz
- Retired PR Developer
- Posts: 9138
- Joined: 2006-04-29 10:03
Re: Stamina-related accuracy
Deviation calculations through python? I don't think that would work. I'd like to hear db's thoughts on that as well.
"Clear the battlefield and let me see, All the profit from our victory." - Greg Lake
-
hiberNative
- Posts: 7305
- Joined: 2008-08-08 19:36
Re: Stamina-related accuracy
i don't like it.
i have to jump too much since pr doesn't allow me to slide over small, waist high objects and sometimes even small steps. i don't want accuracy penalties for just traversing 2 small objects in front of me.
edit: and i can't believe some of you want to restrict the game even more.
i have to jump too much since pr doesn't allow me to slide over small, waist high objects and sometimes even small steps. i don't want accuracy penalties for just traversing 2 small objects in front of me.
edit: and i can't believe some of you want to restrict the game even more.
Last edited by hiberNative on 2009-10-22 13:40, edited 1 time in total.
-
BogusBoo
- Posts: 197
- Joined: 2009-10-20 15:15
Re: Stamina-related accuracy
I really really really really really really..............................................Like it
Colonel, Founder and Proud Leader of the Crossfire Gaming Coalition.
-
spawncaptain
- Posts: 466
- Joined: 2009-05-22 20:11
Re: Stamina-related accuracy
I've never seen a dev post that before.[R-DEV]Jaymz wrote:You can't link actual stamina, but you can link the amount of movement (which is already done).
Are you sure that moving a bit in order to get a better view increases your deviation less than walking for half an hour?
My personal experience as a PR player is that both actions increase deviation by the same amount.
Or did you refer to a WIP?
User Ubaydah: "I used to play Call of Duty a lot and Battlefield 3. I am really good at those games 10th prestige, High K/d., I can kill people easily, etc. But on PR, for me, to be honest, I kind of suck."
User Not_able_to_kill: "Frontliner, you like evil man who comes to family house during christmas, takes out tree because it's too happy, so they can be just as sad as you"
User Not_able_to_kill: "Frontliner, you like evil man who comes to family house during christmas, takes out tree because it's too happy, so they can be just as sad as you"
-
Jaymz
- Retired PR Developer
- Posts: 9138
- Joined: 2006-04-29 10:03
Re: Stamina-related accuracy
spawncaptain wrote:I've never seen a dev post that before.
Are you sure that moving a bit in order to get a better view increases your deviation less than walking for half an hour?
My personal experience as a PR player is that both actions increase deviation by the same amount.
Or did you refer to a WIP?
I'm working on a system for 0.9 that will allow small corrections/movements to me made without affecting your deviation as much as it does now. It will be like...
- Moving for 1 seconds = 1 seconds until maximum accuracy
- Moving for 2 seconds = 2 seconds until maximum accuracy
- Moving for 3 seconds = 3 seconds until maximum accuracy
- Moving for 4 seconds = 4 seconds until maximum accuracy
- Moving for 5 seconds = 5 seconds until maximum accuracy (this is the max, you never have to wait longer than 5 seconds)
- Moving for 6 seconds = 5 seconds until maximum accuracy
- Moving for 7 seconds = 5 seconds until maximum accuracy
- etc etc etc
"Clear the battlefield and let me see, All the profit from our victory." - Greg Lake


