Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Stage Light_Set_Param Research
- note: to get ur colors, please divide your RGB value's by 255 to get the decimals.
- First documented by: Demonslayerx8
- Helped by: SeanHicksART, RayTwo, BJT, Kangaroogreen, and Dr. HyperCake.
- --------------------------------------------------------------------------------------------------------------------------------------
- Group[1] - Misc Stuff (Documented by DSX8 and SeanHicksArt)
- k00 - Enable lighting in Group[2] /Disable to use light.bin in "Animations"
- k01 - ??
- k02 - ??
- k03 - ??
- k04 - Enable/Disable Shadow System (flag)
- k05 - ??
- k06 - ??
- Lighting - Fresnel Hemisphere Lighting
- k07 - Enable/Disable Fresnel Lighting (flag)
- k08 - Fresnel Sky Hue Color
- k09 - Fresnel Sky Color Saturation
- k10 - Fresnel Sky Color Value/Brightness
- k11 - Fresnel Ground Hue Color
- k12 - Fresnel Ground Color Saturation
- k13 - Fresnel Ground Color Value/Brightness
- k14 - Fresnel Sky angle (Affects character shadow position)
- k15 - Fresnel Ground Angle (Affects character shadow position)
- k16 - ???
- Char/Stage Shadow System
- k17 - Character Shadow Verticle Angle
- k18 - Character Shadow Saturation
- k19 - Character Shadow Value/Brightness
- k20 - Enable/Disable Stage Shadow Casting/Char Self Shadowing (flag)
- k21 - Shadow Hue Color
- k22 - Shadow Color Saturation
- k23 - Shadow Color Value/Brightness
- k24 - ?? (flag)
- k25 - ??
- k26 - ??
- Character Diffuse & Ambient Lighting
- k27 - Lighting Strength??
- k28 - ??
- k29 - Diffuse Hue Color
- k30 - Diffuse Saturation
- k31 - Diffuse Value/Brightness
- k32 - ??
- k33 - Ambient Hue Color
- k34 - Ambient Saturation
- k35 - Ambient Value/Brightness
- Unknown Data
- k36 to k38 - ??
- k39 to k41 - ??
- k42 to k44 - ??
- k45 to k47 - Affects Specular Color when zooming in
- k48 to k50 - ??
- k51 to k53 - Affects Diffuse(?) Color when zooming in
- k54 to k56 - Affects Diffuse(?) Color when zooming in
- k57 to k59 - Affects Specular Color when zooming out
- k60 to k62 - ??
- k63 to k65 - Affects Diffuse Color when zooming out
- k66 to k68 - ??
- k69 - ?? (only 8-9 stages with different value)
- k70 - ?? (only 8-9 stages with different value)
- k71 - ?? (always 0.0001)
- k72 - ?? (always 0.0001)
- k73 - nulled
- k74 - nulled
- --------------------------------------------------------------------------------------------------------------------------------------
- Group[2] - Lighting Data (Documented by DSX8 and Dr. HyperCake)
- Based on: Miiverse Light_set_param (its different for each stage)
- Notes: For XYZ Rotation Value's, only value's up to 180
- X: Lighting from above uses Negative value's, Lighting from Under uses Positive value's.
- Y: Lighting from Right uses Positive Value's, Lighting from Left uses Negative value's.
- Z: Negative value's shifts to the Right, Positive value's shifts to the Left.
- Entry[0] - Character Lightset 0-1
- k0 - ??
- k1 - Enable/Disable
- k2 - Hue Color Selector
- k3 - Color Saturation
- k4 - Color Value/Brightness
- k5 - X Angle
- k6 - Y Angle
- k7 - Z Angle
- Entry[1] - Character Lightset 0-2
- k0 - ??
- k1 - Enable/Disable
- k2 - Hue Color Selector
- k3 - Color Saturation
- k4 - Color Value/Brightness
- k5 - X Angle
- k6 - Y Angle
- k7 - Z Angle
- Entry[2] - Character Lightset 0-3
- k0 - ??
- k1 - Enable/Disable
- k2 - Hue Color Selector
- k3 - Color Saturation
- k4 - Color Value/Brightness
- k5 - X Angle
- k6 - Y Angle
- k7 - Z Angle
- Entry[3] - Character Lightset 0-4
- k0 - ??
- k1 - Enable/Disable
- k2 - Hue Color Selector
- k3 - Color Saturation
- k4 - Color Value/Brightness
- k5 - X Angle
- k6 - Y Angle
- k7 - Z Angle
- Entry[4] - Stage Lightset 0-1
- k0 - ??
- k1 - Enable/Disable
- k2 - Hue Color Selector
- k3 - Color Saturation
- k4 - Color Value/Brightness
- k5 - X Angle
- k6 - Y Angle
- k7 - Z Angle
- Entry[5] - Stage Lightset 0-2
- k0 - ??
- k1 - Enable/Disable
- k2 - Hue Color Selector
- k3 - Color Saturation
- k4 - Color Value/Brightness
- k5 - X Angle
- k6 - Y Angle
- k7 - Z Angle
- Entry[6] - Stage Lightset 0-3
- k0 - ??
- k1 - Enable/Disable
- k2 - Hue Color Selector
- k3 - Color Saturation
- k4 - Color Value/Brightness
- k5 - X Angle
- k6 - Y Angle
- k7 - Z Angle
- Entry[7] - Stage Lightset 0-4
- k0 - ??
- k1 - Enable/Disable
- k2 - Hue Color Selector
- k3 - Color Saturation
- k4 - Color Value/Brightness
- k5 - X Angle
- k6 - Y Angle
- k7 - Z Angle
- Repeats for each 4 entries, adding up to 16 stage lightsets
- --------------------------------------------------------------------------------------------------------------------------------------
- Group[3] - Fog data (Documented by DSX8 and KillzXGaming)
- NOTE: Note! Entries 1-16 control some sort of object prioty. Possibly hard coded to specific stage models. Entry 1 can still control the main fog intensity and brightness. If a stage appears to have no fog, it may have a very low intensity or brightness value.
- NU_FogParam can control the intensity of a specific object aswell. these are controlled by the second value. Higher values increase fog, lower decrease.
- entry[0] - Character Fog
- k0 - Hue color selector
- k1 - Color Saturation
- k2 - Fog Value/Brightness
- entry[1] - Stage Fog1
- k0 - Hue color selector
- k1 - Color Saturation
- k2 - Fog Value/Brightness
- Repeats for each entry, adding up to 16 stage Fog
- --------------------------------------------------------------------------------------------------------------------------------------
- Group[4] - Unknown
- entry0 to 3 - unknown (Bridge of Eldin and Suzaku Castle has different data)
- k0 - 1
- k1 - 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement