Skip to content

ModAPI SDK v2.5.199

Choose a tag to compare

@emd4600 emd4600 released this 25 Sep 15:03
· 360 commits to master since this release

Adventure editor! Added many classes and functions related to the adventure editor (adventures are known in Spore code as "scenarios"):

  • cScenarioData
  • cScenarioPlayMode
  • cScenarioTerraformMode
  • cScenarioEditHistory
  • cScenarioPowerup

And many improvements to other classes. You can access most of this using ScenarioMode, like ScenarioMode.GetPlayMode()->SetCurrentAct(3); (to go to the fourth act when playing an adventure).

There have also been some improvements to audio support. Now it supports separate audio tracks which can play a single sound at a time, and a function to stop the sound. For example:

auto track = Audio::CreateAudioTrack();
Audio::PlayAudio(soundID, track);

// ... later ...
Audio::StopAudio(track);