Alright, so I am having really...awkward issues with auto-piloted bombers that I set up. I have flyer splines set up for the bombers to do bombing "swoops" and the bombers follow them correctly (sorta) but odd things are happening (zomg); there's a random spot near the beginning of the spline where the flyers just like to explode for no apparent reason; also, the bombers don't *usually* seem to be aiming at anything when they drop their load, they instead just drop it randomly, usually in one completely random edge of the map where literally nothing exists at ([herp]other than terrain[/derp]).
My ultimate questions are: why do the flyers keep exploding randomly in that one general area, and why do they keep barraging nothing?
Another question: how would I go about making it so the flyers don't randomly go charging into the ground?
Bombers piloted by A.I.
Moderator: Moderators
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
-
Bob
- Brigadier General

- Posts: 633
- Joined: Thu May 27, 2010 4:28 am
- Location: at home
Re: Bombers piloted by A.I.
AI controlled flyers will always shoot when ever their weapons are ready, there's no way you could make them aim. But if your'e lucky you can give them a bit of timing by playing around with the weapons overheating and/or shoot delay stuff.
For the random explos check if theres nothing in the way and make sure they aren't to close to the ground, they would destroy themselfes with the explosions of their own bombs.
For the random explos check if theres nothing in the way and make sure they aren't to close to the ground, they would destroy themselfes with the explosions of their own bombs.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Bombers piloted by A.I.
if you wnat them to bomb a certain point, put an invisible object there , give it the healthtype "animal" and in the bombers weaponods, set "AITargetAnimal" to 1 and everything else to zero. then the ai should only aim and shoot at this object.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Bombers piloted by A.I.
Hmm, but wouldn't the invisible object show up on the player's HUD if they happen to point themself in the object's direction?DarthD.U.C.K. wrote:if you wnat them to bomb a certain point, put an invisible object there , give it the healthtype "animal" and in the bombers weaponods, set "AITargetAnimal" to 1 and everything else to zero. then the ai should only aim and shoot at this object.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Bombers piloted by A.I.
Add the following parameter to the object's ODF:
Code: Select all
HideHealthBar = "1"-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Bombers piloted by A.I.
Yay! Thanks, AQT and D.U.C.K.!AQT wrote:Add the following parameter to the object's ODF:Code: Select all
HideHealthBar = "1"
