I’ve already explained that the difference between something that should be a flag and something that should be an option lies in what the option/flag deals with and is linked to. If you have something to say other then just rejecting what I say out of hand and making arguments that don’t actually address the statements they are aimed at I will be happy to respond.
I still hold that this is Lazycat. If it’s not, I am dearly sorry, but I’m going to treat it like you are and ignore your “arguments”, Hardcore.
And the fact that he just made an alt is proof.
Yep, definitevly him, even types in the same voice.
Indeed. Welcome back lazy-cat (or someone else who is trolling just as much).
To answer those questions straight just in-case someone else was wondering:
Choice to select which monster types will spawn should be an in-game option according to your criteria, or not?It's too complex to handle as an "option", since it is stored along with spawn rates. It's actually already in the JSONS in monstergroups.json.
What is preventing you to load any variable from JSON file and represent it to user as an option in some game menu?Two things: 1) There isn't much point in loading things from the JSON's into the options menu. JSON files are [i]much[/i] more customizable then the options menu and they handle large groups of data (such as item/monster/item spawn/monster spawn definitions) much better then an "option" would. There are programs out there that would be much better at editing a JSON file then the Cataclysm options menu (and if someone were to write a nice Cata-JSON GUI-based editor it would be even easier). 2) JSON files are inherently designed to be able to be added to/removed. Things in the options, on the other hand, are not. Many hardcoded things depend on what various options are set at, and if an "option" that was present in the JSON's was removed it would almost certainly crash things.
To put it simply JSON files are better for handling complex and larger amounts of data that can easily be removed/added/changed (such as an item definition), while options are better at handling small, discrete amounts of information that have a strict and set range of values (such as a single number).
Are you sure the idea is to make it easier for people to edit JSON files, or is it just to load them?The initial goal of the mod manager is to allow people to load/save groups of JSON edits (mods) and distribute them. It is possible for a GUI editor to be included in or eventually packaged with the mod manager, but it is not in the initial goal.
I’m just gonna pop in and suggest that once Galen gets the mod-manager & world-gen stable & released, he or someone else ought to do a brief HOWTO on editing the JSONs.
(Most I’ve ever accomplished was fixing a typo in an item name.)
[quote=“KA101, post:66, topic:2490”]I’m just gonna pop in and suggest that once Galen gets the mod-manager & world-gen stable & released, he or someone else ought to do a brief HOWTO on editing the JSONs.
(Most I’ve ever accomplished was fixing a typo in an item name.)[/quote]
There’s actually the start of one in the code doc folder as MODDING.txt, though I don’t think it is actually included with the non-code packages of the game. If anyone wants to expand on it I’ll be happy to merge a PR on it (or you can send it to me in a pm or something if you can’t put up a PR yourself).
There are programs out there that would be much better at editing a JSON file then the Cataclysm options menu (and if someone were to write a nice Cata-JSON GUI-based editor it would be even easier).
Have you seen CataModder?
I actually just found that, I don’t tend to look at the lab forum that often.