Having AI Follow Keyboard Commands

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
destos
Chief Warrant Officer
Chief Warrant Officer
Posts: 349
Joined: Sat Sep 22, 2007 10:37 pm

Having AI Follow Keyboard Commands

Post by destos »

after playing on some maps in SWBF2, an idea popped into my head

The AI are allowed to utilize the Follow Me command, but they don't understand the others, such as Need Backup, Need Ammo, Attack This Position, and so on.

is there anyway to have them understand the other commands?
mswf
Master Bounty Hunter
Master Bounty Hunter
Posts: 1674
Joined: Tue Mar 31, 2009 3:40 pm
Location: Twello, The Netherlands
Contact:

Re: Having AI Follow Keyboard Commands

Post by mswf »

Not some sort of patch I think. If you would do that, it'd probably break online compatability.
User avatar
destos
Chief Warrant Officer
Chief Warrant Officer
Posts: 349
Joined: Sat Sep 22, 2007 10:37 pm

Re: Having AI Follow Keyboard Commands

Post by destos »

if i used it in a mod or patch, then most likely it would not work online, but I'm just using this for a map, thus I'm pretty certain it would work online and off. because i would assume you could add this in via lua (though i may be mistaken, im just unsure how it would work) and because the Follow Me command works online and off.
fiddler_on_the_roof
1st Lieutenant
1st Lieutenant
Posts: 460
Joined: Wed Nov 12, 2008 5:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Having AI Follow Keyboard Commands

Post by fiddler_on_the_roof »

you should be able to do something.

there is a lua command that says something like
"on you giving those commands, ..." then maybe give the ai a new goal or something
Post Reply