OBD:BINA/OBJC/CMBT: Difference between revisions
Jump to navigation
Jump to search
m (→Alarm behavior: cosmetics) |
|||
Line 203: | Line 203: | ||
| BGCOLOR="#C8C864" | 68 01 00 00 | | BGCOLOR="#C8C864" | 68 01 00 00 | ||
| 360 | | 360 | ||
| ALIGN=LEFT | alarm fight timer; | | ALIGN=LEFT | alarm fight timer; see below | ||
|} | |} | ||
;Alarm enemy ignore distance | ;Alarm enemy ignore distance | ||
:This one specifies an "ignore range". Enemies which are inside this range are | :This one specifies an "ignore range". Enemies which are inside this range are not ignored but AI doesn't attack them. | ||
;Alarm enemy attack distance | ;Alarm enemy attack distance | ||
: | :Zero by default. | ||
:This one specifies an "attack range" around an AI running for an alarm. When there is an enemy inside, AI stops running for the console and attack the enemy (if AI knows about him, of course) | |||
:This one specifies | :Nevertheless AI still keeps in mind that it should run for the console. So when there is no enemy inside this range and fight timer runs out, AI resumes running to the specified console. | ||
;Fight timer | |||
: | :When AI, which is running for the console, is engaged in a fight and enemy manages to disappear (either by phase-cloak or simply by hiding behind some corner), AI tries to chase him or looks for him. Alarm timer specifies how long should AI chase/look for the enemy. For chasing, timer starts when the enemy is outside *Alarm enemy attack distance*. Of course when the enemy escapes even from *Alarm enemy ignore range*, AI abandons him automatically. | ||
; | |||
: | |||
;Alarm damage threshold | ;Alarm damage threshold | ||
:it | :Specifies how long AI, which is running for the console, remembers someone hurt it. Until this timer runs away, AI doesn't tend to use console. It only stays in fight stance near console, ready to fight. If someone hurts AI which is running for the console, then escapes and then tries to hurt it again while this timer isn't finished yet, AI remembers him and initatively attacks him the moment he steps inside *Alarm enemy attack distance*. | ||
---- | ---- | ||
:Boy, that is ''so'' promising for CTF and Rugby... Thankee, Loser ^^ | :Boy, that is ''so'' promising for CTF and Rugby... Thankee, Loser ^^ | ||
::[[User:Geyser|geyser]] 15:47, 17 December 2006 (CET) | ::[[User:Geyser|geyser]] 15:47, 17 December 2006 (CET) | ||
:Now I can say whole alarm behavior is resurrected. When somebody sees you, he runs for an alarm. If you manage to outrace him, he fights with you, but keeps his eye on every chance for escaping and running for alarm again. When alarm is tripped, it alerts all AIs with proper alarm group number and they either hunt you (if you are inside their pursuit distance) or their alert level is raised to combat or high level. | |||
:I know there is still *Alarm search distance*, but we doesn't need it (there are plenty of other ways how to check that AI saw enemy and should run for alarm) plus it seems that both *Run For Alarm* behavior and *Run To Alarm* If no gun events are bugged in the same way and are defunct. Or there are missing labels "this is alarm console, you silly AI" in console files. I don't know and I think we can live without that. Or do you think about something else??? | |||
--[[User:Loser|Loser]] 13:43, 27 December 2006 (CET) | |||
---- | ---- |
Revision as of 12:43, 27 December 2006
|
|
Alarm behavior
These settings affect the behavior of an AI that's running for a console (e.g., script command ai2_doalarm).
- Offsets relative to start of CMBT chunk
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0xA0 | float | 00 00 96 43 | 300.000000 | alarm search distance (defunct?) |
0xA4 | float | 00 00 A0 42 | 80.000000 | alarm enemy ignore distance (see below) |
0xA8 | float | 00 00 00 00 | 0 | alarm enemy attack distance (see below) |
0xAC | long | 1E 00 00 00 | 30 | alarm damage threshold; don't exactly know what it is (see below) |
0xB0 | long | 68 01 00 00 | 360 | alarm fight timer; see below |
- Alarm enemy ignore distance
- This one specifies an "ignore range". Enemies which are inside this range are not ignored but AI doesn't attack them.
- Alarm enemy attack distance
- Zero by default.
- This one specifies an "attack range" around an AI running for an alarm. When there is an enemy inside, AI stops running for the console and attack the enemy (if AI knows about him, of course)
- Nevertheless AI still keeps in mind that it should run for the console. So when there is no enemy inside this range and fight timer runs out, AI resumes running to the specified console.
- Fight timer
- When AI, which is running for the console, is engaged in a fight and enemy manages to disappear (either by phase-cloak or simply by hiding behind some corner), AI tries to chase him or looks for him. Alarm timer specifies how long should AI chase/look for the enemy. For chasing, timer starts when the enemy is outside *Alarm enemy attack distance*. Of course when the enemy escapes even from *Alarm enemy ignore range*, AI abandons him automatically.
- Alarm damage threshold
- Specifies how long AI, which is running for the console, remembers someone hurt it. Until this timer runs away, AI doesn't tend to use console. It only stays in fight stance near console, ready to fight. If someone hurts AI which is running for the console, then escapes and then tries to hurt it again while this timer isn't finished yet, AI remembers him and initatively attacks him the moment he steps inside *Alarm enemy attack distance*.
- Boy, that is so promising for CTF and Rugby... Thankee, Loser ^^
- geyser 15:47, 17 December 2006 (CET)
- Now I can say whole alarm behavior is resurrected. When somebody sees you, he runs for an alarm. If you manage to outrace him, he fights with you, but keeps his eye on every chance for escaping and running for alarm again. When alarm is tripped, it alerts all AIs with proper alarm group number and they either hunt you (if you are inside their pursuit distance) or their alert level is raised to combat or high level.
- I know there is still *Alarm search distance*, but we doesn't need it (there are plenty of other ways how to check that AI saw enemy and should run for alarm) plus it seems that both *Run For Alarm* behavior and *Run To Alarm* If no gun events are bugged in the same way and are defunct. Or there are missing labels "this is alarm console, you silly AI" in console files. I don't know and I think we can live without that. Or do you think about something else???
--Loser 13:43, 27 December 2006 (CET)
Blue Box Beta WMDD
ONI BINARY DATA |
---|
AKVA << Other file types >> CBPI |
BINA : Binary data |
TMBD << Other BINA >> ONIE |
OBJC : Objects |
CHAR << Other OBJC >> CONS |
CMBT : Combat profile |
[[OBD:File types/{{{family}}}|{{{family}}} file]] |