Jump to content

OBD:ONSK: Difference between revisions

220 bytes removed ,  27 April 2007
m
no edit summary
m (ARGB possibility)
mNo edit summary
Line 45: Line 45:
| BGCOLOR="#00FF00" | 01 10 25 00
| BGCOLOR="#00FF00" | 01 10 25 00
| 9488
| 9488
| ALIGN=LEFT | planet 1? sunset_sun.[[OBD:TXMP|TXMP]] in level2 and level3, not used otherwise
| ALIGN=LEFT | planet 1? sunset_sun.[[OBD:TXMP|TXMP]] in level2 and level3, not used elsewhere
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
Line 101: Line 101:
| BGCOLOR="#00FFFF" | 01 00 00 00
| BGCOLOR="#00FFFF" | 01 00 00 00
| 0
| 0
| ALIGN=LEFT | unknown, 1 if sun is present, 0 otherwise
| ALIGN=LEFT | non-zero enables display of sun
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF00FF" | FF FF FF FF
| BGCOLOR="#FF00FF" | FF FF FF FF
Line 109: Line 109:
| BGCOLOR="#FFC8C8" | 00 00 80 3F
| BGCOLOR="#FFC8C8" | 00 00 80 3F
| 1.000000
| 1.000000
| ALIGN=LEFT | unknown, 1 if sun is present, DEAD otherwise
| ALIGN=LEFT | U-scaling of sun (1 is tiny, 100 is "normal")
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | AD DE
| BGCOLOR="#FFFFC8" | AD DE
Line 117: Line 117:
| BGCOLOR="#C8FFC8" | 00 00 80 3F
| BGCOLOR="#C8FFC8" | 00 00 80 3F
| 1.000000
| 1.000000
| ALIGN=LEFT | unknown, 1 if sun is present, DEAD otherwise
| ALIGN=LEFT | V-scaling of sun (1 is tiny, 100 is "normal")
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | AD DE
| BGCOLOR="#C8FFFF" | AD DE
Line 125: Line 125:
| BGCOLOR="#FFC8FF" | 00 00 00 00
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0.000000
| 0.000000
| ALIGN=LEFT | unknown, 0 if sun is present, DEAD otherwise
| ALIGN=LEFT | elevation of sun, in radians
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" | AD DE
| BGCOLOR="#FFC800" | AD DE
Line 133: Line 133:
| BGCOLOR="#C800C8" | 00 00 00 00
| BGCOLOR="#C800C8" | 00 00 00 00
| 0.000000
| 0.000000
| ALIGN=LEFT | unknown, 0 if sun is present, DEAD otherwise
| ALIGN=LEFT | azimuth of sun, in radians
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C87C64" | AD DE
| BGCOLOR="#C87C64" | AD DE
Line 169: Line 169:
:*1 (never used)
:*1 (never used)
:*5 (first one always lensflare02, other 4 never used)
:*5 (first one always lensflare02, other 4 never used)
;Sun fields
;Issues with the sun
:Those are present whenever the sun TXMP is linked to at 0x20
:After upscaling and positioning the sun, two bugs remain:
:*int at 0x58: 1 if there's a sun, 0 otherwise (maybe a flag)
:*the sun texture is rotated 90° counter-clockwise
:*float at 0x60: 1 if there's a sun, missing otherwise
:*the sun isn't occluded by anything at all :(
:*float at 0x80: 1 if there's a sun, missing otherwise
:*float at 0xA0: 0 if there's a sun, missing otherwise
:*float at 0xC0: 0 if there's a sun, missing otherwise
;Original ONSK
;Original ONSK
*afternoon (level 1)
*afternoon (level 1)
Line 181: Line 178:
*crapsky (level 19)
*crapsky (level 19)
*night (all the other levels except level 13, which has no ONSK)
*night (all the other levels except level 13, which has no ONSK)
All ONSK are identical apart from the sun fields (see above) and the skybox textures.
All ONSK are identical apart from the sun stuff (see above) and the skybox textures.


----
----
{{OBD_File_Footer|type=ONSK|prev=ONSA|next=ONTA|name=Oni Sky Class}}
{{OBD_File_Footer|type=ONSK|prev=ONSA|next=ONTA|name=Oni Sky Class}}