OBD:BINA/OBJC/PATR: Difference between revisions

m
no edit summary
m (option 21 (patrolscript))
mNo edit summary
Line 47: Line 47:




:08 - unknown
:08 - unknown; (not used in Oni)
:09 - unknown
:09 - unknown; (not used in Oni)
:10 - move through flag (short, float) - character moves to this flag until he/she has reached the radius border of it
:10 - move through flag (short, float) - character moves to this flag until he/she has reached the radius border of it
:11 - move through point (float, float, float, float) - character moves to this point until he/she has reached the radius border of it; (not used in Oni)
:11 - move through point (float, float, float, float) - character moves to this point until he/she has reached the radius border of it; (not used in Oni)
:12 - stop looking (nothing)
:12 - stop looking (nothing)
:13 - unknown (nothing); used only once; maybe free facing?
:13 - free facing?; used only once
:14 - glance at flag for ... frames (short + long) - character looks (rotates only the head) to the flag for the fixed time
:14 - glance at flag for ... frames (short + long) - character looks (rotates only the head) to the flag for the fixed time
:15 - move near flag (short + float) - character moves to this flag until he/she has reached the radius border of it
:15 - move near flag (short + float) - character moves to this flag until he/she has reached the radius border of it
Line 58: Line 58:
:17 - time + rotation (short + float) - character looks/aims around for the fixed time
:17 - time + rotation (short + float) - character looks/aims around for the fixed time
:18 - unkown (nothing follows)
:18 - unkown (nothing follows)
:19 - time + flag + rotation (short + short + float) - character moves to the flag and looks/aims around for the fixed time
:19 - time + flag + rotation in degrees (short + short + float) - character moves to the flag and when reached he/she looks/aims around for the fixed time
:20 - time follows (short)
:20 - time follows (short)
:21 - patrolscript id follows (short) - function with this id is called up (f.e. id <nowiki>= 1, then called up function =</nowiki> patrolscript0001)
:21 - patrolscript id follows (short) - function with this id is called up (f.e. id <nowiki>= 1, then called up function =</nowiki> patrolscript0001)
:22 - ignore player (byte) - 0 <nowiki>= off; 1 =</nowiki> on
:22 - ignore player (byte) - 0 <nowiki>= off; 1 =</nowiki> on
:23 - flag + time + unknown (short + short + float) - character faces to to the flag and fires his/her weapon for the fixed time (doesn't work on stairways)
:23 - flag + time + firing spread in degrees (short + short + float) - character faces to to the flag and fires his/her weapon for the fixed time  




1,051

edits