Author Topic: Plymouth Cold War Testing (Version 1.0.1)  (Read 811 times)

Offline Vagabond

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 908
Plymouth Cold War Testing (Version 1.0.1)
« on: September 09, 2019, 04:33:53 PM »
Everyone,

Hooman and I spent some time modernizing the project files and diagnosing the hang in Plymouth Cold War.

It ended up being very productive. The mission now uses the current version of the Outpost 2 SDK, compiles with VS2017, and we fixed the hang.

Briefly, setting the value of argument priority to 0 from the function RecordVehReinforceGroup(ScGroup& targetGroup, int priority) can cause an infinite loop condition inside Outpost2.exe. We updated the documentation to indicate that 1 is the lowest priority instead of 0. The hang would occur when the AI would attempt to reinforce certain defensive fight groups.

To download, goto: https://github.com/OutpostUniverse/PlymouthColdWar/releases/tag/v1.0.1

It would be nice if a couple of people could play it and report details if they find any other bugs or if it looks solid now.

1. Wine test to make sure it works on Linux.
2. Playthoughs on different difficulties to see if any other crashes still exists.

If all goes well, we can include in the next release of Outpost 2 and I'll post a formal release of the mission.

Also, I didn't design the mission and am not planning to change the spirit of the mission or difficulty. As I recall it is very difficult on Hard unless you really know what you are doing.

Thanks,
Brett
« Last Edit: September 09, 2019, 04:36:15 PM by Vagabond »

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4811
Re: Plymouth Cold War Testing (Version 1.0.1)
« Reply #1 on: September 18, 2019, 04:58:44 AM »
The update works fine under Wine.

Looks like there will be a V1.0.2 released soon, based on Brett's play testing.

During my test, I noticed that if I self destruct all my initial units, I don't actually lose the mission. Maybe we should add some more mission failure checks to the level.

Offline Vagabond

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 908
Re: Plymouth Cold War Testing (Version 1.0.1)
« Reply #2 on: September 23, 2019, 08:42:47 PM »
Hooman,

Making defeat conditions for this mission is a bit tricky based on getting the reinforcements after starting the mining colony. I wasn't interested in going through the logic of making it work although it would be a nice touch.

If you'd like to take a stab at it, I'll wait to release version 1.0.2 with the smelter/mine repair activation for the AI.

-Brett

Offline Hooman

  • Administrator
  • Hero Member
  • *****
  • Posts: 4811
Re: Plymouth Cold War Testing (Version 1.0.1)
« Reply #3 on: September 24, 2019, 05:44:32 AM »
Ahh, no, don't wait. I already feel like there's a ton of stuff on my to-do list.

Offline lordpalandus

  • Hero Member
  • *****
  • Posts: 780
Re: Plymouth Cold War Testing (Version 1.0.1)
« Reply #4 on: September 24, 2019, 04:10:00 PM »
That is an interesting point Hooman raises. What happens in other scenarios, where you have to place a base, and you self-destruct all your units. Does it fail, or something else happens?
Currently working on Cataclysm of Chaos, Remade.
Link to OPU page = http://forum.outpost2.net/index.php/topic,6073.0.html

Offline Vagabond

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 908
Re: Plymouth Cold War Testing (Version 1.0.1)
« Reply #5 on: September 25, 2019, 08:57:31 PM »
Really depends on the mission. Defeat conditions can be difficult in certain situations. In Plymouth Cold War, the goal is to destroy the advanced lab. If I make you lose if your Command Center is destroyed, you could have 85 Tiger Tanks sitting around to finish the job. Or you could have a CC in a ConVec somewhere or the CC could be in the Structure Factory, or the ConVec with the CC could be in a garage. Or you could capture an enemy convec with a CC using a spider/emp combo. Making a logic tree to cover all the possibilities doesn't seem worth it in these circumstances.

Sometimes defeat conditions are easy, like if you have to retrieve wreckage and the bad guy gets it first.

Sort of personal preference though on how the mission designer wants to setup defeat. It wouldn't be wrong to say you have to destroy the enemy Advanced lab and keep your original CC intact.

Offline lordpalandus

  • Hero Member
  • *****
  • Posts: 780
Re: Plymouth Cold War Testing (Version 1.0.1)
« Reply #6 on: September 25, 2019, 10:35:04 PM »
Well it would be simpler if defeat (in any scenario involving a base) only occurred when your people all died off, rather than a loss of the command center. Since you need the CC to keep the agridomes active, people would starve to death pretty fast, so if you were fast enough, you could avoid this by rebuilding it or activating a backup command center that was idled off. And if you did this, you could say load up colonists into evac transports to keep them from starving, though having an evac transport blown up would mean an instant loss of life. Just a few ideas...

As for the start of the mission, if you fail at the loss of life, having no evac transports would mean all your people would be dead too.

Currently working on Cataclysm of Chaos, Remade.
Link to OPU page = http://forum.outpost2.net/index.php/topic,6073.0.html