INHERIT  			"GOL\BASEAI.GOL"

NewGoal
Name		GOAL_DIE
IMASK		0
SMASK		0
NumJobs		4
JOB_SET_STATE				AI_STATE_DEAD
JOB_PLAY_SOUND_ONCE			VOCALIZATION__BEING_KILLED__KILLED_ENEMY
JOB_HALT		0
JOB_DIE			0
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_CAN_DODGE_ATTACK
IMASK		bit_COND_CAN_BLOCK_ATTACK
IMASK		bit_COND_HEAR_SOUND
IMASK		bit_COND_SOUND_ALARM
IMASK		bit_COND_HEARD_TEAMMATE
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_COMBAT
SMASK		bit_SOUND_DECOY
NumJobs		2
#JOB_SET_STATE				AI_STATE_ALERT
#JOB_HALT					0
JOB_PLAY_ANIMATION_LOOP		MESHANIM_BATTLE_IDLE
JOB_WAIT					2
#JOB_SET_STATE				AI_STATE_IDLE
End  #NewGoal


NewGoal
Name		GOAL_ALERT_LOOK
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_CAN_DODGE_ATTACK
IMASK		bit_COND_CAN_BLOCK_ATTACK
IMASK		bit_COND_HEAR_SOUND
IMASK		bit_COND_SOUND_ALARM
IMASK		bit_COND_HEARD_TEAMMATE
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_COMBAT
SMASK		bit_SOUND_DECOY
NumJobs		3
JOB_HALT					0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_LOOK
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_IDLE
End  #NewGoal

NewGoal
Name		GOAL_HIT_BY_BULLET
IMASK		bit_COND_CAN_DODGE_ATTACK
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		3
JOB_HALT				0
JOB_HIT_BY_BULLET		0
JOB_SET_GOAL			GOAL_FACE_ATTACKER_POSITION
End  #NewGoal


NewGoal
Name		GOAL_ATTACK_FACE
IMASK		bit_COND_SEE_ENEMY
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
SMASK		0
NumJobs		3
JOB_HALT				0
JOB_FACE_ENEMY_ATTACK	0
JOB_SET_GOAL			GOAL_FIND_LOF
End  #NewGoal


#NewGoal
#Name		GOAL_ALERT_FACE
#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
#SMASK		0
#NumJobs		7
#JOB_FACE_DIRECTION_OFFSET	180
#JOB_PLAY_ANIMATION_LOOP		MESHANIM_BATTLE_IDLE
#JOB_WAIT					2
#JOB_FACE_DIRECTION_OFFSET	180
#JOB_PLAY_ANIMATION_LOOP		MESHANIM_BATTLE_IDLE
#JOB_WAIT					1
#JOB_SET_STATE				AI_STATE_ALERT
#End  #NewGoal


NewGoal
Name		GOAL_IDLE_TO_ALERT
IMASK		0
SMASK		0
NumJobs		2
JOB_SET_STATE				AI_STATE_ALERT
JOB_SET_GOAL				GOAL_SPOTTED_ENEMY_WHILE_IDLE
End  #NewGoal

NewGoal
Name		GOAL_SPOTTED_ENEMY_WHILE_IDLE
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
SMASK		0
NumJobs		4
JOB_IDLE_TO_ALERT			0
JOB_FACE_ENEMY_LKP			0
JOB_SPOT_ENEMY				0
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		4
JOB_FACE_ENEMY_LKP			0
JOB_PLAY_SOUND_ONCE			VOCALIZATION__ACTION__SIGHTED_ENEMY_PLAYER
JOB_SPOT_ENEMY				0
JOB_ALERT_TO_ATTACK			0
End  #NewGoal


NewGoal
Name		GOAL_FACE_ATTACKER_POSITION
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
SMASK		0
NumJobs		2
JOB_HALT					0
JOB_FACE_ATTACKER_POSITION	0
#JOB_SET_GOAL				GOAL_TAKE_COVER_FROM_ENEMY
End  #NewGoal

##################
NewGoal
Name		GOAL_BLOCK_MELEE_ATTACK
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		3
JOB_HALT					0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BLOCK_MELEE
JOB_SET_GOAL				GOAL_FACE_ATTACKER_POSITION
End  #NewGoal
###################

