is there a way to make the ai stop focusing on me ?

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
wsa30h
Rebel Sergeant
Rebel Sergeant
Posts: 208
Joined: Thu Jul 26, 2018 12:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: star wars bf2
xbox live or psn: No gamertag set

is there a way to make the ai stop focusing on me ?

Post by wsa30h »

is there a way to make the ai stop focusing on me as if i was the only target ?
Robobermann
Private
Posts: 33
Joined: Wed Jul 25, 2018 6:58 pm
Projects :: My projects
Games I'm Playing :: SWBF2 2005

Re: is there a way to make the ai stop focusing on me ?

Post by Robobermann »

Play online with a buddy? XD

I don't think we can modify targeting priority of players vs. Ai.
wsa30h
Rebel Sergeant
Rebel Sergeant
Posts: 208
Joined: Thu Jul 26, 2018 12:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: star wars bf2
xbox live or psn: No gamertag set

Re: is there a way to make the ai stop focusing on me ?

Post by wsa30h »

thats also a problem i have no friends.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11079
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: is there a way to make the ai stop focusing on me ?

Post by Teancum »

That sucks man. You are more than welcome to join the Gametoast Discord where we chat about modding, but also just life, music, and other stuff. We'd love to have you as part of the community.

https://discord.gg/7TpccYn
wsa30h
Rebel Sergeant
Rebel Sergeant
Posts: 208
Joined: Thu Jul 26, 2018 12:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: star wars bf2
xbox live or psn: No gamertag set

Re: is there a way to make the ai stop focusing on me ?

Post by wsa30h »

actually just played star wars battlefront online and had a blast tun of fun.
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: is there a way to make the ai stop focusing on me ?

Post by [RDH]Zerted »

On the off change you'll still around, yes. Use v1.3's Fake Console to mess around with the AI goals. If you want to make those changes constant, create a custom user script to run the commands on whichever maps you want automatically.

If you really wanted the AI to ignore you you could move yourself onto team 0 or 3 and set everyone neutral to it.
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: is there a way to make the ai stop focusing on me ?

Post by MileHighGuy »

[RDH]Zerted wrote:On the off change you'll still around, yes. Use v1.3's Fake Console to mess around with the AI goals. If you want to make those changes constant, create a custom user script to run the commands on whichever maps you want automatically.

If you really wanted the AI to ignore you you could move yourself onto team 0 or 3 and set everyone neutral to it.
Is there an AI goal to make the player a higher priority? I would be interested in this too.
wsa30h
Rebel Sergeant
Rebel Sergeant
Posts: 208
Joined: Thu Jul 26, 2018 12:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: star wars bf2
xbox live or psn: No gamertag set

Re: is there a way to make the ai stop focusing on me ?

Post by wsa30h »

thanks guys which ai goals ?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: is there a way to make the ai stop focusing on me ?

Post by Marth8880 »

MileHighGuy wrote:Is there an AI goal to make the player a higher priority? I would be interested in this too.
Sort of. You can use the Destroy goal with the player as the target, but units allotted to that goal will only target the player and they will also not pursue Conquest objectives - but with the right goal weight it should successfully create the illusion of the player being a higher-priority target.
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: is there a way to make the ai stop focusing on me ?

Post by MileHighGuy »

and what about the other way around? lower priority?
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: is there a way to make the ai stop focusing on me ?

Post by [RDH]Zerted »

Read the AI goals documentation or search on the forums for the info about goals. Basically there's a max number of goals and each goal has a weight. The more weight given to a goal the more AI bots are perusing that goal. All the weights are normalized to 100, so two goals of 10 and 10 are the same as two goals of 983432 and 983432 because both numbers are equal to each other. It's the difference between the weights that matters.

However for SP the game also has the AI target you a little more because if it didn't then the game would probably get boring too quickly. Using the Fake Console you could clear out all the goals then add new ones. Something like Follow will cause the AI to run at that person, so if you want everyone after you then use that. There isn't an avoid, but if they're busying doing other things they'll have less time for you.
Post Reply