How are games made ‘moddable’ without revealing source code?

1.09K views

Do they just have a very abstract and capable API? some mods for some games can be pretty complex.

In: Technology

6 Answers

Anonymous 0 Comments

More or less. It depends on the game. Some just offer great hooks that allow people to write scripts to accomplish their goals. Other games have a very fixed file structure and will essentially grab mod folders and treat them as an extension of their data store, running everything contained therein: Does your mod have a folder named “government_types”?, well ,everything contained therein will be treated as a government type definition for this game.

You don’t need to reveal the source code to make something moddable, all you need is allow modders an entry point to extend the functionality and robust documentation so that people know what to do.

You are viewing 1 out of 6 answers, click here to view all answers.