708
edits
Demos kratos (talk | contribs) |
(flags cleanup attempt) |
||
Line 90: | Line 90: | ||
{{OBDtr| 0x0CC | int16 |FFDDDD| 01 00 | 1 | amount of firing modes }} | {{OBDtr| 0x0CC | int16 |FFDDDD| 01 00 | 1 | amount of firing modes }} | ||
{{OBDtr| 0x0CE | int16 |FFDDDD| 0A 00 | 10 | pause before reload in 1/60 seconds }} | {{OBDtr| 0x0CE | int16 |FFDDDD| 0A 00 | 10 | pause before reload in 1/60 seconds }} | ||
{{OBDtr| 0x0D0 | int16 |FFDDDD| 04 00 | 4 | | {{OBDtr| 0x0D0 | int16 |FFDDDD| 04 00 | 4 | release delay; delay between the moment the trigger is released and the moment the weapon stops firing }} | ||
{{OBDtr| 0x0D2 | int16 |FFDDDD| 00 00 | 0 | unknown; always zero }} | {{OBDtr| 0x0D2 | int16 |FFDDDD| 00 00 | 0 | unknown; always zero }} | ||
{{OBDtr| 0x0D4 | | {{OBDtr| 0x0D4 | int32 |FFDDDD| 30 | 0x30 C0 02 00 | weapon options; the following bits are possible (values in hex): | ||
:0x'''02''' 00 00 00 - weapon can't be holstered | |||
:0x'''04''' 00 00 00 - weapon reloads with energy cells | |||
:0x'''08''' 00 00 00 - weapon is a rifle (two-handed) | |||
:0x'''10''' 00 00 00 - unknown; used for w1_tap and w2_sap | |||
:0x'''20''' 00 00 00 - sustained fire | |||
:0x'''40''' 00 00 00 - you can't shoot ??? | |||
:0x'''80''' 00 00 00 - stun switcher; used for w6_vdg, see below | |||
: | :0x00 '''01''' 00 00 - knockdown switcher; used for w4_psm, see below | ||
:0x00 '''02''' 00 00 - unknown; used for w5_sbg and w11_ba1 | |||
:0x00 '''04''' 00 00 - secondary fire enabled | |||
:0x00 '''08''' 00 00 - weapon can't be reloaded | |||
:0x00 '''10''' 00 00 - heavy weapon; run, jump and creep disabled | |||
:0x00 '''20''' 00 00 - auto release trigger; used for w11_ba1 | |||
:0x00 '''40''' 00 00 - has release delay; see the release delay field above; | |||
:0x00 '''80''' 00 00 - laser sight visible | |||
: | |||
: | |||
: | |||
: | |||
: | |||
: | |||
: | |||
:0x00 00 '''02''' 00 - crosshair scaling, used for w1_tap, w2_sap, w3_phr and w8_mbo | |||
:0x00 00 '''08''' 00 - weapon doesn't fade | |||
:0x00 00 '''10''' 00 - drain ammo; used by w4_psm to decrement ammo while firing because its firing mode is continuous rather than repetitive | |||
}} | }} | ||
|} | |} | ||
'''stun switcher''' -if enemy is inside shooting distance (between min and max) and is '''knockdown'''ed/'''stun'''ed or '''blownup'''ed, AI with this weapon switches to melee for a time specified in a *fight timer* field | '''stun switcher''' - if enemy is inside shooting distance (between min and max) and is '''knockdown'''ed/'''stun'''ed or '''blownup'''ed, AI with this weapon switches to melee for a time specified in a *fight timer* field | ||
'''knockdown switcher''' - if enemy is inside shooting distance (between min and max) and is '''knockdown'''ed or '''blownup'''ed, AI with this weapon switches to melee for a time specified in a *fight timer* field | '''knockdown switcher''' - if enemy is inside shooting distance (between min and max) and is '''knockdown'''ed or '''blownup'''ed, AI with this weapon switches to melee for a time specified in a *fight timer* field | ||
==0x0D8 to 0x1D7 - Firing modes== | ==0x0D8 to 0x1D7 - Firing modes== |
edits