//GUARD 2 BROADCASTS -Geoff Stewart

/////////////
//AI SPEECH//
/////////////

//SLEEPING
schema sg2a0snx
archetype AI_NONE
volume -500
mono_loop 2000 3000
sg2a0sn1x sg2a0sn2x sg2a0sn3x sg2a0sn4x
schema_voice guard2 1 sleeping


//AT ALERT 0 -WHISTLING, HUMMING & THROAT CLEARING
schema sg2a0x
archetype AI_NONE
volume -500
mono_loop 7500 15000
sg2a0hu1x sg2a0hu2x sg2a0hu3x sg2a0wh1x sg2a0wh2x sg2a0wh3x sg2a0th1x sg2a0th2x sg2a0th3x sg2a0th4x
schema_voice guard2 2 atlevelzero

//		-COUGHING & SIGHING
schema sg2a0cox
archetype AI_NONE
volume -500
mono_loop 7500 15000
sg2a0co1x sg2a0co2x sg2a0co3x sg2a0tc1x sg2a0tc2x sg2a0tc3x
schema_voice guard2 2 atlevelzero

//		-MUTTERING -All except THIEVE's (less freq)
schema sg2a0chx
archetype AI_NONE
volume -500
mono_loop 7500 15000
sg2a0mu1x sg2a0mu2x sg2a0mu3x sg2a0cn1x sg2a0cn2x sg2a0cn3x
schema_voice guard2 1 atlevelzero (Mission 1 14)
schema_voice guard2 1 atlevelzero (Mission 16 17)


//TO ALERT 1
schema sg2a1x
archetype AI_NONE
sg2a1__1x sg2a1__2x sg2a1__3x sg2a1__4x sg2a1__5x sg2a1__6x  
schema_voice guard2 1 tolevelone 

//		+sighted
schema sg2a1vx
archetype AI_NONE
sg2a1v_1x sg2a1v_2x
schema_voice guard2 1 tolevelone (Sense Sight)

//		+heard
schema sg2a1hx
archetype AI_NONE
sg2a1h_1x sg2a1h_2x sg2a1h_3x
schema_voice guard2 2 tolevelone (Sense Sound)

//		+w/co
schema sg2a1_wx
archetype AI_MINOR
sg2a1_w1x sg2a1_w2x
schema_voice guard2 2 tolevelone (NearbyFriends 0 20)

//		+sighted +w/co
schema sg2a1vwx
archetype AI_MINOR
sg2a1vw1x sg2a1vw2x sg2a1vw3x sg2a1vw4x
schema_voice guard2 5 tolevelone (Sense Sight) (NearbyFriends 0 20)

//		+heard +w/co
schema sg2a1hwx
archetype AI_MINOR
sg2a1hw1x sg2a1hw2x sg2a1hw3x sg2a1hw4x
schema_voice guard2 5 tolevelone (Sense Sound) (NearbyFriends 0 20)


//AT ALERT 1, 2 & 3
schema sg2at1x
archetype AI_NONE
delay 5000
volume -500
mono_loop 5000 20000
Sg2a0tc1x sg2a0tc2x sg2a0tc3x
schema_voice guard2 1 atlevelone 
schema_voice guard2 1 atleveltwo 
schema_voice guard2 1 atlevelthree


//BACK TO ALERT 0
schema sg2bakx
archetype AI_NONE
sg2bak_1x sg2bak_2x sg2bak_3x sg2bak_4x sg2bak_5x sg2bak_6x sg2bak_7x sg2bak_8x 
schema_voice guard2 1 backtozero 



//TO ALERT 2
schema sg2a2x
archetype AI_MINOR
sg2a2__1x sg2a2__2x sg2a2__3x sg2a2__4x sg2a2__5x
schema_voice guard2 1 toleveltwo  

//		+sighted
schema sg2a2vx
archetype AI_MINOR
sg2a2v_1x 
schema_voice guard2 1 toleveltwo (Sense Sight)  

//		+heard
schema sg2a2hx
archetype AI_MINOR
sg2a2h_1x sg2a2h_2x sg2a2h_3x
schema_voice guard2 2 toleveltwo (Sense Sound)


