
NewGoal
Name		GOAL_FAIL
IMASK		bit_COND_CAN_ATTACK
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_SEE_ENEMY
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
IMASK		bit_COND_HEARD_TEAMMATE
IMASK		bit_COND_HEAR_SOUND
SMASK		0
SMASK		bit_SOUND_COMBAT
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_DECOY
NumJobs		3
JOB_HALT			0
JOB_PLAY_ANIMATION_LOOP		MESHANIM_IDLE
JOB_WAIT			2
End  #NewGoal

NewGoal
Name		GOAL_DIE
IMASK		0
SMASK		0
NumJobs		3
JOB_SET_STATE	AI_STATE_DEAD
JOB_HALT		0
JOB_DIE			0
End  #NewGoal

NewGoal
Name		GOAL_IDLE_STAND
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
IMASK		bit_COND_HEAR_SOUND
IMASK		bit_COND_HEARD_TEAMMATE
SMASK		0
SMASK		bit_SOUND_COMBAT
#SMASK		bit_SOUND_DANGER
#SMASK		bit_SOUND_WORLD
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_DECOY
NumJobs		5
JOB_SET_STATE				AI_STATE_IDLE
JOB_HALT			0
JOB_PLAY_ANIMATION_LOOP		MESHANIM_IDLE
JOB_WAIT			5
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BORED_IDLE
End  #NewGoal

NewGoal
Name		GOAL_IDLE_SEATED
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
IMASK		bit_COND_HEAR_SOUND
IMASK		bit_COND_HEARD_TEAMMATE
SMASK		0
SMASK		bit_SOUND_COMBAT
#SMASK		bit_SOUND_DANGER
#SMASK		bit_SOUND_WORLD
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_DECOY
NumJobs		5
JOB_SET_STATE				AI_STATE_IDLE_SEATED
JOB_HALT			0
JOB_PLAY_ANIMATION_LOOP		MESHANIM_IDLE_SEATED
JOB_WAIT			5
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BORED_IDLE_SEATED
End  #NewGoal

NewGoal
Name		GOAL_IDLE_SEATED_TO_IDLE
IMASK		0
SMASK		0
NumJobs		2
JOB_PLAY_ANIMATION_ONCE		MESHANIM_IDLE_SEATED_STANDUP
JOB_SET_STATE				AI_STATE_IDLE
End  #NewGoal

NewGoal
Name		GOAL_ALERT_IDLE
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_SEE_ENEMY
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
IMASK		bit_COND_HEARD_TEAMMATE
SMASK		0
NumJobs		3
#JOB_SET_STATE				AI_STATE_ALERT
JOB_HALT					0
JOB_PLAY_ANIMATION_LOOP		MESHANIM_BATTLE_IDLE
JOB_WAIT					5
#JOB_SET_STATE				AI_STATE_IDLE
End  #NewGoal

NewGoal
Name		GOAL_ALERT_FACE
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_SEE_ENEMY
IMASK		bit_COND_ENEMY_DEAD
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
IMASK		bit_COND_HEARD_TEAMMATE
SMASK		0
NumJobs		3
JOB_FACE_ENEMY_LKP			0
JOB_PLAY_ANIMATION_LOOP		MESHANIM_BATTLE_IDLE
JOB_WAIT					2
End  #NewGoal


NewGoal
Name		GOAL_IDLE_TO_ALERT
IMASK		0
SMASK		0
NumJobs		1
JOB_SET_STATE		AI_STATE_ALERT
#JOB_SET_GOAL		GOAL_ALERT_IDLE
End  #NewGoal

NewGoal
Name		GOAL_ALERT_TO_ATTACK
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
SMASK		0
NumJobs		1
JOB_ALERT_TO_ATTACK		0
End  #NewGoal

NewGoal
Name		GOAL_ATTACK_TO_ALERT
IMASK		0
SMASK		0
NumJobs		1
JOB_SET_STATE		AI_STATE_ALERT
End  #NewGoal


