Victory Pt Plugin "Objective Failed"

Download scenarios and talk about scenario design.
Moderators: Slitherine Core, BA Moderators

Moderators: Slitherine Core, BA Moderators

Post Reply
mikeboz
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 2
Joined: Sun Oct 15, 2017 2:20 am

Victory Pt Plugin "Objective Failed"

Post by mikeboz »

I have been trying to tweak the VP plugin settings in the scenario editor without success. No matter what I set as conditions, as soon as the scenario opens, I get an "Objective Failed" message.

Of course, a scenario editor manual/guide would be helpful, but I haven't been able to locate one. Any help is greatly appreciated.
pipfromslitherine
Site Admin
Site Admin
Posts: 9863
Joined: Wed Mar 23, 2005 10:35 pm

Re: Victory Pt Plugin "Objective Failed"

Post by pipfromslitherine »

The VP plugin logic can be a little fiddly for sure. You might try disabling the side 1 victory allowance (the +) and set them to effectively only be able to prevent the player from winning, and then go from there.

There is more information on the wikis, but the older one seems to be down right now:
gamewiki.slitherine.com (older)
https://archonwiki.slitherine.com/index.php/Main_Page

Cheers

Pip
follow me on Twitter here
mikeboz
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 2
Joined: Sun Oct 15, 2017 2:20 am

Re: Victory Pt Plugin "Objective Failed"

Post by mikeboz »

Thanks for the quick response. I gather I'll simply have to tweak the settings until it functions correctly.

One more question, if I may: Is the "Side 0" nation always the active player in a single player scenario?
pipfromslitherine
Site Admin
Site Admin
Posts: 9863
Joined: Wed Mar 23, 2005 10:35 pm

Re: Victory Pt Plugin "Objective Failed"

Post by pipfromslitherine »

Yes - side 0 is always the player, in SP.

Note that you can look at the actual script for the plugin in TOOLS/Slith_VictoryPoints/UI/Slith_VictoryPoints.bsf inside the install folder - if that's your idea of fun :) The guts of the logic are in the Tick function, from line 533. Don't be to intimidated, most of the contents are just for the UI.

Cheers

Pip
follow me on Twitter here
MikeAP
Master Sergeant - U-boat
Master Sergeant - U-boat
Posts: 543
Joined: Fri Sep 03, 2010 3:14 pm

Re: Victory Pt Plugin "Objective Failed"

Post by MikeAP »

mikeboz wrote: Thu Oct 10, 2024 7:53 pm I have been trying to tweak the VP plugin settings in the scenario editor without success. No matter what I set as conditions, as soon as the scenario opens, I get an "Objective Failed" message.

Of course, a scenario editor manual/guide would be helpful, but I haven't been able to locate one. Any help is greatly appreciated.
I had this same thing happen to me when I was testing the reinforcements scripting. If there are no enemy units the scenario is hard coded to end in a victory
Post Reply

Return to “Battle Academy 2: Scenario Design”