Bots lie down more?

Ask questions, discuss ideas, get answers
Post Reply
modder
Posts: 5
Joined: Fri Dec 03, 2010 6:01 pm

Bots lie down more?

Post 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
modder
Posts: 5
Joined: Fri Dec 03, 2010 6:01 pm

Re: Bots lie down more?

Post by modder »

anyone?
tekk
Posts: 171
Joined: Fri Dec 11, 2009 6:12 pm

Re: Bots lie down more?

Post by tekk »

I can try shed some light on this for you, gimme a min to go thru which files u need to change
Nodbrother- "getting whiped every single game by some over-active 9 year old kid with too much spare time and a reaction time that is a third of yours."
tekk
Posts: 171
Joined: Fri Dec 11, 2009 6:12 pm

Re: Bots lie down more?

Post 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
Nodbrother- "getting whiped every single game by some over-active 9 year old kid with too much spare time and a reaction time that is a third of yours."
Post Reply