Character mod helper

by Pi-C

If your mod lets players use a character that looks differently, you'll have to decide whether you must overwrite the default character. This mod will help you with this decision, and make it really simple to overwrite the default or update the new prototypes in a safe way.

Internal
2 months ago
1.1 - 2.0
53.5K
Character

b [Fixed?] Not respecting 'is_debug' value

11 months ago

Hey, so I was working on fixing up the Gear Girl mod, using the I, Robot mod as a template, and while doing everything I noticed a lot of noise being logged from the helper dependency mod (this one). So I just straight set the .is_debug option from within my mod to false, but this had no affect. I'm not 100% sure as to why, but it would be good to have that fixed. :)

11 months ago

That's a misunderstanding. Setting IROBOT.is_debug = false will deactivate logging of I, ROBOT, but that's independent of is_debug in the helper mod (where it is set to true by default).

11 months ago

Should the helper mod be false by default then? Or have an easy to access setting? It seems like this is something that shouldn't be on by default for normal players. :)

11 months ago

Should the helper mod be false by default then? Or have an easy to access setting?

No, I think defaulting to true is better. A setting (default: true) may be an option.

It seems like this is something that shouldn't be on by default for normal players. :)

The mod can produce a lot of debugging output, but that's only during the data stage and at the beginning of the control stage. Logging still is limited, the amount is nothing if you compare with Autodrive: if that mod is controlling at least one vehicle, heavy logging would happen on each tick, so I've provided a setting where you have to actively enable logging. But the CharacterModHelper acts as glue between the different character and selector mods, so I believe it's better to enable logging per default in this case.

11 months ago
(updated 11 months ago)

Hmm, I guess I just have a different opinion on that. When I end up with a dozen plus mods (out of whatever is installed) all taking the same approach, it just all becomes noise and hard to parse through (knowing what lines are from what mods, etc).

But yeah, if you'd be willing to put in an option, even if it does default to true, that would be helpful to me, at least. :)

(Edit: I mean, I know I can edit that line in the mod myself, and I have, but if you ever update the mod for something else, that'll wipe out my change.)

5 months ago

Hmm, I guess I just have a different opinion on that. When I end up with a dozen plus mods (out of whatever is installed) all taking the same approach, it just all becomes noise and hard to parse through (knowing what lines are from what mods, etc).

This mod provides just a frame work. How characters are defined is up to the character mods. While most of the debugging output is just noise in most cases, there may be mods that break things and it is helpful to be able to look at what such a mod actually does.

But yeah, if you'd be willing to put in an option, even if it does default to true, that would be helpful to me, at least. :)

Check out version 2.0.0 – you've got the option! (Actually, I've had a WIP version with the option included lying around for months already. I just didn't feel that such a minor change would justify a new release.)

New response