//AT ALERT 2 +Investigating
schema sg2at2sex
archetype AI_MINOR
delay 4500
mono_loop 10000 20000
no_repeat
sg2a2se1x sg2a2se2x sg2a2se3x sg2a2se4x sg2a3se2x sg2a3se3x sg2a3se4x 
schema_voice guard2 99 atleveltwo (Investigate True)


//TO ALERT 3
schema sg2a3x
archetype AI_MAJOR
Sg2a3s_2x
schema_voice guard2 1 tolevelthree

//SPOTTED THE PLAYER
schema sg2a3sx
archetype AI_MORE_MAJOR
sg2a3s_1x sg2a3s_2x sg2a3s_3x sg2a3s_4x
schema_voice guard2 1 spotplayer

//(more s.p.)
schema sg2a3nax
archetype AI_MORE_MAJOR
sg2a3na1x sg2a3na2x sg2a3na3x sg2a3na4x sg2a3na5x sg2a3na6x 
schema_voice guard2 1 spotplayer 

//		+carrying a body
schema sg2a3bx
archetype AI_MORE_MAJOR
sg2a3b_1x 
schema_voice guard2 9 spotplayer (CarryBody True)

//		+w/co -All except THIEVE's
schema sg2telrx
archetype AI_COMBAT
sg2telr1x sg2telr2x sg2telr3x sg2telr4x 
schema_voice guard2 3 spotplayer (NearbyFriends 0 20) (Mission 1 14)
schema_voice guard2 3 spotplayer (NearbyFriends 0 20) (Mission 16 17)

//		+w/co -THIEVE's ONLY
schema sg2telr_m15x
archetype AI_COMBAT
sg2telr1x sg2telr2x sg2telr4x 
schema_voice guard2 3 spotplayer (NearbyFriends 0 20) (Mission 15 15)


//LOST CONTACT W/PLAYER
schema sg2losx
archetype AI_NONE
sg2los_1x sg2los_2x sg2los_3x sg2los_4x
schema_voice guard2 1 lostcontact  


//AT ALERT 3 +Investigating -All except THIEVES
schema sg2at3x
delay 4500
mono_loop 10000 20000
no_repeat
archetype AI_MAJOR
sg2a2se1x sg2a2se2x sg2a2se3x sg2a2se4x sg2a3se1x sg2a3se2x sg2a3se3x sg2a3se4x 
schema_voice guard2 99 atlevelthree (Investigate True) (Mission 1 14)
schema_voice guard2 99 atlevelthree (Investigate True) (Mission 16 17)

//		+Investigating -THIEVE's ONLY
schema sg2at3_m15x
delay 4500
mono_loop 15000 25000
no_repeat
archetype AI_MAJOR
sg2a2se2x sg2a2se3x sg2a2se4x sg2a3se2x sg2a3se3x sg2a3se4x 
schema_voice guard2 99 atlevelthree (Investigate True) (Mission 15 15)


//RE-SPOTTED THE PLAYER +w/co -All except THIEVE's
schema sg2telcx
archetype AI_COMBAT
sg2telc1x sg2telc2x sg2telc3x sg2telc4x sg2telc5x sg2telc6x
schema_voice guard2 5 spotplayer (NearbyFriends 0 20) (Reacquire True) (Mission 1 14)
schema_voice guard2 5 spotplayer (NearbyFriends 0 20) (Reacquire True) (Mission 16 17)

//		+w/co -THIEVE's ONLY
schema sg2telc_m15x
archetype AI_COMBAT
sg2telc1x sg2telc2x sg2telc3x sg2telc5x
schema_voice guard2 5 spotplayer (NearbyFriends 0 20) (Reacquire True) (Mission 15 15)


//REACT 1ST WARNING
schema sg2warn1x
archetype AI_NONE
sg2wrn11x
schema_voice guard2 1 reactwarn

//REACT 2ND WARNING
schema sg2warn2x
archetype AI_MINOR
sg2wrn21x
schema_voice guard2 1 reactwarn2

