So, im building a scenario where to achieve victory, the player needs to capture some victory points. And, when he does, its considered a victory and the game ends. So far so good.
But when the player fails and the objective remains open or failed it leads to a draw instead of a defeat.
After searching a while i learned that for a defeat the enemy team needs to acomplish his objectives.
Obviously, the ai's objective would be to mantain control over the points. But if i linked those points to the objective it leads to a defeat in the first turn and its not hard to figure out why.
Im basically asking how do i make the ai's objective to be passive and the defeat being based on only the players objective. And if that isnt possible how to make an ai objective that doesnt lead to an automatic defeat.
Ai's passive objective
Moderators: The Artistocrats, Order of Battle Moderators
Re: Ai's passive objective
Create similar winning/fail objectives for the AI using end of scenario conditions.
Re: Ai's passive objective
Ok, can you give me an example, please?
Re: Ai's passive objective
Look in the scenarios. For example, in the Red Storm DLC, the first scenario 'Prokhorovka'. Check the primary objectives. There should be the victory conditions for the Germans, something like 'GerWin'. There should be a goal for the Germans, that they win automatically if the Russians lose Prokhorovka.
-
- Sergeant Major - SdKfz 234/2 8Rad
- Posts: 645
- Joined: Sun Feb 10, 2019 11:10 am
Re: Ai's passive objective
You have to create a trigger for the AI as well.
Put into the conditions the ownership of the hexes AND select the box that says "scenario end". This way the trigger will be checked at the end of the scenario. You should tick the box for all objectives that must be taken by the player but also defended until the end of the scenario, otherwise it will end the turn the player conquers them all.
Re: Ai's passive objective
And where do i do that? In the mission objectives screen?StuccoFresco wrote: ↑Thu Oct 10, 2024 10:19 pmYou have to create a trigger for the AI as well.
Put into the conditions the ownership of the hexes AND select the box that says "scenario end". This way the trigger will be checked at the end of the scenario. You should tick the box for all objectives that must be taken by the player but also defended until the end of the scenario, otherwise it will end the turn the player conquers them all.
Re: Ai's passive objective
In the Scenario forum there are design & modding guides.
It is also the bet place to ask for help creating scenarios/campaigns.
https://www.slitherine.com/forum/viewforum.php?f=374
It is also the bet place to ask for help creating scenarios/campaigns.
https://www.slitherine.com/forum/viewforum.php?f=374