NewGoal
Name		GOAL_FACE_SOUND_POSITION
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_HALT					0
JOB_FACE_SOUND				0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_IDLE
#JOB_WAIT					4
JOB_SET_GOAL				GOAL_ALERT_IDLE
#JOB_SET_GOAL				GOAL_INVESTIGATE_SOUND
End  #NewGoal


NewGoal
Name		GOAL_FIND_SOUND_SOURCE
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		11
JOB_HALT					0
JOB_FACE_SOUND				0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_IDLE
JOB_PLAY_ANIMATION_ONCE		MESHANIM_LOOK_IDLE
JOB_FACE_DIRECTION_OFFSET	-120
JOB_PLAY_ANIMATION_ONCE		MESHANIM_LOOK_IDLE
JOB_FACE_DIRECTION_OFFSET	-120
JOB_PLAY_ANIMATION_ONCE		MESHANIM_LOOK_IDLE
JOB_FACE_DIRECTION_OFFSET	-120
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_IDLE
JOB_SET_STATE				AI_STATE_ALERT
End  #NewGoal


NewGoal
Name		GOAL_GROUND_RIDDLE
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		5
JOB_SET_FAIL_GOAL	GOAL_GROUND_RIDDLE
JOB_GROUND_RIDDLE	0
JOB_SET_FAIL_GOAL	GOAL_KNOCKED_DOWN
JOB_GET_UP			0	
JOB_SET_GOAL		GOAL_FACE_ATTACKER_POSITION
End  #NewGoal



NewGoal
Name		GOAL_KNOCKED_DOWN
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		5
JOB_SET_FAIL_GOAL	GOAL_GROUND_RIDDLE
JOB_KNOCKED_DOWN	DAMAGESRC_BULLET
JOB_SET_FAIL_GOAL	GOAL_KNOCKED_DOWN
JOB_GET_UP			0
JOB_SET_GOAL		GOAL_FACE_ATTACKER_POSITION
End  #NewGoal

NewGoal
Name		GOAL_KNOCKED_UNCONSCIOUS
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		5
JOB_SET_FAIL_GOAL			GOAL_GROUND_RIDDLE
JOB_KNOCKED_UNCONSCIOUS		DAMAGESRC_GAS
JOB_SET_FAIL_GOAL			GOAL_KNOCKED_UNCONSCIOUS
JOB_GET_UP					0
JOB_SET_GOAL				GOAL_FACE_ATTACKER_POSITION
End  #NewGoal

NewGoal
Name		GOAL_FORCED_UNCONSCIOUS
#IMASK		bit_COND_FALLING
SMASK		0
NumJobs		2
JOB_SET_FAIL_GOAL			GOAL_FORCED_UNCONSCIOUS
JOB_KNOCKED_UNCONSCIOUS		DAMAGESRC_GAS
End  #NewGoal

NewGoal
Name		GOAL_PARACHUTE
IMASK		bit_COND_FALLING
#IMASK		bit_COND_LIGHT_DAMAGE
SMASK		0
NumJobs		5
JOB_HALT					0
JOB_PLAY_ANIMATION_LOOP		MESHANIM_PARACHUTE_IDLE
JOB_WAIT_INDEFINITE			0
JOB_SET_STATE				AI_STATE_ALERT
JOB_SET_GOAL				GOAL_SPAWN
End  #NewGoal

NewGoal
Name		GOAL_CHASE_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
SMASK		0
NumJobs		4
JOB_SET_FAIL_GOAL		GOAL_ALERT_IDLE
JOB_FACE_ENEMY_LKP		0
JOB_RUN_TO_ENEMY_LKP	0
JOB_SET_GOAL			GOAL_ALERT_FACE
End  #NewGoal

NewGoal
Name		GOAL_FALLING
IMASK		0
SMASK		0
NumJobs		4
JOB_SET_STATE			AI_STATE_FALLING
JOB_SET_FAIL_GOAL		GOAL_DIE
JOB_FALL				0
JOB_SET_STATE			AI_STATE_KNOCKEDDOWN
#JOB_SET_GOAL			GOAL_GROUND_RIDDLE
End  #NewGoal


