help for editor

A forum to discuss custom scenarios, campaigns and modding in general.

Moderator: Panzer Corps 2 Moderators

Post Reply
bubu13
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 27
Joined: Thu Apr 21, 2022 12:50 pm

help for editor

Post 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 590 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
VirgilInTheSKY
Major - Jagdpanther
Major - Jagdpanther
Posts: 1034
Joined: Wed Dec 18, 2019 4:26 pm

Re: help for editor

Post 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.
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1955
Joined: Mon Aug 04, 2014 10:07 pm

Re: help for editor

Post 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
bubu13
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 27
Joined: Thu Apr 21, 2022 12:50 pm

Re: help for editor

Post 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
Post Reply

Return to “Panzer Corps 2 Scenario Design”