Comments (3)
sounds like a good opportunity to use a custom resource to keep everything editable within Godot
from godot-mod-loader.
sounds like a good opportunity to use a custom resource to keep everything editable within Godot
That's a great idea and could certainly be applicable for use cases where you want to give other modders options to control your mod.
But this config is intended for use by the end users of mods, ie. the players. I think it's fair to assume that the majority of players won't have Godot installed. So the advantage to JSON files is that anyone can edit them, at any time, without needing extra software. Also, if a settings editor is built (either in-game or with an external app), then the user's settings will need to be saved somewhere. Having everything in a JSON file from the outset means their settings can be saved to that same file.
For a use case, see Brotato's DebugLoader. It does what you can already do in Godot (by editing debug_service.tscn) -- but still has a purpose, because there are instances when you want to use those debug features without opening the project in Godot. For example, for each release of my Invasion mod, I release a JSON file that gives you all the items, so they can be previewed and tested. You can also edit that JSON to start with only certain items, which can also be used for testing, or to create custom challenges. You can also use multiple JSON files to quickly trial different builds.
from godot-mod-loader.
all good points. if we go for a mod manager user interface we could still go for resources to integrate with it directly. json would still work for that as well though
from godot-mod-loader.
Related Issues (20)
- 🚀 Contributors - Getting Started 🚀
- [4.x] Duplicating a global named script class (i.e. in `script_extension.gd`) causes an error. HOT 7
- autoload position check only uses `current_options`
- Possible memory leak with script extensions HOT 1
- `load_before` should allow setting the same mod as `optional_dependency` or `dependency`
- add a nice way for mods to check if another mod is in use (loaded and active)
- latest build kinda doesen't work with self-setup guide HOT 4
- Add a ziped version of the loader to releases that can be used for self-setup. HOT 1
- Update Example Mods HOT 1
- User Profiles - mod dependency handling HOT 1
- Self setup missing classes crash HOT 1
- Extending scripts attached to a preloaded scene HOT 1
- Load extensions and overwrites from directory HOT 2
- edit / extend custom resource
- Delete `steam_workshop_enabled` from options
- automatically refresh scenes if their script is extended HOT 2
- remove unused `unpacked_dir` from `InheritanceSorting`
- Add `steam_workshop_id` to mod manifest HOT 1
- Add the possibility to include a default/preset profile HOT 1
- Enable the extending of existing extensions existing in a dependency HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot-mod-loader.