custom objectives

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

Moderator: Panzer Corps 2 Moderators

Post Reply
peterw
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 154
Joined: Fri Apr 25, 2014 7:08 am

custom objectives

Post by peterw »

For a transfer scenario I need to use custom objectives.
Does anyone know the purpose of the fail parameter?

I can use it be defining the success parameter and the “opposite” in the fail parameter. But I see no advantage in compare using only the success parameter.
But if I let the fail parameter empty the game crashes (tried with V1.2.3). If it helps, I can get the actual version and try again.

It would be helpful knowing the purpose of the fail parameter; but it’s not documented.
dalfrede
Colonel - Fallschirmjäger
Colonel - Fallschirmjäger
Posts: 1493
Joined: Wed Mar 15, 2017 7:48 pm

Re: custom objectives

Post by dalfrede »

A 'Fail' parameter example is 'Wagner must Survive'.
If Wagner dies, Game Over, you lost.
Example 2. 'Hold X at End' .

If you have Fail parameter of 'None' does it still crash?
There comes a time on every project when it is time to shoot the engineer and ship the damn thing.
peterw
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 154
Joined: Fri Apr 25, 2014 7:08 am

Re: custom objectives

Post by peterw »

Thank you for the answer!
I'll test it.

Edit:
An empty fail parameter generates always a crash. But there is an easy solution, if no fail path is needed (as in my case):
You program return = false

This is the solution for me, thanks,
Peter
Post Reply

Return to “Panzer Corps 2 Scenario Design”