NewGoal
Name		GOAL_TAKE_COVER_AND_RELOAD
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
SMASK		0
NumJobs		4
JOB_SET_FAIL_GOAL			GOAL_ALERT_IDLE
JOB_FACE_COVER_POSITION		1
JOB_PLAY_ANIMATION_LOOP		MESHANIM_ATTACK_RUN
JOB_MOVE_TO_COVER			0
End  #NewGoal


NewGoal
Name		GOAL_TAKE_COVER_FROM_ENEMY
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
SMASK		0
NumJobs		7
JOB_SET_FAIL_GOAL			GOAL_ALERT_IDLE
JOB_FIND_COVER				0
JOB_PLAY_ANIMATION_LOOP		MESHANIM_FLEE
JOB_PLAY_SOUND_ONCE			VOCALIZATION__ACTION__FLEE
JOB_MOVE_TO_COVER			0
JOB_FACE_DIRECTION_OFFSET	-180
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_IDLE
End  #NewGoal


NewGoal
Name		GOAL_HIT_BY_WATER
#IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		5
JOB_SET_FAIL_GOAL	GOAL_GROUND_RIDDLE
JOB_KNOCKED_DOWN	DAMAGESRC_WATER
JOB_SET_FAIL_GOAL	GOAL_KNOCKED_DOWN
JOB_GET_UP			0
JOB_SET_GOAL		GOAL_FACE_ATTACKER_POSITION
End  #NewGoal


NewGoal
Name		GOAL_HIT_BY_FIRE
#IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		4
JOB_SET_FAIL_GOAL			GOAL_BURN_RUN
JOB_HALT					0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_ONFIRE_TAKE
JOB_SET_GOAL				GOAL_BURN_RUN
End  #NewGoal


NewGoal
Name		GOAL_BURN_RUN
#IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		3
JOB_SET_FAIL_GOAL	GOAL_DIE
JOB_HIT_BY_FIRE		0
JOB_SET_GOAL		GOAL_DIE
End  #NewGoal


NewGoal
Name		GOAL_HIT_BY_MELEE
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		1
#JOB_SET_FAIL_GOAL	GOAL_GROUND_RIDDLE
JOB_HIT_BY_MELEE	0
#JOB_SKIP_JOBS		3
#JOB_KNOCKED_DOWN	DAMAGESRC_MELEE
#JOB_SET_FAIL_GOAL	GOAL_KNOCKED_DOWN
#JOB_GET_UP			0
#JOB_SET_GOAL		GOAL_FACE_ATTACKER_POSITION
End  #NewGoal

NewGoal
Name		GOAL_FIND_LOF
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_CAN_ATTACK
IMASK		bit_COND_ENEMY_DEAD
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_CAN_BLOCK_ATTACK
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
IMASK		bit_COND_GOAL_DONE
SMASK		0
NumJobs		2
#JOB_FACE_ENEMY_LKP		0
JOB_MOVE_TO_BEST_LOF	0
JOB_FACE_ENEMY_LKP		0
End  #NewGoal

NewGoal
Name		GOAL_DODGE_ENEMY_ATTACK
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		3
JOB_HALT					0
JOB_DODGE_ATTACK			0
JOB_SET_GOAL				GOAL_FIND_LOF
End  #NewGoal


NewGoal
Name		GOAL_ACTIVATE_ALARM
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		9
JOB_SET_STATE					AI_STATE_ALERT
JOB_HALT						0
JOB_FACE_TARGET					0
JOB_PLAY_ANIMATION_LOOP			MESHANIM_IDLE_RUN
JOB_MOVE_TO_TARGET_POSITION		0
JOB_PLAY_ANIMATION_ONCE			MESHANIM_ACTIVATE
JOB_ACTIVATE_ALARM				0
JOB_REMOVE_GOALDATA				0
JOB_FACE_ENEMY_ALERT			0
End  #NewGoal

NewGoal
Name		GOAL_GOTO_TARGET
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		3
JOB_FACE_TARGET					0
JOB_MOVE_TO_TARGET_POSITION		0
JOB_REMOVE_GOALDATA				0
End  #NewGoal

