Page 1 of 1
Force Bots To Use Turrets
Posted: Sun May 10, 2009 4:51 am
by Zeddix
Hey Guys,
i hope it's a simply question. Is it possible to force bots to use turrets everytime?
I mean if a bot comes close to a turret.
Maybe set priority of turrets for bots higher?
Re: Force Bots To Use Turrets
Posted: Sun May 10, 2009 11:49 am
by MileHighGuy
try placing a hintnode (if there is one)
Re: Force Bots To Use Turrets
Posted: Sun May 10, 2009 12:29 pm
by Eggman
As far as I know, the AI is set to do that automatically. I believe one of the docs about hint nodes mentions that turrets act as their own hint nodes, so AI will use them if they come within a certain distance, the same as with vehicles (vehicle .odfs have a line that allows you to control the radius at which AI will notice them; I'm not sure if it works with turrets).
Re: Force Bots To Use Turrets
Posted: Sun May 10, 2009 12:50 pm
by Fiodis
Of course, if all you want is to have a turret that is always on, you could use the ODF line SelfPiloted = 1. (At least I think that's the line. Check through the auto turret ODF, it has it I think.) The upside: it's always in use by the AI. The downside: you can't enter it.
Re: Force Bots To Use Turrets
Posted: Sun May 10, 2009 1:54 pm
by MileHighGuy
its Pilottype = "self"
and i place hubs around turrets to get them to get in easier
Re: Force Bots To Use Turrets
Posted: Mon May 11, 2009 4:43 pm
by Zeddix
Hmm okay,
not a brilliant idea, but maybe practical, if it works

.
I will check it out^^.
Thanks
Re: Force Bots To Use Turrets
Posted: Wed May 13, 2009 9:48 am
by DarthD.U.C.K.
if you make it autopiloted it will shot without being manned
Re: Force Bots To Use Turrets
Posted: Wed May 13, 2009 10:51 am
by FragMe!
Have a look at shipped Kamino or Mos Eisley as I know, from being shot at a lot by them, those are the two maps I can think off the top where AI religously go to the turrets. See if they have hint nodes or pathing that makes the AI want to do that.
Re: Force Bots To Use Turrets
Posted: Wed May 13, 2009 12:15 pm
by MercuryNoodles
If I remember correctly, Pandemic also changed how AI prioritize the presence of an empty turret. If there's an enemy nearby, it will ignore the turret to face the threat. This was done because AI used to ignore being shot at in order to enter a turret. I can't seem to find the source of the info, however, despite being sure this was in a doc somewhere.
The turrets are technically vehicles, according to the docs, so perhaps you could try altering SetAIVehicleNotifyRadius to a higher value. It may not increase frequency of use in all cases, but it should increase the likelyhood of grabbing the attention of an idle unit.
Re: Force Bots To Use Turrets
Posted: Wed May 13, 2009 12:34 pm
by FragMe!
MercuryNoodles wrote:If I remember correctly, Pandemic also changed how AI prioritize the presence of an empty turret. If there's an enemy nearby, it will ignore the turret to face the threat. This was done because AI used to ignore being shot at in order to enter a turret. I can't seem to find the source of the info, however, despite being sure this was in a doc somewhere.
Actually I find it the opposite on Kamino you start shooting at them and they go

and run to the turret where it is easier to shoot them because they have stopped doing the little deking dance they like to do.
Re: Force Bots To Use Turrets
Posted: Wed May 13, 2009 1:42 pm
by MercuryNoodles
Well, it may be that I'm thinking of the change documented in the weapon notes that forces a turret to face one direction. I was certain what I posted about was changed and documented somewhere, but this goes to show how vivid my imagination can be. Several document searches and a glance at psych0fred's board turned up nothing.
