Make Gamemodes being loaded as addons instead of being a foundation layer
Sloppy Trainyard
instead of having an encapsulated "gamemode" load empty gamemode by default and load other modules and gamemodes on top of it as addons, such as UI,Maps,Characters,Entities,etc, that would allow for more flexibility and people would be able to construct custom "gamemodes" by combining different modules together without needing to encapsulate everything into 1 hardcoded container
T
Timmy
You can already set the gamemode of your server to
""
to avoid loading a gamemodeYou can also have addons dependencies with the
packages
and assets
array of your server's Config.tomlSo what's the motivation of removing the concept of gamemodes? I don't get what it would bring
Sloppy Trainyard
Timmy: Less encapsulation, sandbox right now for example has everything packed into a gamemode and can't be modified or changed piece by piece.
having dependencies, especially since packages and assets are still not been unified will create the biggest spaghetti clusterfuck if you start adding hundreds of addons, which is a normal practice in a sandbox-type game
Vrchat had a pretty neat idea with "worlds" and "avatars" without a specific gamemode, nanos can go miles ahead of that ofc and add much more than just 2 types of addons
T
Timmy
Sloppy Trainyard: The encapsulation is up to the scripter, if you want to have an empty gamemode and create 100 packages you can, what you're asking for seems more like "recreate sandbox but split it's features into standalone packages" (which is possible)
But breaking all gamemodes which take care of package dependencies (or have all their codebase packed in the same gamemode package) just cause you don't like the structure sandbox gamemode seems a bit extreme and wouldn't change much for you since you'd edit a script package instead of a gamemode package, the only thing that it'd change is that you'd have less files to search to find what you want to edit but at the cost of breaking all gamemodes and wiping all the content already created by the community
Sloppy Trainyard
it wouldn't wipe any content that isn't a gamemode already, and f it is, it should be able to be loaded as addon instead, it's a question of hierarchy instead of having "engine->lua->gamemode->addons" it's engine->lua->addons, gamemodes can be addons still, just remove the necessity bc you can load 55 addons but can't load more that 1 gamemode
if gamemodes are just a number of functions and entities, then no need to keep them as a mandatory foundation separate from other addons
T
Timmy
Sloppy Trainyard: They're not a mandatory foundation separate from other addons, if someone wants to run a game on sandbox gamemode he should just select the sandbox gamemode, and not 15 separate script packages (except if these scripts are additional to the base gamemode, in this case it would make sense)
Btw gamemodes have custom settings, why not use this instead to toggle some modules of the gamemode + use the packages/assets dependencies that already works fine?
Sloppy Trainyard
Timmy: i guess i haven't seen a proper implementation of it yet
bc if try to mod sandbox gamemode, i have to directly edit the gamemode files OR design modules completely from scratch, no in-between
Voltaism
Sloppy Trainyard: The problems you are pointing out are just the about the sandbox gamemode. Feel free to make your sandbox gamemode to define what you want more precisely and to prove your points.