NewGoal
Name		GOAL_FIND_WEAPON
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		12
JOB_LOCATE_WEAPON				0
JOB_MOVE_TO_TARGET_POSITION		0
JOB_FACE_TARGET					0
JOB_EXEC_BEGIN_USE_OBJECT_SCRIPT		0
JOB_PLAY_USE_OBJECT_ANIM		0
JOB_EXEC_USE_OBJECT_SCRIPT		0
JOB_REMOVE_GOALDATA				0
JOB_FACE_ENEMY_ALERT			0
JOB_PLAY_ANIMATION_ONCE			MESHANIM_TAUNT
JOB_RELOAD						0
JOB_PLAY_ANIMATION_ONCE			MESHANIM_RELOAD
JOB_SET_GOAL					GOAL_FIND_LOF
End  #NewGoal

NewGoal
Name		GOAL_USE_OBJECT
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		7
JOB_LOCATE_USEABLE_OBJECT		0
JOB_MOVE_TO_TARGET_POSITION		0
JOB_FACE_TARGET					0
JOB_EXEC_BEGIN_USE_OBJECT_SCRIPT		0
JOB_PLAY_USE_OBJECT_ANIM		0
JOB_EXEC_USE_OBJECT_SCRIPT		0
JOB_REMOVE_GOALDATA				0
End  #NewGoal

NewGoal
Name		GOAL_SURPRISE_REACT
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
SMASK		0
NumJobs		4
JOB_HALT						0
JOB_FACE_TARGET					0
JOB_PLAY_ANIMATION_ONCE			MESHANIM_TAKE
JOB_SET_STATE					AI_STATE_ALERT
End  #NewGoal


NewGoal
Name		GOAL_INVESTIGATE_SOUND
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
IMASK		bit_COND_HEARD_TEAMMATE
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_COMBAT
NumJobs		15
JOB_HALT					0
JOB_PLAY_SOUND_ONCE			VOCALIZATION__ACTION__HEARD_PLAYER
JOB_FACE_SOUND				0
JOB_PLAY_ANIMATION_LOOP		MESHANIM_BATTLE_IDLE
JOB_WAIT					4
JOB_SAVE_POSITION			0
JOB_MOVE_TO_SOUND_POSITION	0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_IDLE
JOB_PLAY_ANIMATION_ONCE		MESHANIM_LOOK_IDLE
#// DAVIDE: new audio to add
JOB_PLAY_SOUND_ONCE				VOCALIZATION__ACTION__NOTHING_THERE
JOB_FACE_SAVED_POSITION		0
JOB_MOVE_TO_SAVED_POSITION	0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_IDLE
JOB_PLAY_ANIMATION_ONCE		MESHANIM_LOOK_IDLE
JOB_SET_STATE				AI_STATE_IDLE
End  #NewGoal

NewGoal
Name		GOAL_INVESTIGATE_SOUND_FASTER
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
IMASK		bit_COND_HEARD_TEAMMATE
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_COMBAT
NumJobs		14
JOB_HALT					0
JOB_PLAY_SOUND_ONCE			VOCALIZATION__ACTION__HEARD_PLAYER
JOB_FACE_SOUND				0
#JOB_PLAY_ANIMATION_LOOP		MESHANIM_BATTLE_IDLE
#JOB_WAIT					4
JOB_SAVE_POSITION			0
JOB_MOVE_TO_SOUND_POSITION	0
#JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_IDLE
JOB_PLAY_ANIMATION_ONCE		MESHANIM_LOOK_IDLE
JOB_WAIT					4
JOB_PLAY_ANIMATION_ONCE		MESHANIM_LOOK_IDLE
#// DAVIDE: new audio to add
JOB_PLAY_SOUND_ONCE				VOCALIZATION__ACTION__NOTHING_THERE
JOB_FACE_SAVED_POSITION		0
JOB_MOVE_TO_SAVED_POSITION	0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_IDLE
JOB_PLAY_ANIMATION_ONCE		MESHANIM_LOOK_IDLE
JOB_SET_STATE				AI_STATE_IDLE
End  #NewGoal


NewGoal
Name		GOAL_RETREAT
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
SMASK		0
NumJobs		8
JOB_SET_FAIL_GOAL				GOAL_ALERT_IDLE
JOB_HALT						0
JOB_FIND_COVER					0
JOB_FACE_COVER_POSITION			1
JOB_PLAY_ANIMATION_LOOP			MESHANIM_FLEE
JOB_PLAY_SOUND_ONCE				VOCALIZATION__ACTION__FLEE
JOB_MOVE_TO_COVER				0
JOB_SET_GOAL					GOAL_COWER
End  #NewGoal

