Here is my idea:
Notice how bots never use their side arm, or how the try to shoot you with the Robar at CQB? An obvious idea to solve this is with a distance sensor, telling the bot what weapon to use at what range, it would work something like this:
10units-20units=knife:Exeption:9mm
200units-600units=M3;Mp5;Sig;.357;9mm;Grenade
600units-1200units=Sig;M16;Akmsu;PSG:Exeption:.357;9mm
1200units-(99)units [ (99) means infinity ]= Robar;PSG:Exeption:M16;Sig:Addon:Acog
Distance too Far=bot armed with correct weapon is called in if enemy is sighted; If true weapons in location no bots will be called in.
I know nothing of coding but it's sort of what it should maybe look like, basicly, if the bot doesn't have any of the right weapons, he calls his buddy over with that their .50 cal, and you can figure the rest out :]
And also, KeeK might be able to do this, but would it be possible to creat a new bot waypoint for movement types? Like you put in a waypoint named "INFrunpoint" or somethin like that, and it ends with another of the same kind? So the bot will run from one point to the other? Or if you want the bot to go prone, you could make a waypoint for this too. See what I'm saying?
Notice how bots never use their side arm, or how the try to shoot you with the Robar at CQB? An obvious idea to solve this is with a distance sensor, telling the bot what weapon to use at what range, it would work something like this:
10units-20units=knife:Exeption:9mm
200units-600units=M3;Mp5;Sig;.357;9mm;Grenade
600units-1200units=Sig;M16;Akmsu;PSG:Exeption:.357;9mm
1200units-(99)units [ (99) means infinity ]= Robar;PSG:Exeption:M16;Sig:Addon:Acog
Distance too Far=bot armed with correct weapon is called in if enemy is sighted; If true weapons in location no bots will be called in.
I know nothing of coding but it's sort of what it should maybe look like, basicly, if the bot doesn't have any of the right weapons, he calls his buddy over with that their .50 cal, and you can figure the rest out :]
And also, KeeK might be able to do this, but would it be possible to creat a new bot waypoint for movement types? Like you put in a waypoint named "INFrunpoint" or somethin like that, and it ends with another of the same kind? So the bot will run from one point to the other? Or if you want the bot to go prone, you could make a waypoint for this too. See what I'm saying?