//REACT ATTACK AFTER FINAL WARNING
schema sg2warnfx
archetype AI_MAJOR
sg2wrnf1x
schema_voice guard2 9 reactcharge (Reiterate 9 9)



//REACT CHARGE +alone
schema sg2chgax
archetype AI_MORE_MAJOR
sg2chga1x sg2chga2x sg2chgw2x
schema_voice guard2 1 reactcharge
schema_voice vass2 1 reactcharge

//		+w/co -All except THIEVE's
schema sg2chgwx
archetype AI_COMBAT
sg2chgw1x sg2chgw2x sg2chgw3x sg2chgw4x
schema_voice guard2 2 reactcharge (NearbyFriends 0 20) (Mission 1 14)
schema_voice guard2 2 reactcharge (NearbyFriends 0 20) (Mission 16 17)
schema_voice vass2 2 reactcharge (NearbyFriends 0 20)

//		+w/co -THIEVE's ONLY
schema sg2chgw_m15x
archetype AI_COMBAT
sg2chgw2x sg2chgw3x sg2chgw4x
schema_voice guard2 2 reactcharge (NearbyFriends 0 20) (Mission 15 15)



//REACT GET READY TO FIRE YOUR BOW
schema sg2bowx
archetype AI_MORE_MAJOR
no_repeat
sg2atb_1x sg2atb_2x sg2atb_3x Sg2atn_1x Sg2atw_2x
schema_voice guard2 1 reactshoot


//REACT RUN AWAY -All except THIEVE's
schema sg2runax
archetype AI_MAJOR
sg2runa1x sg2runa2x sg2runa3x sg2runa4x
schema_voice guard2 1 reactrun (Mission 1 14)
schema_voice guard2 1 reactrun (Mission 16 17)

//		-THIEVE's ONLY
schema sg2runa_m15x
archetype AI_MAJOR
sg2runa1x sg2runa2x sg2runa3x
schema_voice guard2 1 reactrun (Mission 15 15)


//REACT SOUND THE ALARMS
schema sg2almax
archetype AI_MORE_MAJOR
sg2alma1x sg2alma2x sg2alma3x
schema_voice guard2 1 reactalarm 

//		+w/co
schema sg2almwx
archetype AI_COMBAT
sg2almw1x sg2almw2x
schema_voice guard2 3 reactalarm (NearbyFriends 0 20)



//FRUSTRATION
schema sg2frustx
archetype AI_MAJOR
Sg2bkd_1x Sg2det_2x sg2runa3x Sg2a3s_3x Sg2a3se3x
schema_voice guard2 1 outofreach



//FOUND BODY
schema sg2bodx
archetype AI_MORE_MAJOR
sg2bod_1x sg2bod_2x sg2bod_3x
schema_voice guard2 1 foundbody  



//FOUND SOMETHING MISSING -All except THIEVE's
schema sg2misx
archetype AI_MAJOR
sg2mis_1x sg2mis_3x
schema_voice guard2 2 foundmissing (Mission 1 14)
schema_voice guard2 2 foundmissing (Mission 16 17)

//		-BAFFORD ONLY
schema sg2mis_miss2x
archetype AI_MAJOR
sg2mis_2x
schema_voice guard2 1 foundmissing (Mission 2 2)

//		-SWORD ONLY
schema sg2mis_m06
archetype AI_MAJOR
sg2mis_4x
schema_voice guard2 1 foundmissing (Mission 6 6)

//		-THIEVE's ONLY
schema sg2mis_m15
archetype AI_MAJOR
sg2mis_3x
schema_voice guard2 1 foundmissing (Mission 15 15)



//NOTICED A TORCH BEING DOUSED
schema sg2torchx
archetype AI_MINOR
delay 1000
sg2a1__4x sg2a1__5x sg2a1__6x
schema_voice guard2 1 noticetorch
schema_voice vass2 1 noticetorch



//FOUND A SMALL ANOMALY
schema sg2smax
archetype AI_MINOR
sg2sma_1x sg2sma_2x sg2sma_3x sg2sma_4x
schema_voice guard2 1 foundsmall  

