OBD:ONCC: Difference between revisions

421 bytes removed ,  Sunday at 01:01
removed a wtf from Loser's "bunch of small discoveries" edit of 2007 – there are no ONCCs with value 0x2 in this field and the engine makes no provision for any value besides 0 and 1
m (can't represent this as -1 if it's unsigned (in the code it's defined as 0xFFFF))
(removed a wtf from Loser's "bunch of small discoveries" edit of 2007 – there are no ONCCs with value 0x2 in this field and the engine makes no provision for any value besides 0 and 1)
Line 335: Line 335:
{{OBDtr| 0xC88 | link    |808080| 01 F6 03 00 | 1014        | link to 01014-konoko_animations.[[OBD:TRAC|TRAC]] }}  
{{OBDtr| 0xC88 | link    |808080| 01 F6 03 00 | 1014        | link to 01014-konoko_animations.[[OBD:TRAC|TRAC]] }}  
{{OBDtr| 0xC8C | link    |808080| 01 F6 03 00 | 1015        | link to 01015-konoko_screens.[[OBD:TRSC|TRSC]] }}  
{{OBDtr| 0xC8C | link    |808080| 01 F6 03 00 | 1015        | link to 01015-konoko_screens.[[OBD:TRSC|TRSC]] }}  
{{OBDtr| 0xC90 | uint16   |FFAA82| 1E 00      | 30          | AI rate of firing; unused }}  
{{OBDtr| 0xC90 | uint16   |FFAA82| 1E 00      | 30          | AI rate of firing; unused }}  
{{OBDtr| 0xC92 | uint16   |FFAA82| 00 00      | 0          | time between death and deletion, in frames (0 for all characters except Mad Bomber, who is 190 ticks) }}  
{{OBDtr| 0xC92 | uint16   |FFAA82| 00 00      | 0          | time between death and deletion, in frames (0 for all characters except Mad Bomber, who is 190 ticks) }}  
{{OBDtr| 0xC94 | bool   |00D900| 00          | 0          | TRSC bitset; see below }}  
{{OBDtr| 0xC94 | bool     |00D900| 00          | 0          | whether character is lefthanded (true for Ninjas, Ninjabots, Comguys) }}  
{{OBDtr| 0xC95 | bool    |00D900| 01          | 1          | character has Daodan powers (can overheal with hypos, do more damage in overpower mode) and can display a Daodan aura particle)}}  
{{OBDtr| 0xC95 | bool    |00D900| 01          | 1          | character has Daodan powers (can overheal with hypos, do more damage in overpower mode) and can display a Daodan aura particle)}}  
{{OBDtr| 0xC96 | bool    |00D900| 00          | 0          | character has [[supershield]] }}  
{{OBDtr| 0xC96 | bool    |00D900| 00          | 0          | character has [[supershield]] }}  
{{OBDtr| 0xC97 | bool    |00D900| 00          | 0          | knockdown resistant (used by MutantMuro.ONCC) }}
{{OBDtr| 0xC97 | bool    |00D900| 00          | 0          | knockdown resistant (used by MutantMuro.ONCC) }}
|}
|}
;TRSC bitset
:Determines whether character is left-handed or right-handed (weapon is attached to left or right fist bone). Must be consistent with character's TRSC or glitches appear. Possibilities are:
:NONE - Character is right-hander with both pistols and rifles
:0x01 - Character is left-hander with both pistols and rifles
:0x02 - Character is left-hander with pistols but "right-hander" with rifles (however, animations for rifles are treated as left-handed)


;Body size factor
;Body size factor