AI behavior around Health Droids

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

AI behavior around Health Droids

Post by [RDH]Zerted »

I know the AI will walk out of their way to pickup a health pack if they needed health. However, has anyone noticed them standing around health droids when they needed health too?

I want some damaged bots to actively seek health if it isn't too far way. I'm not sure if I should manually spawn a bunch of health packs or just use a health droid.
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: AI behavior around Health Droids

Post by Xavious »

Just wondering, what are you using this for? Is it just a standard Conquest game and you want bots to go after health when they need it, or is this for a certain circumstance or otherwise?
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: AI behavior around Health Droids

Post by [RDH]Zerted »

It's for a RTS map. I don't want the AI controller to waste using an AI goal telling bots to go heal themselves. If you build a health droid in a pathway, the damaged AI might walk right by it and not get healed. But if it's a health pack, I know they'll take a few steps to grab it.

The least needed AI goals, the better control you have over the map.
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Crifton
Contact:

Re: AI behavior around Health Droids

Post by Tourny »

I have occaisionallly standing around near the health droids when I heal at one. I know they are truly following me (in that wierd AI way where they pretend they aren't), but when I heal they seem to try and get within the range of the health droid, while at other times they keep their distance.
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Re: AI behavior around Health Droids

Post by myers73 »

in my novice opinion, you should just spawn some health packs alongside the AI paths, but use an inconspicuous model that is scaled down, that way it wont look like crap. Also if there is a way to make it not heal humans that would be even better so that you dont randomly gain health. Or, if possible, when the unit hits the low health threshold, have them seek cover (not sure how to do this), then do the dispense ammo animation, and spawn a health pack at their location. Hope my ideas spark your mind and give you ideas.
Post Reply