NewGoal
Name		GOAL_FORM_FORMATION
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_SEE_ENEMY
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
IMASK		bit_COND_HEAR_SOUND
SMASK		bit_SOUND_PLAYER
#SMASK		bit_SOUND_COMBAT
NumJobs		4
JOB_SET_FAIL_GOAL			GOAL_IDLE_STAND
JOB_FORM_GROUP				0
JOB_FORM_GROUP				0
JOB_FORM_GROUP				0
End  #NewGoal


NewGoal
Name		GOAL_FOLLOW_PATH
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_SEE_ENEMY
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
IMASK		bit_COND_PATH_OBSTRUCTED
IMASK		bit_COND_HEARD_TEAMMATE
IMASK		bit_COND_HEAR_SOUND
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_COMBAT
NumJobs		10
JOB_SET_FAIL_GOAL					GOAL_IDLE_STAND
JOB_CREATE_WP_PATH					0
JOB_FOLLOW_PATH						0
JOB_SKIP_JOBS						2
JOB_TURN							0
JOB_PATROL_PATH_ANIMATION			0
JOB_MOVE_TO_CLOSEST_WP				0
JOB_SKIP_JOBS						1
JOB_TURN							0
JOB_SET_GOAL						GOAL_FOLLOW_PATH
End  #NewGoal



NewGoal
Name		GOAL_TURN
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_SEE_ENEMY
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
IMASK		bit_COND_HEAR_SOUND
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_COMBAT
NumJobs		3
JOB_SET_FAIL_GOAL				GOAL_IDLE_STAND
JOB_HALT						0
JOB_TURN						0
End  #NewGoal


NewGoal
Name		GOAL_CUTSCENE
IMASK		0
SMASK		0
NumJobs		2
JOB_CUTSCENE		0
JOB_SET_GOAL		GOAL_CUTSCENE
End  #NewGoal

NewGoal
Name		GOAL_CS_FORCEANIM
IMASK		0
SMASK		0
NumJobs		1
JOB_PLAY_ANIMATION_ONCE		MESHANIM_CS_ANIMATION
End  #NewGoal

NewGoal
Name		GOAL_CS_FORCEANIM_LOOP
IMASK		0
SMASK		0
NumJobs		2
JOB_PLAY_ANIMATION_LOOP		MESHANIM_CS_ANIMATION
JOB_SET_GOAL				GOAL_CS_FORCEANIM_LOOP
End  #NewGoal

NewGoal
Name		GOAL_FOLLOW_PLAYER
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_SEE_ENEMY
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
IMASK		bit_COND_HEAR_SOUND
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_COMBAT
NumJobs		3
JOB_SET_FAIL_GOAL					GOAL_IDLE_STAND
#JOB_FACE_DESTINATION				0
JOB_FOLLOW_PLAYER					0
#JOB_TURN							0
JOB_SET_GOAL						GOAL_FOLLOW_PLAYER
End  #NewGoal


NewGoal
Name		GOAL_SLEEP
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
IMASK		bit_COND_HEAR_SOUND
SMASK		0
SMASK		bit_SOUND_COMBAT
#SMASK		bit_SOUND_DANGER
#SMASK		bit_SOUND_WORLD
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_DECOY
NumJobs		3
JOB_SET_STATE				AI_STATE_SLEEP
JOB_HALT			0
#JOB_PLAY_ANIMATION_LOOP		MESHANIM_IDLE
JOB_PLAY_ANIMATION_LOOP		MESHANIM_LEFT_TUMBLE
End  #NewGoal


NewGoal
Name		GOAL_SPAWN
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		2
#JOB_WAIT					0.2
JOB_PLAY_ANIMATION_ONCE		MESHANIM_SPAWN
JOB_SPAWN					0
End  #NewGoal



NewGoal
Name		GOAL_DESTROY_TARGET
IMASK		0
SMASK		0
NumJobs		2
JOB_SET_STATE				AI_STATE_ALERT
#JOB_FACE_TARGET				0
JOB_DESTROY_TARGET			0
#JOB_RELOAD					0
End  #NewGoal

NewGoal
Name		GOAL_QUEUED_COMMAND
IMASK		0
SMASK		0
NumJobs		1
JOB_INVOKE_QUEUED_COMMAND	0
End  #NewGoal
