Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Known Issues v1.0.0.1 Sticky Locked

A topic by ThundRFS created Jan 27, 2024 Views: 315
This topic is locked
Viewing posts 1 to 1
Developer (2 edits)

This version of State Controller is not compatible with the following mods:
- Production Revamp

The reason for the incompatibility is because of the way Revamp is written. Normal script mods are written using a prepend/append system to add new code on top of the existing, allowing other script mods written the same way to do the same. This is how compatibility is achieved.  Hard overwrites are when base game code is directly overwritten, meaning other scripts that use that same code may no longer work. Sometimes this is necessary to achieve the desired functionality, at the cost of losing compatibility with other mods.

In cases of hard overwrites, compatibility is usually done through the hard overwritten mod (i.e. Revamp). Otherwise, you have to write multiple mods, one for the base game and X other versions for each hard overwritten mod you are trying to work around. This is because mods are not always there like the base game code always is.

For example, the Revamp version would not work if Revamp is missing and the base game version would not work if Revamp is installed. Therefore, you'd have to write two versions.

That being said, I have changed some of my base code to run very late in the mod load process (normally this is alphabetical order) to try and work around issues like these as much as possible.  This will be reflected in future versions when they are finished.