[Solved] Scenario end with victory turn 1
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
-
- Posts: 153
- Joined: September 5th, 2018, 5:21 pm
- Location: Albania
[Solved] Scenario end with victory turn 1
So i want to make a scenario with no opposed sides, all the sides are allies and i want to be able to play multiple turns without ending the scenario. However i always get a victory screen no matter what i do. Also i don't want to include hidden opposing sides because i want the units on the map to not move.
Last edited by Vilebeggar on October 12th, 2019, 7:30 am, edited 1 time in total.
Competitive Wesnoth. For the fans by the fans.
-
- Inactive Developer
- Posts: 503
- Joined: April 24th, 2016, 4:18 pm
Re: Scenario end with victory turn 1
I'd use a hidden opponent and if there are units I don't want moving, I set their movement to zero. There might be an AI for that, I've not looked. Or you could use an object which you could remove later if you need to.
I forked real life and now I'm getting merge conflicts.
Re: Scenario end with victory turn 1
just use victory_when_enemies_defeated=no in [scenario] should work.Vilebeggar wrote: ↑October 11th, 2019, 12:06 pm So i want to make a scenario with no opposed sides, all the sides are allies and i want to be able to play multiple turns without ending the scenario. However i always get a victory screen no matter what i do.
hidden sides, don't make the enemy move, you don't even have to give your hidden enemy side any units.Vilebeggar wrote: ↑October 11th, 2019, 12:06 pm Also i don't want to include hidden opposing sides because i want the units on the map to not move.
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
-
- Posts: 153
- Joined: September 5th, 2018, 5:21 pm
- Location: Albania
-
- Posts: 153
- Joined: September 5th, 2018, 5:21 pm
- Location: Albania
Re: Scenario end with victory turn 1
Also the ai seems a bit quircy when it comes to multiple keeps as in one map i had about 8 keeps surrounded by castles and 3 allied sides. Now what they would do was recruit units then leave their keep and stay on castle terrain then come back to recruit not on the original keep they were spawned on. Id like to make them stay in place but not by reducing their movement
as i wat them to strike the enemy if they get too close.
as i wat them to strike the enemy if they get too close.
Competitive Wesnoth. For the fans by the fans.