Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
How to make bots to not using some vehicles? https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=3661 |
Page 1 of 2 |
Author: | can1.111 [ Wed Jan 02, 2008 2:50 am ] |
Post subject: | How to make bots to not using some vehicles? |
Hi all If i run a co-op server with planes the bots get in it and flies the whole time until the next round. My question is how to make bots that they dont use any vehicles serverside. Thx for any helping answer Best Regards MaX |
Author: | POTAmatt [ Wed Jan 02, 2008 6:34 am ] |
Post subject: | Re: How to make bots to not using some vehicles? |
The easiest way i've found is to tell the bots that the vehicle is slower than he is. So if the soldier's maxspeed is 5, and i don't want the bots driving the M3A1 halftrack, do this: aiTemplatePlugIn.active M3A1Mobile aiTemplatePlugIn.maxSpeed 4.0 Should work for planes as well. |
Author: | Urglub [ Wed Jan 02, 2008 7:04 am ] |
Post subject: | Re: How to make bots to not using some vehicles? |
Author: | can1.111 [ Wed Jan 02, 2008 1:55 pm ] |
Post subject: | Re: How to make bots to not using some vehicles? |
Ty for helping Best Regards MaX |
Author: | can1.111 [ Wed Jan 02, 2008 2:46 pm ] |
Post subject: | Re: How to make bots to not using some vehicles? |
Author: | Urglub [ Wed Jan 02, 2008 3:06 pm ] |
Post subject: | Re: How to make bots to not using some vehicles? |
Does it have more then 1 seat? |
Author: | can1.111 [ Wed Jan 02, 2008 3:48 pm ] |
Post subject: | Re: How to make bots to not using some vehicles? |
No it has only 1 seat |
Author: | Archimonde0_0 [ Wed Jan 02, 2008 7:10 pm ] |
Post subject: | Re: How to make bots to not using some vehicles? |
you could always try giving the vehicle a strategic importance of 0.0 for the bot. in the vehicles AI/Objects.con is where you'll find that code. Its someting strength. but set it to 0 they shouldnt use it. |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |