Force Bots To Use Turrets
Moderator: Moderators
-
Zeddix
- Recruit Womprat Killer
- Posts: 5
- Joined: Sat May 09, 2009 9:51 am
Force Bots To Use Turrets
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?
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?
-
MileHighGuy
- Jedi

- Posts: 1194
- Joined: Fri Dec 19, 2008 7:58 pm
Re: Force Bots To Use Turrets
try placing a hintnode (if there is one)
- Eggman
- Master Bounty Hunter

- Posts: 1516
- Joined: Mon Jul 16, 2007 1:30 pm
- Projects :: Battlefront Chronicles
- Location: Las Vegas
Re: Force Bots To Use Turrets
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).
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Force Bots To Use Turrets
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.
-
MileHighGuy
- Jedi

- Posts: 1194
- Joined: Fri Dec 19, 2008 7:58 pm
Re: Force Bots To Use Turrets
its Pilottype = "self"
and i place hubs around turrets to get them to get in easier
and i place hubs around turrets to get them to get in easier
-
Zeddix
- Recruit Womprat Killer
- Posts: 5
- Joined: Sat May 09, 2009 9:51 am
Re: Force Bots To Use Turrets
Hmm okay,
not a brilliant idea, but maybe practical, if it works
.
I will check it out^^.
Thanks
not a brilliant idea, but maybe practical, if it works
I will check it out^^.
Thanks
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Force Bots To Use Turrets
if you make it autopiloted it will shot without being manned
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Force Bots To Use Turrets
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.
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Force Bots To Use Turrets
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.
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.
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Force Bots To Use Turrets
Actually I find it the opposite on Kamino you start shooting at them and they goMercuryNoodles 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.
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Force Bots To Use Turrets
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. 