//FOUND A LARGE ANOMALY
schema sg2larx
archetype AI_MAJOR
sg2lar_1x sg2lar_2x sg2lar_3x
schema_voice guard2 1 foundlarge


//FOUND A SECURITY BREACH -All except THIEVE's
schema sg2secx
archetype AI_MORE_MAJOR
sg2sec_1x sg2sec_2x sg2sec_3x sg2sec_4x
schema_voice guard2 1 foundbreach (Mission 1 14)
schema_voice guard2 1 foundbreach (Mission 16 17)

//		-THIEVE's ONLY
schema sg2sec_m15x
archetype AI_MORE_MAJOR
sg2sec_1x sg2sec_2x sg2sec_3x
schema_voice guard2 1 foundbreach (Mission 15 15)


//RECENTLY SAW THE PLAYER +w/co -All except THIEVE's
schema sg2rintx
archetype AI_INFORM
sg2rint1x sg2rint2x sg2rint3x
schema_voice guard2 1 recentintruder (Mission 1 14)
schema_voice guard2 1 recentintruder (Mission 16 17)

//		-THIEVE's ONLY
schema sg2rint_m15x
archetype AI_INFORM
sg2rint1x sg2rint2x
schema_voice guard2 1 recentintruder (Mission 15 15)


//RECENTLY FOUND BODY +w/co
schema sg2rbodx
archetype AI_INFORM
sg2rbod1x sg2rbod2x sg2rbod3x 
schema_voice guard2 1 recentbody 



//RECENTLY FOUND SOMETHING MISSING +w/co -All except THIEVE's
schema sg2rmisx
archetype AI_INFORM
sg2rmis1x sg2rmis2x sg2rmis4x
schema_voice guard2 1 recentmissing (mission 1 14)
schema_voice guard2 1 recentmissing (mission 16 17)

//		+w/co -BAFF ONLY
schema sg2rmis_miss2x
archetype AI_INFORM
sg2rmis3x 
schema_voice guard2 1 recentmissing (Mission 2 2)

//		+w/co -THIEVE's ONLY
schema sg2rmis_m15x
archetype AI_INFORM
sg2rmis1x
schema_voice guard2 1 recentmissing (Mission 15 15)


//RECENTLY FOUND MISC ANAMOLY +w/co -All except THIEVE's
schema sg2rothx
archetype AI_INFORM
sg2roth1x sg2roth2x sg2roth3x sg2roth4x sg2roth5x
schema_voice guard2 1 recentother (Mission 1 14)
schema_voice guard2 1 recentother (Mission 16 17)

//		+w/co -THIEVE's ONLY
schema sg2roth_m15x
archetype AI_INFORM
sg2roth1x sg2roth2x sg2roth3x sg2roth4x
schema_voice guard2 1 recentother (Mission 15 15)



//COMBAT

//ATTACKING +not losing
schema sg2atnx
archetype AI_COMBAT
sg2atn_1x sg2atn_2x sg2atn_3x sg2atn_4x sg2atn_5x sg2atn_6x 
schema_voice guard2 1 comattack (ComBal Winning Even)
schema_voice vass2 1 comattack (ComBal Winning Even)

//		+winning
schema sg2atwx
archetype AI_COMBAT
sg2atw_1x sg2atw_2x
schema_voice guard2 3 comattack (ComBal Winning)

//		+winning +w/co
schema sg2atwwx
archetype AI_COMBAT
sg2atww1x 
schema_voice guard2 3 comattack (ComBal Winning) (NearbyFriends 0 20)

//		+losing
schema sg2atlx
archetype AI_COMBAT
sg2atl_1x sg2atl_2x sg2atl_3x 
schema_voice guard2 5 comattack (ComBal Losing)
schema_voice drunk1 1 comattack
schema_voice vass2 5 comattack (ComBal Losing)



//SUCCESSFULLY HIT THE PLAYER +not losing
schema sg2hitx
archetype AI_COMBAT
sg2hit_1x sg2hit_2x sg2hit_3x sg2hit_4x
schema_voice guard2 1 comsucchit (ComBal Winning Even)

