Errata

AI for Game Developers

Errata for AI for Game Developers

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 10
Figure 2-2

Figure 2-2 shows only one scenario (that is one circle chasing one diamond). The
paragraph following it refers to "the scenario on the left" (wherein the prey is
sitting still), and "the scenario on the right" (in which the prey is moving along
some arbitrary path over time). Figure 2-2 only shows the first scenario.
Correct figure can be found here - http://examples.oreilly.com/9780596005559/aigd_0202.gif

Anonymous   
Printed
Page 90-92

Figures 5-4 and 5-5 are swapped (including the captions).

Anonymous   
Printed
Page 152
Example 8-4

The first parameter to fi_GetData() needs closing quotation
marks. In other words,

intelligence[kTroll]=fi_GetData("Troll Settings.txt,
"INTELLIGENCE");
strength[kTroll]=fi_GetData("Troll Settings.txt,
"STRENGTH");
speed[kTroll]=fi_GetData("Troll Settings.txt,
"SPEED");

should be:

intelligence[kTroll]=fi_GetData("Troll Settings.txt",
"INTELLIGENCE");
strength[kTroll]=fi_GetData("Troll Settings.txt",
"STRENGTH");
speed[kTroll]=fi_GetData("Troll Settings.txt",
"SPEED");

Anonymous   
Printed
Page 171
in figure 9.3

The text "Thisty" should be "Thirsty"

Anonymous   
Printed
Page 188
Example code

Fuzzy Logic problems, Chapter 10, are not in Examples download.

Anonymous   
Printed
Page 249
3rd paragraph, 4th sentence

The text say "In Figure 13-1, C causes D and D causes E and F, but A and B cause C." However, there are no
states named A to F in 13-1.

Figure 13-1 looks like this (more or less, as ASCII-images):

Trapped (T)

Anonymous   
Printed
Page 353
code sample

Y += u.y;

The "Y" should be lowercased.

Anonymous