-
-
Notifications
You must be signed in to change notification settings - Fork 37
Deprecated
Aeroluna edited this page Jul 12, 2022
·
1 revision
DO NOT USE ANY OF THESE. THESE ARE ALL DEPRECATED AND ARE ONLY LISTED HERE FOR POSTERITY'S SAKE AND SHOULD NEVER BE USED.
Mistakes were made with Chroma
- Environment Removal
- DEPRECATED use _environment.
- This goes within the per-level _customData, NOT the top level _customData.
-
"_customData"-
"_environmentRemoval":[List of objects you want to remove goes here, with commas between]Recommended to use UnityIPADebugger to find the name of the objects. e.g.RocketCarfor cars in RocketEnvironment,Logofor Green Day logo.
-
-
"_events"->"_customData"-
"_stepMult": (float) Deprecated. Step is multiplied by this value. -
"_propMult": (float) Deprecated. Prop is multiplied by this value. -
"_speedMult": (float) Deprecated. Speed is multiplied by this value.
-
-
"_events"->"_customData"-
"_propID": (int) Deprecated, use _lightID. Causes event to only affect specified propagation group. -
"_lightGradient":-
"_duration": (float) How long should it take to get from start color to end color (in beats). -
"_startColor":[r, g, b, a](float) Initial color at beginning of gradient. -
"_endColor":[r, g, b, a](float) Final color of gradient. -
"_easing": (string) Gradient will ease according to this field. Use these names as the string.
-
-
1000 years ago, there was no custom data, and the color of an event was set by abusing the _value field of an event. What dark times indeed... Nowadays I have to support maps that use this otherwise people get upset.
My god, the horror.. https://github.com/Aeroluna/Chroma/blob/master/Chroma/Lighting/LegacyLightHelper.cs#L47-L54