Page 1 of 1

Question about better aiming

Posted: Wed Mar 07, 2012 5:19 pm
by Dakota
I was looking for a quicker way to make ai aim better than setting bubble sizes for ai aimming on each weapon so i went to the common folder and went com_inf_default and looked at these lines:

AimValue = "1.0"
AimFactorPostureSpecial = 50
AimFactorPostureStand = 100
AimFactorPostureCrouch = 140
AimFactorPostureProne = 160
AimFactorStrafe = 60
AimFactorMove = 70

Would inceasing the values just make them aim better, and could someone tell me exactly what the AimValue means? I can see that each of the other ones are for a different pose, and that special is the worse at aim, and prone is best (now crouch in swbf2), but I just am wondering what would I have to set it to to give them perfect aim.

Re: quick question on aimming

Posted: Wed Mar 07, 2012 6:53 pm
by Marth8880
My guess is that AimValue is a multiplier for the AimFactor parameters. I'll try mucking with it to see what happens.


EDIT:

Hmm, changing AimValue to 2.0 didn't seem to change anything... I'll do a little more research on it later.

Re: quick question on aimming

Posted: Thu Mar 08, 2012 1:16 am
by lucasfart
I'm not sure if this specifically influences aiming, but i don't see why not:
http://www.secretsociety.com/forum/down ... culty.html.

It's really worth having a look through Psychofreds docs, as there is quite a lot of handy stuff in them....

http://www.secretsociety.com/forum/downloads/BF2Docs/

@ Marth - Try changing it to something extreme - you're more likely to notice a difference in your sides if you make it an extreme value

@ Dakota - Try 1000. :P If they still aren't aiming perfectly, try 10,000. Repeat till desired effect is achieved. :D

Re: quick question on aimming

Posted: Thu Mar 08, 2012 5:04 pm
by Dakota
i'll probably do that. i was asking this in advance for my next mod i was making.

Side-Note: in my other one i would just change the bubblesizes for aimming on all weapons like i said before (look at sniper rifle for bubble reference). it simply took awhile but setting the bubble to 0 would give almost perfect aim, using the infinite jets in my mod would be a horrible idea if there are any snipers on the map.

Re: Question about better aiming

Posted: Thu Mar 08, 2012 11:23 pm
by AceMastermind
AimValue
AimFactorPostureSpecial
AimFactorPostureStand
AimFactorPostureCrouch
AimFactorPostureProne
AimFactorStrafe
AimFactorMove
Those properties are missing from ODF Parameters.txt on psych0fred's message board but are obviously found in a few ODFs.
Soldier, Walker and CommandWalker classlabels seem to support some or all of them but I have not tested anything here.

Re: Question about better aiming

Posted: Fri Mar 09, 2012 4:49 pm
by Dakota
So no one has tested this and made a document for it? I was actually expecting someone to want the ai to be even better than elite difficulty (they are still pretty weak at that level) and not have to do a bunch of stuff for it.

When I clear out a bit of space on my harddrive I'll probably start up the munger and start testing.

This could be pretty good if i ever wanted to make a nice sniper war server mod with ai. While we are speaking about aimming, I just have to wonder at about what level is the average swbf2 player at aimming in comparison to an ai.

Re: Question about better aiming

Posted: Fri Mar 09, 2012 7:31 pm
by THEWULFMAN
Dakota wrote:I was actually expecting someone to want the ai to be even better than elite difficulty (they are still pretty weak at that level) and not have to do a bunch of stuff for it.

AIBubbleCircle works very well for that purpose, my beta testers generally get their butt kicked when they try out BF3. The damage values are similar to stock as well, sometimes weaker than stock. Barrage + AIBubbleCircle makes a very deadly combo.

Re: Question about better aiming

Posted: Fri Mar 09, 2012 7:41 pm
by Marth8880
THEWULFMAN wrote:Barrage + AIBubbleCircle makes a very deadly combo.
Exactly correct. As WULF may know, my mod's Geth Prime is a deadly predator; it wields a powerful weapon, the M-76 Revenant Machine Gun, it has a ton of armor, but the unit moves at a very slow speed (it's 12 feet tall :P). It fires minimum of 24 shots and a maximum of 50 shots per barrage with a delay of 2 seconds between barrages.

Re: Question about better aiming

Posted: Fri Mar 09, 2012 7:52 pm
by CressAlbane
I think those might be values for how much your bullets will deviate in those positions.

Re: Question about better aiming

Posted: Fri Mar 09, 2012 10:38 pm
by lucasfart
I just noticed in the doc I linked to on difficulty, that it mentions easy, medium and hard, but aren't there only two difficulties ingame? Does this mean that medium difficulty is useless?
This works just like the above, but only for a specific profile setting. So if you want to leave medium alone, but make hard mode harder, you could do:

SetAIDifficulty(0, 3, "hard")
The last value can be "easy", "medium", or "hard".
It's also worth noting that if you wish to change the difficulty you must add the line

Code: Select all

DisableAIAutoBalance()
BELOW your SetAIDifficulty line. If you don't add it below, the custom difficulty does not take effect.

Re: Question about better aiming

Posted: Sat Mar 10, 2012 12:40 pm
by Dakota
lucasfart wrote:I just noticed in the doc I linked to on difficulty, that it mentions easy, medium and hard, but aren't there only two difficulties ingame? Does this mean that medium difficulty is useless?
This works just like the above, but only for a specific profile setting. So if you want to leave medium alone, but make hard mode harder, you could do:

SetAIDifficulty(0, 3, "hard")
The last value can be "easy", "medium", or "hard".
It's also worth noting that if you wish to change the difficulty you must add the line

Code: Select all

DisableAIAutoBalance()
BELOW your SetAIDifficulty line. If you don't add it below, the custom difficulty does not take effect.

i thought there were 3 levels in the ps2 version but i'm not really sure on it. all i know is that elite is hard and normal is most likely medium. they probably could have taken out the easy setting.

Re: Question about better aiming

Posted: Sat Mar 10, 2012 2:52 pm
by ARCTroopaNate
It feels like Elite is easy and normal is so-unbelievably-easy-it-will-blow-your-mind. :yes: I wasn't aware that there were three settings though, it thought there were only two...