NewGoal
Name		GOAL_COWER
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
SMASK		0
NumJobs		7
JOB_SET_FAIL_GOAL			GOAL_ALERT_IDLE
JOB_FIND_COVER				0
JOB_PLAY_ANIMATION_LOOP		MESHANIM_FLEE
JOB_PLAY_SOUND_ONCE			VOCALIZATION__ACTION__FLEE
JOB_MOVE_TO_COVER			0
JOB_FACE_DIRECTION_OFFSET	-180
JOB_COWER					0
End  #NewGoal

NewGoal
Name		GOAL_TAKE_COVER_FROM_SOUND
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		17
JOB_SET_FAIL_GOAL			GOAL_ALERT_IDLE
JOB_FIND_COVER				0
JOB_SKIP_JOBS				6
JOB_PLAY_ANIMATION_LOOP		MESHANIM_FLEE
JOB_PLAY_SOUND_ONCE			VOCALIZATION__ACTION__COMBAT_SOUND_WARNING
JOB_MOVE_TO_COVER			0
JOB_FACE_SOUND				0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_IDLE
JOB_SET_GOAL				GOAL_ALERT_IDLE
JOB_FACE_SOUND				0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_LOOK
JOB_PATROL_WPS				0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_LOOK
JOB_PATROL_WPS				0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_LOOK
JOB_PATROL_WPS				0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_LOOK
End  #NewGoal


NewGoal
Name		GOAL_INVESTIGATE_ENEMY_LKP
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_GOAL_DONE
IMASK		bit_COND_HEAR_SOUND
IMASK		bit_COND_HEARD_TEAMMATE
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_COMBAT
NumJobs		9
JOB_HALT					0
JOB_FACE_ENEMY_LKP			0
JOB_PLAY_ANIMATION_LOOP		MESHANIM_BATTLE_IDLE
JOB_PLAY_SOUND_ONCE			VOCALIZATION__ACTION__SEEKING_ENEMY
JOB_MOVE_TO_ENEMY_LKP		0
JOB_FACE_ENEMY_LKP			0
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_LOOK
JOB_PLAY_SOUND_ONCE			VOCALIZATION__ACTION__LOST_ENEMY
JOB_PLAY_SOUND_ONCE			VOCALIZATION__ACTION__NOTHING_THERE
End  #NewGoal

NewGoal
Name		GOAL_INVESTIGATE_DEAD_TEAMMATE
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_GOAL_DONE
IMASK		bit_COND_HEAR_SOUND
IMASK		bit_COND_HEARD_TEAMMATE
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_COMBAT
NumJobs		8
JOB_HALT					0
JOB_FACE_ENEMY_LKP			0
JOB_PLAY_SOUND_ONCE			VOCALIZATION__ACTION__PARTIALLY_SIGHTED
JOB_MOVE_TO_ENEMY_LKP		0
JOB_FACE_ENEMY_LKP			0
JOB_PLAY_SOUND_ONCE			VOCALIZATION__ACTION__SIGHTED_FRIEND_DEAD
JOB_PLAY_ANIMATION_ONCE		MESHANIM_BATTLE_LOOK
JOB_PLAY_ANIMATION_ONCE		MESHANIM_LOOK_IDLE
End  #NewGoal


NewGoal
Name		GOAL_SQD_MOVE_TO_ATTACK_POS
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_SEE_ENEMY
IMASK		bit_COND_CAN_ATTACK
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_GOAL_DONE
SMASK		0
NumJobs		4
JOB_SET_FAIL_GOAL				GOAL_ALERT_FACE
JOB_HALT						0
JOB_SQD_MOVE_TO_ATTACK_POS		0
JOB_FACE_ENEMY_LKP				0
End  #NewGoal


NewGoal
Name		GOAL_DISGUISED_IDLE
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_SEE_ENEMY
#IMASK		bit_COND_CAN_ATTACK
#IMASK		bit_COND_ENEMY_DEAD
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
#IMASK		bit_COND_PROCESS_ORDER
SMASK		0
NumJobs		4
JOB_SET_STATE				AI_STATE_DISGUISED
JOB_HALT					0
JOB_PLAY_ANIMATION_LOOP		MESHANIM_COVER_IDLE
JOB_DISGUISED_IDLE			0
End  #NewGoal



