1,051
edits
m (lunch break) |
|||
Line 1: | Line 1: | ||
{{OBD_File_Header | type=ONWC | prev=ONVL | next=OPge | name=Oni Weapon Class | family=Level | align=center}} | |||
All ONWC files are 0 byte files. That means that Oni takes the information out of the ONWC files of level 0. Below is an example of an ONWC file of level 0. The first pic shows the beginning of this file. The second pic the end of it. | |||
==0x000 to 0x0D7 - Weapon main part == | |||
[[image:onwc_a.gif]] | |||
{{Table}} | |||
{{OBDth}} | |||
{{OBDtr| 0x000 | res_id |FF0000| 01 75 0E 00 | 3701 | 03701-w1_tap.ONWC }} | |||
{{OBDtr| 0x004 | lev_id |FFFF00| 01 00 00 00 | 0 | level 0 }} | |||
|} | |||
===0x008 to 0x053 - Laser sight parameters=== | |||
{{Table}} | |||
{{OBDth}} | |||
{{OBDtr| 0x008 | float |FFC8C8| F5 A4 49 40 | 3.150693 | x-offset of the origin }} | |||
{{OBDtr| 0x00C | float |FFC8C8| F4 2C A5 3B | 0.005041 | y-offset of the origin }} | |||
{{OBDtr| 0x010 | float |FFC8C8| 21 4E D2 3E | 0.410752 | z-offset of the origin }} | |||
{{OBDtr| 0x014 | float |FFC8C8| 23 A6 7F 3F | 0.998629 | something like the stiffness (try setting it to 0.001 and lower) }} | |||
{{OBDtr| 0x018 | float |FFC8C8| AA 6C 56 BD | -0.052349 | additional azimuth }} | |||
{{OBDtr| 0x01C | float |FFC8C8| 69 66 AA B7 | -0.000020 | additional elevation }} | |||
{{OBDtr| 0x020 | float |FFC8C8| 00 40 9C 45 |5000.000000 | maximal length of laser sight vector }} | |||
{{OBDtr| 0x024 | color |FFFFC8| 00 00 FF FF | 0, 0, 255; 255 | laser sight color (blue, green, red); laser sight transparency }} | |||
{{OBDtr| 0x028 | link |C8FFC8| 01 94 05 00 | 1428 | crosshair texture (link to 01428-target_1A.[[OBD:TXMP|TXMP]]) }} | |||
{{OBDtr| 0x02C | color |C8FFC8| FF FF FF 00 |255, 255, 255; 0| crosshair background color (blue, green, red); crosshair background transparency }} | |||
{{OBDtr| 0x030 | float |C8FFC8| CD CC 4C 3F | 0.800000 | crosshair scale factor }} | |||
{{OBDtr| 0x034 | link |C8FFFF| 01 95 05 00 | 1428 | locked crosshair texture (link to 01429-target_1B.[[OBD:TXMP|TXMP]]) }} | |||
{{OBDtr| 0x038 | color |C8FFFF| FF FF FF 00 |255, 255, 255; 0| locked crosshair background color (blue, green, red); locked crosshair background transparency }} | |||
{{OBDtr| 0x03C | float |C8FFFF| CD CC 4C 3F | 0.800000 | locked crosshair scale factor }} | |||
{{OBDtr| 0x040 | link |FFC8FF| 00 00 00 00 | unused | tunnel texture (link to a [[OBD:TXMP|TXMP]]) file }} | |||
{{OBDtr| 0x044 | color |FFC8FF| FF FF FF 00 |255, 255, 255; 0| tunnel background color (blue, green, red); tunnel background transparency }} | |||
{{OBDtr| 0x048 | float |FFC8FF| CD CC 4C 3F | 1.000000 | tunnel scale factor }} | |||
{{OBDtr| 0x04C | int32 |FFC800| 0F 00 00 00 | 15 | number of tunnel textures }} | |||
{{OBDtr| 0x050 | float |C800C8| 00 00 20 41 | 10.000000 | spacing of tunnel textures }} | |||
{{OBDtr| 0x008 | float |FFC8C8| | | }} | |||
{{OBDtr| 0x02 | int16 |FFFFC8| 00 00 | 0 | variable, returns if you choose this option }} | |||
{{OBDtr2| 0x04 | char[64] |C8FFC8| Easy | entry name }} | |||
|} | |||
{{OBD_File_Footer | type=ONWC | prev=ONVL | next=OPge | name=Oni Weapon Class | family=Level}} | |||
{|align=right | {|align=right | ||
![[OBD:Oni Binary Data|ONI BINARY DATA]] | ![[OBD:Oni Binary Data|ONI BINARY DATA]] |
edits