Page 1 of 1

help for editor

Posted: Mon Oct 24, 2022 8:08 am
by bubu13
Hello,

I use the editor to create 2v2 map based on a random map.I bring some changes (nation/objective/special unit) to make the map more playable especially for cooperation.
My request consists in the modification of the victory objective, I wish to bring the following conditions :
Control Majority of Victory Hexes for Last Turn Victory
I copy the condition coming from "not Napoleon"
[/size]
victoire a la fin majorité.png
victoire a la fin majorité.png (9.71 KiB) Viewed 667 times
I replace Player1CustomSuccess and Player1CustomFail bye Side1CustomSuccess and Side1CustomFail
It does not work, at the end of the game the game does not indicate a winner or looser.
Anyone can help me please.

I also take advantage of this message to let it be known that this kind of card to play in multiplayer is very nice and allows real cooperation (especially with voice). Integration of different objectives, destroying units, capturing profitable cities, using unusual nations, etc..
Contact me if you want to try

Re: help for editor

Posted: Mon Oct 24, 2022 12:11 pm
by VirgilInTheSKY
Just use the capture victory hexes objective. You can set which one you want to be counted, how many does a player need, and what's more, the "Check only at the end of scenario" option you want.

Re: help for editor

Posted: Mon Oct 24, 2022 12:29 pm
by Grondel
bubu13 wrote: Mon Oct 24, 2022 8:08 am I replace Player1CustomSuccess and Player1CustomFail bye Side1CustomSuccess and Side1CustomFail
It does not work, at the end of the game the game does not indicate a winner or looser.
Anyone can help me please.
to use those victory conditions u need to define them in the LUA script for that map.

sers,
Thomas

Re: help for editor

Posted: Mon Oct 24, 2022 12:33 pm
by bubu13
VirgilInTheSKY wrote: Mon Oct 24, 2022 12:11 pm Just use the capture victory hexes objective. You can set which one you want to be counted, how many does a player need, and what's more, the "Check only at the end of scenario" option you want.
thank you it works well ^^ always want to make it complicated when you can make it simple :D