-
Notifications
You must be signed in to change notification settings - Fork 30
Godot Project Setup
steen edited this page Aug 24, 2023
·
16 revisions
If you don't have your project set up yet, see Decompiling Games and GodotSteam.
To install ModLoader into your project:
- Create a folder called
addons
, and add the mod_loader and JSON_Schema_Validator folder to it. - Add mod_loader.gd and mod_loader_store.gd to your project's Autoload settings:
- Project > Project Settings > Autoload
- At the top left, click the folder icon next to Path. Browse to res://addons/mod_loader/mod_loader.gd and select it.
- At the top right,
ModLoader
will be shown in the "Node Name" field. Click Add. - Repeat the above steps for mod_loader_store.gd
- Reorder the autoloads so that
ModLoaderStore
is at the top andModLoader
is in the second spot.- Note: The ModLoader autoloads must be placed at the top of the autoload list to ensure they can affect other autoloads/singletons.
- Note: In certain cases, you may want to make modding of an autoload more difficult, such as for cheat detection. In such cases, you can use the
allow_modloader_autoloads_anywhere
setting. Read more about it on the Mod Loader Options page.
- Click Close, and save your project.
- Scene > Save All Scenes
Shown above: Adding ModLoaderStore
and ModLoader
to the autoload settings for the game Brotato
- GodotModding-UserProfileUI - A mod that adds an interface to manage mod user profiles, to handle enabling and disabling of mods.
- GodotModding-ModConfigEditor - A mod that adds an interface to edit mod configs, the user settings that mod developers can add for users to customise their experience.
- Decompiling Games - Instructions for decompiling a game, for editing in Godot.
- GodotSteam - Most games require you to use GodotSteam, instead of vanilla Godot.
Next: Mod Structure
Home ~ Setup ~ Mod Structure ~ Mod Files ~ API Methods ~ Logging