www.engin.umd.umich.edu/CIS/course.des/cis487/ppt/tge6.ppt
t; margin-left: 0pt; margin-right: 0pt;
text-align: center; text-indent: 0pt; line-height: 44pt;">Bruce R. Maxim
UM-Dearborn
8/9/08
2
Slides based on the
Code from Advanced 3D
Game Programming
by Kenneth Finney
8/9/08
3
Stationary Guard - 1
Requirements
Visually detects potential threats
Determines friend or foe
Determines threat level
Scans assigned area
Engages hostile players
Detects when being engaged by hostile players
8/9/08
4
Stationary Guard - 2
Attributes
Maximum vision range
(differs for each guard)
Minimum vision range
(guaranteed detection distance)
Alertness
(some are better and some are worse)
Attention level
(gets worse with no activity)
Aggressiveness
(not always the same for each guard)
8/9/08
5
AIDropPoints
Execute the fps.starter demo and open the World Creator Interface
On lower right side, drill down and click on MissionObjects/System/SimGroup
Call the object AIDropPoints and switch to the World Editor Inspector
(F3)
Make AIDropPoints an instant group using the Alt key and left mouse
button
8/9/08
6