How bots "know" how to fire weapons.

Ask questions, discuss ideas, get answers
takiwa
Posts: 134
Joined: Mon Dec 30, 2013 4:29 pm
Location: The Great State of Georgia

Re: How bots "know" how to fire weapons.

Post by takiwa »

I seem to have misread your OP. You have 2 seperate FireArms template on the same input (since you did not specify any setInputFire command, the game will automatically use c_PIFire for both FireArms). POTAmatt is right on this one...the bots won't use 2 weapons with the same input. Sorry for the confusion, one day I will learn to read before I answer :roll:
Image
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: How bots "know" how to fire weapons.

Post by Swaffy »

What if the second FireArm doesn't have an AI template added to it? My B-17 has 12 separate bomb FireArms (automatic bomb drop) and only the first bomb has an AI tempalte and NetworkingInfo, so when the bot drops the first bomb it also drops the other 11 bombs without really knowing it. This acts like a carpet bomb. The same idea can most likely be used in this thread's situation.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: How bots "know" how to fire weapons.

Post by Vilespring »

I swear I removed the AI template of the dummy..... :x
I'll fix it when I come back from Florida, (tomorrow) this computer doesn't have my gigabytes of BF 1942..... stuff. (half my 100GB hard drive is BF 1942. Mainly unpacked objects RFAs of all the mods I have. The total conversions tend to be pretty big...)
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
Post Reply