//		+not losing +w/co
schema sg2hitwx
archetype AI_COMBAT
sg2hitw1x sg2hitw2x
schema_voice guard2 2 comsucchit (ComBal Winning Even) (NearbyFriends 0 20)



//SUCCESSFULLY BLOCKED THE PLAYER +not losing
schema sg2blkx
archetype AI_COMBAT
sg2blk_1x sg2blk_2x sg2blk_3x
schema_voice guard2 1 comsuccblock (ComBal Winning Even)

//		+not losing +w/co
schema sg2blkwx
archetype AI_COMBAT
sg2blkw1x
schema_voice guard2 2 comsuccblock (ComBal Winning Even) (NearbyFriends 0 20)


//HIT BY THE PLAYER W/HI HIT PTS 
schema sg2hhix
archetype AI_MAJOR
sg2hhi_1x sg2hhi_2x sg2hhi_3x
schema_voice guard2 1 comhithigh
schema_voice drunk1 1 comhithigh
schema_voice vass2 1 comhithigh

//HIT BY THE PLAYER W/LO PTS 
schema sg2hlox
archetype AI_MORE_MAJOR
sg2hlo_1x sg2hlo_2x sg2hlo_3x sg2hlo_4x
schema_voice guard2 1 comhitlow
schema_voice drunk1 1 comhitlow
schema_voice vass2 1 comhitlow

//		+w/co
schema sg2hlowx
archetype AI_COMBAT
sg2hlow1x
schema_voice guard2 2 comhitlow (NearbyFriends 0 20)
schema_voice vass2 2 comhitlow (NearbyFriends 0 20)

//HIT BY THE PLAYER NO DAMAGE
schema sg2hndx
archetype AI_MAJOR
sg2hnd_1x sg2hnd_2x sg2hnd_3x
schema_voice guard2 1 comhitnodam


//BLOCKED BY THE PLAYER +not losing
schema sg2bkdx 
archetype AI_COMBAT
sg2bkd_1x sg2bkd_2x sg2bkd_3x
schema_voice guard2 1 comblocked (ComBal Winning Even)

//		+not losing +w/co
schema sg2bkdwx 
archetype AI_COMBAT
sg2bkdw1x
schema_voice guard2 5 comblocked (ComBal Winning Even) (NearbyFriends 0 20)


//DETECTED PLAYER TRYING TO BLOCK +not losing
schema sg2detx 
archetype AI_COMBAT
sg2det_1x sg2det_2x sg2det_3x
schema_voice guard2 1 comdetblock (ComBal Winning Even)

//		+not losing +w/co
schema sg2detwx 
archetype AI_COMBAT
sg2detw1x
schema_voice guard2 5 comdetblock (ComBal Winning Even) (NearbyFriends 0 20)



//AMBUSHED -HIT BY UNSEEN PLAYER
schema sg2ambx 
archetype AI_MAJOR
sg2amb_1x sg2amb_2x sg2amb_3x sg2amb_4x
schema_voice guard2 1 comhitamb
schema_voice vass2 1 comhitamb

//		+w/co
schema sg2ambwx
archetype AI_COMBAT
sg2ambw1x sg2ambw2x sg2ambw3x
schema_voice guard2 5 comhitamb (NearbyFriends 0 20)
schema_voice vass2 5 comhitamb (NearbyFriends 0 20)


//DEATH BY COMBAT -LOUD
schema sg2diecx
archetype AI_COMBAT
sg2diec1x sg2diec2x sg2diec3x
schema_voice guard2 1 comdieloud
schema_voice drunk1 1 comdieloud
schema_voice vass2 1 comdieloud

//DEATH (or knocked out)BY AMBUSH -MORE MUFFLED
schema sg2dieax
archetype AI_MINOR
volume -500
sg2diea1x sg2diea2x sg2diea3x
schema_voice guard2 1 comdiesoft
schema_voice drunk1 1 comdiesoft
schema_voice vass2 1 comdieloud