NewGoal
Name		GOAL_DISGUISED_IDLE_TO_ALERT
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_GOAL_DONE
SMASK		0
NumJobs		4
JOB_SET_STATE				AI_STATE_ALERT
JOB_HALT					0
JOB_DISGUISED_ATTACK		0
JOB_WAIT					0.5
End  #NewGoal


NewGoal
Name		GOAL_STEALTH_DEATH
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		2
JOB_STEALTH_DEATH			0
JOB_SET_GOAL				GOAL_DIE
End  #NewGoal


NewGoal
Name		GOAL_MOVE_TO_RANDOM_WP
IMASK		bit_COND_NEW_ENEMY
IMASK		bit_COND_SEE_ENEMY
IMASK		bit_COND_CAN_ATTACK
IMASK		bit_COND_ENEMY_DEAD
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_HEARD_TEAMMATE
SMASK		0
NumJobs		5
JOB_SET_FAIL_GOAL				GOAL_ALERT_IDLE
JOB_HALT						0
JOB_MOVE_TO_CLOSEST_WP			0
JOB_SKIP_JOBS					1
JOB_TURN						0
#JOB_MOVE_TO_RANDOM_WP			0
End  #NewGoal


NewGoal
Name		GOAL_FOLLOW_TARGET
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
#IMASK		bit_COND_HEAR_SOUND
#SMASK		bit_SOUND_PLAYER
#SMASK		bit_SOUND_COMBAT
NumJobs		4
JOB_SET_FAIL_GOAL					GOAL_ALERT_IDLE
JOB_FOLLOW_TARGET					0
JOB_SKIP_JOBS						1
JOB_PLAY_ANIMATION_LOOP				MESHANIM_BATTLE_IDLE
#JOB_SET_GOAL						GOAL_FOLLOW_TARGET
End  #NewGoal

NewGoal
Name		GOAL_FACETO_TARGET
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
SMASK		0
NumJobs		1
#JOB_LOCATE_USEABLE_OBJECT		0
#JOB_LOCATE_TARGET				0
#JOB_MOVE_TO_TARGET_POSITION		0
JOB_FACE_TARGET					0
#JOB_REMOVE_GOALDATA				0
End  #NewGoal


NewGoal
Name		GOAL_TAKE_COVER
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
SMASK		0
NumJobs		6
JOB_SET_FAIL_GOAL			GOAL_ALERT_IDLE
JOB_PLAY_ANIMATION_LOOP		MESHANIM_FLEE
JOB_PLAY_SOUND_ONCE			VOCALIZATION__ACTION__FLEE
JOB_MOVE_TO_COVER			0
JOB_PLAY_ANIMATION_LOOP		MESHANIM_COWER
JOB_WAIT					3
End  #NewGoal



NewGoal
Name		GOAL_PATROL_WPS
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_CAN_ATTACK
IMASK		bit_COND_HEARD_TEAMMATE
IMASK		bit_COND_HEAR_SOUND
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_COMBAT
SMASK		bit_SOUND_DANGER
NumJobs		4
JOB_SET_FAIL_GOAL					GOAL_ALERT_IDLE
JOB_PATROL_WPS						0
JOB_PLAY_ANIMATION_ONCE				MESHANIM_BATTLE_IDLE
JOB_PLAY_ANIMATION_ONCE				MESHANIM_BATTLE_LOOK
#JOB_SET_GOAL						GOAL_PATROL_WPS
End  #NewGoal


NewGoal
Name		GOAL_HIT_BY_INFLATER
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
SMASK		0
NumJobs		2
JOB_HALT				0
JOB_HIT_BY_INFLATER		0
End  #NewGoal

NewGoal
Name		GOAL_DEFLATE
IMASK		0
SMASK		0
NumJobs		1
JOB_DEFLATE				0
End  #NewGoal

NewGoal
Name		GOAL_CELEBRATE_ENEMY_DEATH
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_CAN_DODGE_ATTACK
IMASK		bit_COND_CAN_BLOCK_ATTACK
NumJobs		3
JOB_HALT					0
JOB_PLAY_SOUND_ONCE			VOCALIZATION__POST_COMBAT_ACTION__CELEBRATION
JOB_PLAY_ANIMATION_ONCE		MESHANIM_TAUNT
End  #NewGoal
