Content
Customizer 11.1 (11.2.1)
Complete rewrite of the modular system core, one of the biggest corrections is to the core material functionality. Previously all materials were instanced, causing a ballooning effect as more players entered. Adjustments have been made to correct this issue. Replaced all body-switching methods with generic helpers (SwitchModel). Consolidated material-change methods (SwitchMaterial) into unified handlers with safeguarded indexing. Simplified logic in both ReplaceModelShaders and ReplaceAllModelShaders with direct iteration and clearer flow. Introduced generic registration and cleanup methods (Register and OnDestroy) reducing duplicate logic. Unified body-part activation/deactivation logic, removing repetitive conditional blocks. Condensed switch-case logic into streamlined helper-based approach, reducing code complexity. Added ShaderIds static helper for improved performance (removed repetitive string-based shader property lookups). Centralized parsing of color strings into Color32 across methods, reducing code redundancy. Added consistent early returns and safety guards around potential null references. Single helper now handles _DiffuseColor → _BaseColor → _Color fallback and raw material.color, used across the project. Collapsed Update*Color methods into versions with early-return checks and one shared sync loop. Corrected _Color2 beard tint overwrite and feet/lower-leg colour assignment mix-up. Centralized CSV → Color32 parsing and used helper lambdas to cut repetitive property checks.
0% Total progress0 closed (0%) 1 open (100%)