This file is pretty much 100% locked down. The only exposed function is modelComposite:generate.
Why: @13єrѕєrk on discord wants to create new hairstyles for the Sapiens.
My Suggestion: I honestly don't know what needs to be exposed to make this modifiable.
I guess I would start by exposing the raw data like beardPaths or skinMaterials. You should also expose getPath function if possible, but this is tricky cause it's inlined inside of modelComposite:generate, and appears to rely on data there like sharedState and hash.
generateRemap should probably be exposed.
Last note: Huge functions (even if exposed), are kinda 'meh' to shadow, because they encapsulate too many state changes! If possible, breaking apart large functions like modelComposite:generate makes our job modding much easier.
This file is pretty much 100% locked down. The only exposed function is
modelComposite:generate
.Why: @13єrѕєrk on discord wants to create new hairstyles for the Sapiens.
My Suggestion: I honestly don't know what needs to be exposed to make this modifiable.
I guess I would start by exposing the raw data like
beardPaths
orskinMaterials
. You should also exposegetPath
function if possible, but this is tricky cause it's inlined inside ofmodelComposite:generate
, and appears to rely on data there likesharedState
andhash
.generateRemap
should probably be exposed.Last note: Huge functions (even if exposed), are kinda 'meh' to shadow, because they encapsulate too many state changes! If possible, breaking apart large functions like
modelComposite:generate
makes our job modding much easier.