Is there I can make it so the AI focus less on trying to capture the CP's in conquest mode and more on trying to kill enemy units?
I tried removing the capture regions but once I do that all the AI like to huddle around a single command post trying to claim it.
I still want the AI to move in on the command posts, but not have it so they'd rather try to take it then actually attack the player.
And like I said earlier, it would be cool if they wouldn't all try to huddle around it.
Less "conquest" in conquest mode
Moderator: Moderators
-
Sandtrooper956
- Corporal

- Posts: 158
- Joined: Thu Jul 31, 2014 3:58 pm
- Projects :: Just some little things
- xbox live or psn: No gamertag set
- Kingpin
- Jedi

- Posts: 1096
- Joined: Fri Sep 13, 2013 7:09 pm
- Projects :: The Sith Wars II
- Location: Denver, CO
- Contact:
Re: Less "conquest" in conquest mode
Are you talking about the stock maps or your custom maps? Also, look at hero assault scripts. They don't capture objectives.
-
Sandtrooper956
- Corporal

- Posts: 158
- Joined: Thu Jul 31, 2014 3:58 pm
- Projects :: Just some little things
- xbox live or psn: No gamertag set
Re: Less "conquest" in conquest mode
I'm talking about a custom map I'm making. So I should copy something from the hero assault script into my conquest script? Like the objectives or something?
-
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: Less "conquest" in conquest mode
All you need to do is add a Deathmatch AI goal for each team. Personally, I'd recommend clearing both teams' goals, and then setting their Conquest and Deathmatch goals manually.
Relevant documentation: http://www.secretsociety.com/forum/down ... IGoals.txt
Oh, and make sure that you're doing all of this in the ScriptPostLoad() section of your mission script.
Relevant documentation: http://www.secretsociety.com/forum/down ... IGoals.txt
Oh, and make sure that you're doing all of this in the ScriptPostLoad() section of your mission script.
-
Sandtrooper956
- Corporal

- Posts: 158
- Joined: Thu Jul 31, 2014 3:58 pm
- Projects :: Just some little things
- xbox live or psn: No gamertag set
Re: Less "conquest" in conquest mode
Awesome, thanks. Is there anyway I could get some help getting deathmatch working? I'm a bit confused.
This happens in the ***era_con.lua right? Or am I wrong about that?
This happens in the ***era_con.lua right? Or am I wrong about that?
-
razac920
- 2nd Lieutenant

- Posts: 365
- Joined: Sun Jan 16, 2011 12:42 am
Re: Less "conquest" in conquest mode
Yes in ***era_con.lua files, below the line
you will want to add something like
The numbers in the AddAIGoal commands are weights, if team ATT has two goals each with weight 100, then half (100/200) of the team will capture CPs and the other half will just search and destroy. Adjust weights accordingly!
Code: Select all
conquest:Start()Code: Select all
ClearAIGoals(ATT)
ClearAIGoals(DEF)
AddAIGoal(ATT,"Deathmatch",100)
AddAIGoal(ATT,"Conquest",100)
AddAIGoal(DEF,"Deathmatch",100)
AddAIGoal(DEF,"Conquest",100)-
Sandtrooper956
- Corporal

- Posts: 158
- Joined: Thu Jul 31, 2014 3:58 pm
- Projects :: Just some little things
- xbox live or psn: No gamertag set
Re: Less "conquest" in conquest mode
So if I wanted to have all the AI just search and destroy, would I just remove these parts? Or would I also change both 100's to 200?
AddAIGoal(ATT,"Conquest",100)
AddAIGoal(DEF,"Conquest",100)
AddAIGoal(ATT,"Conquest",100)
AddAIGoal(DEF,"Conquest",100)
-
razac920
- 2nd Lieutenant

- Posts: 365
- Joined: Sun Jan 16, 2011 12:42 am
Re: Less "conquest" in conquest mode
If you want all AI to "search and destroy", aka Team deathmatch/hunt, just remove the addaigoal lines that mention conquest. Setting the Deathmatch weights to 200 would make 200/300 = 2/3 of them do deathmatch stuff, and 1/3 would still try to capture CPs.
Symbolically, if each team's Conquest weight is x and Deathmatch weight is y, then x/(x+y) of each team will do conquest stuff and y/(x+y) of each team will do deathmatch stuff. Not including the AI goal is equivalent to it having a weight of 0.
Symbolically, if each team's Conquest weight is x and Deathmatch weight is y, then x/(x+y) of each team will do conquest stuff and y/(x+y) of each team will do deathmatch stuff. Not including the AI goal is equivalent to it having a weight of 0.
