Hello all! I've been making a shield generator for Area 51. I made it so you can drive and walk through it but not shoot. that it until you pound the shield enough that it goes down. but my problem is that the bots see the shield as a solid wall that they can't shoot through. so my question is thus; is there any way to make the bots shoot just as the shield wasn't there? Thanks!
I think one way to solve it is to spawn a bot into the shield PCO. (set it up so the bot can't escape it). The spawn group that puts him into it would have the AIEnterOnSpawn command and the spawn group for it set to AI only.
Once you got a bot in it, (make sure the shield PCO has a AI template!), then enemy bots will fire at it since it's occupied and recognized as a enemy unit. Aside from that I don't think you can get bots to shoot through a solid object they can't see through. (unlike us humans, the alpha texturing of the shields means nothing to them. It's the collision mesh they only see and from their point of view, the shields are 100% opaque)
I think Operation Market Garden had bots spawn into a PCO version of the factory object so that bots would try to destroy it. Look at that map as the example on how to set up your shields.
Bots ignore PCOs with no AI templates. Thus they are invisible to them. My animated doors are PCOs on map I'm working on and the bots ignore them and try to drive through them (which is intended since this is what activates the door to open and let them through). I hadn't thought of that possibility in my initial reply.
I assume once the shields are PCOs I don't think you need to put any bot into it or anything. If there's someone/vehicle inside then they'll shoot at them. However if you want the bots to shoot at the shield it self, then you'd need to add an AI template and force a bot into the shield PCO so they have something they consider important enough to shoot at.