Author Topic: Updating the OP2MissionSDK and LevelTemplate for VS2026  (Read 36 times)

Offline Vagabond

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1026
Updating the OP2MissionSDK and LevelTemplate for VS2026
« on: September 20, 2026, 08:20:16 PM »
I spent time updating the OP2MissionSDK and Level Template on GitHub. These are the traditional C++ libraries for creating a mission. Of note, there is a newer C++ API known as TethysAPI that may be used in lieu of OP2MissionSDK or complement it. TethysAPI may be found here: https://github.com/OutpostUniverse/TethysAPI

The OP2MissionSDK may be found here: https://github.com/OutpostUniverse/OP2MissionSDK
The Level Template may be found here: https://github.com/OutpostUniverse/LevelTemplate

If you are new to making missions, Sirbomber has an excellent tutorial series that may be found in the forums.

I bumped the version to 5.0.0 with the below changes. The biggest reason for this release was to make everything work 'out of the box' with a stock Visual Studio 2026 install. Some other minor changes are included.

There are other ways to create custom missions for Outpost 2, but I think this SDK remains the most flexible, but with the downside of requiring learning C++ if you are not already familiar with the language.

Also, I added a reference in the readme to TethysAPI in case someone wants to check it out, but stopped short of adding it as a Git submodule.



Version 5.0.0
Version 5.0.0 updates OP2MissionSDK to default to Visual Studio 2026 and its toolset (v145). A new feature in HFL and some minor documentation corrections are included. Automated server builds were updated to use GitHub actions instead of appveyor. A breaking change occurred in OP2Helper correcting the name of an enum ID.

Outpost2DLL
  • Update to Visual Studio 2026 build tools (v145)
  • Automated build switched from appveyor to GitHub actions
  • Minor updates to source code documentation

OP2Helper
  • Update to Visual Studio 2026 build tools (v145)
  • Automated build switched from appveyor to GitHub actions
  • Correct EnumTechID enum identifier spelling of defensive (Breaking Change to API)
  • Correct common metals evacuation victory message text
  • Create helper functions to ease creation of map beacons (common ore, rare ore, fumaroles, and magma vents)
  • Minor updates to source code documentation

HFL
  • Add DoCargoRoute routine
  • Update to Visual Studio 2026 build tools (v145)
  • Minor updates to source code documentation
« Last Edit: September 20, 2026, 11:47:00 PM by Vagabond »