///////////////////////////////////
/DRUNKEN GUARD AT ALERT 0
schema dr2a0x
archetype AI_NONE
volume -500
mono_loop 1000 5000
sg2a0dr1x freq 2 
sg2a0dr2x freq 2
sg2a0dr3x freq 2
sg2a0dr4x freq 1
sg2a0dr5x freq 1
sg2a0dr6x freq 1
sg2a0dr7x freq 1
schema_voice drunk1 1 atlevelzero
schema_voice drunk1 1 backtozero

//DRUNKEN GUARD TO ALERT 1
schema dr2a1x
archetype AI_NONE
volume -500
sg2a1dr1x
schema_voice drunk1 1 tolevelone
schema_voice drunk1 1 noticetorch

//DRUNKEN GUARD TO ALERT 2
schema dr2a2x
archetype AI_NONE
volume -500
sg2a2dr1x 
schema_voice drunk1 1 toleveltwo
schema_voice drunk1 1 tolevelthree
schema_voice drunk1 1 comhitamb
schema_voice drunk1 1 noticetorch

//DRUNKEN GUARD TO ALERT 3
schema dr2a3x
archetype AI_MINOR
volume -500
sg2a3dr1x
schema_voice drunk1 1 spotplayer

//DRUNKEN GUARD AT ALERT 1
schema dr2at1x
archetype AI_NONE
mono_loop 4000 10000
volume -500
sg2a0dr4x sg2a0dr5x sg2a0dr6x sg2a0dr7x 
schema_voice drunk1 1 atlevelone

//DRUNKEN GUARD AT ALERT 2-3
schema dr2at2x
archetype AI_NONE
mono_loop 4000 10000
volume -500
sg2a0dr4x freq 2
sg2a0dr5x freq 2
sg2a0dr6x freq 2
sg2a0dr7x freq 2
sg2a2dr2x freq 1
schema_voice drunk1 1 atleveltwo
schema_voice drunk1 1 atlevelthree

//DRUNKEN GUARD LOST CONTACT
schema dr2lostx
archetype AI_NONE
volume -500
sg2a2dr2x
schema_voice drunk1 1 lostcontact
schema_voice drunk1 1 tolevelthree

//////////////////////////
//MISSION SPECIFIC STUFF//
//////////////////////////

//MISSION 2

schema sg2m0201x 
archetype AI_NONE
sg2m0201x
schema_voice guard2 1 SG_m0201

schema sg2m0202x
archetype AI_NONE
sg2m0202x
schema_voice guard2 1 SG_m0202

schema sg2m0203x
archetype AI_NONE
sg2c3301x 
schema_voice guard2 1 SG_M0203

schema sg2m02d1x
archetype AI_NONE
sg2m02d1x
schema_voice drunk1 1 drunka3



//MISSION 5 

//SEEING GARRETT EXIT THE BUILDING
schema sg2m0501x
archetype AI_MORE_MAJOR
sg2m0502x sg2m0501x
schema_voice vass2 1 sg_m0502
schema_voice guard2 1 sg_m0502

//ASSASSIN TO ALERT 1
schema as2a1x
archetype AI_NONE
sg2m0503x sg2m0507x sg2m0508x
schema_voice vass2 1 tolevelone  

//ASSASSIN TO ALERT 2
schema as1a2x
archetype AI_MINOR
sg2m0505x sg2m0509x sg2m0510x sg2m0504x
schema_voice vass2 1 toleveltwo
schema_voice vass2 1 tolevelthree

//ASSASSIN TO ALERT 3
schema as2a3x
archetype AI_MAJOR
sg2m0506x 
schema_voice vass2 1 spotplayer

//ASSASSIN REACT TELL FRIEND BY REVELATION +w/co
schema as2telrx
archetype AI_COMBAT
sg2telr1x
schema_voice vass2 3 spotplayer (NearbyFriends 0 20)

//ASSASSIN REACT TELL FRIEND BY CONFIRMATION +w/co
schema as2telcx
archetype AI_COMBAT
sg2telc1x sg2telc3x sg2telc5x
schema_voice vass2 5 spotplayer (NearbyFriends 0 20) (Reacquire True)

//ASSASSIN BACK TO ALERT 0
schema as2bakx
archetype AI_NONE
sg2bak_3x sg2bak_5x sg2bak_8x 
schema_voice vass2 1 backtozero   
