Jump to content

OBD:BINA/OBJC/CMBT: Difference between revisions

m
added family to footer template call
m (→‎Dialogs from level0_Tools: bluebox jpg to png)
m (added family to footer template call)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{OBD OBJC Header | align=center | type=CMBT | prev=CHAR | next=CONS | name=Combat Profile}}
{{OBD OBJC Header | align=center | type=CMBT | prev=CHAR | next=CONS | name=Combat Profile | stuff=b_cb}}




Line 9: Line 9:
{{Table}}
{{Table}}
{{OBDth}}
{{OBDth}}
{{OBDtr| 0x00 | 4CC      |FF0000| 43 4A 42 4F | OBJC      | object collection }}
{{OBDtr| 0x00 | 4CC      |FF0000| 43 4A 42 4F | OBJC      | objects }}
{{OBDtr| 0x04 | int32    |FFFF00| B0 0D 00 00 | 35628    | length (in bytes) to end of OBJC from here }}
{{OBDtr| 0x04 | int32    |FFFF00| B0 0D 00 00 | 35628    | length (in bytes) to end of OBJC from here }}
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39        | object collection version }}
{{OBDtr| 0x08 | int32    |00FF00| 27 00 00 00 | 39        | object list version }}
{{OBDtr| 0x0C | int32    |00FFFF| B4 00 00 00 | 180      | size of the following object in bytes }}
{{OBDtr| 0x0C | int32    |00FFFF| B4 00 00 00 | 180      | size of the following object in bytes }}
{{OBDtrBK|First object (black outline)}}
{{OBDtrBK|First object (black outline)}}
Line 99: Line 99:




These settings affect the behavior of an AI that's running for a console (e.g., script command *ai2_doalarm*).
These settings affect the behavior of an AI that's running for a console (e.g., script command *ai2_doalarm*). For an example of how flexible the AI is when using alarm behavior, see [https://www.youtube.com/watch?v=CkzguNxjGEs this demo from Loser] where an AI completes Chapter 1.
;alarm search distance
;alarm search distance
:area around AI, where engine checks if there is some console with 40 bit (see [[OBD:BINA/OBJC/CONS|CONS]]).
:area around AI, where engine checks if there is some console with 40 bit (see [[OBD:BINA/OBJC/CONS|CONS]]).
Line 119: Line 119:
* ???Find alarm??? pm_pursue action, still unknown
* ???Find alarm??? pm_pursue action, still unknown
----
----
==Further info==
==Further info==
===About pursuit distance===
===About pursuit distance===
Line 132: Line 133:
:*GoTo
:*GoTo
:*Forget
:*Forget
What AI does while in pursuit mode depends on the last values in [[OBD:BINA/OBJC/CHAR|CHAR]]. But it is still unknown how it works. It also depends on the alert level of an AI (lull, low, med, high, combat). Pursuit mode lasts from the moment of the disturbing action until AI goes to forgotten hostilethreat for enemy action, or after one investigation loop for friendlythreat action (see [[OBD:ONCC|ONCC]] for info about ...threats).  
What AI does while in pursuit mode depends on the last values in [[OBD:BINA/OBJC/CHAR|CHAR]].Go there for further info.  


So...what is the pursuit distance??? It is distance that is AI allowed to travel from its original location for *pursue* purposes. Set it high and AI can run through whole level if it hears or spots something. Set it low and AI will do just a few steps in a direction of disturbing action.
So...what is the pursuit distance??? It is distance that is AI allowed to travel from its original location for *pursue* purposes. Set it high and AI can run through whole level if it hears or spots something. Set it low and AI will do just a few steps in a direction of disturbing action.
----
----
===About melee override===
===About melee override===
First something about minimal shooting distance.It is in the [[OBD:ONWC|ONWC]] and determines closest range for AI to fire that weapon. If enemy goes closer, AI stops shooting and tends to run away until it reahes minimal shooting distance again.
First something about minimal shooting distance.It is in the [[OBD:ONWC|ONWC]] and determines closest range for AI to fire that weapon. If enemy goes closer, AI stops shooting and tends to run away until it reahes minimal shooting distance again.
Line 152: Line 154:
==Dialogs from level0_Tools==
==Dialogs from level0_Tools==


http://ssg.oni2.net/subfold/bluebox/images/307_choose_combat.png
[[Image:Tool dialog - Choose Combat.png]]
 


[[Image:Tool dialog - Edit Combat.png]]


http://ssg.oni2.net/subfold/bluebox/images/306_edit_combat.png


{{OBD OBJC Footer | type=CMBT | prev=CHAR | next=CONS | name=Combat profile | family=Level}}


{{OBD OBJC Footer | type=CMBT | prev=CHAR | next=CONS | name=Combat profile}}
{{OBD}}