Page 1 of 1

Bots lie down more?

Posted: Wed Dec 08, 2010 10:18 pm
by modder
Hey,

I want this to be SSM which where bots will lie down more, i have a lieing down mod so you go faster. I thought it would be funny if the bots them self would use it, they use it occasionally but i want them to always be lieing down. Just a thought, anyone got any ideas? I do not want to make it so the humans have to be lieing down.

:D thanks

Re: Bots lie down more?

Posted: Fri Dec 10, 2010 4:22 pm
by modder
anyone?

Re: Bots lie down more?

Posted: Sun Dec 12, 2010 7:01 pm
by tekk
I can try shed some light on this for you, gimme a min to go thru which files u need to change

Re: Bots lie down more?

Posted: Sun Dec 12, 2010 7:08 pm
by tekk
I would suggest going into your game.rfa located in "C:\Program Files\EA Games\Battlefield 1942\Mods\bf1942\Archives\bf1942" , open it up and you will see "AIbehaviours" .
The lines I would suggest looking at are as follows

Code: Select all

rem *** Construct unit weights ***
aiSettings.createBehaviourModifiers UnitWeights
aiSettings.setBehaviourModifier Avoid       1.0
aiSettings.setBehaviourModifier MoveTo      1.0
aiSettings.setBehaviourModifier Idle        0.01
aiSettings.setBehaviourModifier Fire        9.0
aiSettings.setBehaviourModifier Special     1.0
aiSettings.setBehaviourModifier Scout       1.0
aiSettings.setBehaviourModifier TakeCover   1.0 <-------- This is the line that I think tells the bots to lay down ( Adjust higher and test the results )
aiSettings.setBehaviourModifier Change      1.0

rem *** Construct standard weights ***
aiSettings.createBehaviourModifiers StandardWeights
aiSettings.setBehaviourModifier Avoid       1.0
aiSettings.setBehaviourModifier MoveTo      1.5
aiSettings.setBehaviourModifier Idle        0.01
aiSettings.setBehaviourModifier Fire        9.0
aiSettings.setBehaviourModifier Special     1.0
aiSettings.setBehaviourModifier Scout       1.0
aiSettings.setBehaviourModifier TakeCover   2.0 <-------- This is the line that I think tells the bots to lay down ( Adjust higher and test the results )
aiSettings.setBehaviourModifier Change      1.9

rem *** Construct plane weights ***
aiSettings.createBehaviourModifiers PlaneWeights
aiSettings.setBehaviourModifier Avoid       0.0
aiSettings.setBehaviourModifier MoveTo      1.0
aiSettings.setBehaviourModifier Idle        0.01
aiSettings.setBehaviourModifier Fire        9.0
aiSettings.setBehaviourModifier Special     1.0
aiSettings.setBehaviourModifier Scout       1.0
aiSettings.setBehaviourModifier TakeCover   0.0 <-------- This is the line that I think tells the bots to lay down ( Adjust higher and test the results )
aiSettings.setBehaviourModifier Change      0.0
I hope this helps a bit even thou its not that descriptive