//--------------  Plaza ----------------------

$sequence sitchair1 "Plaza_apartment_sitchair" fps 30 loop {
 { ikrule rhand touch "ValveBiped.Bip01_R_thigh" range 0 0 40 40 usesequence }
 { ikrule lhand touch "ValveBiped.Bip01_L_thigh" range 0 0 40 40 usesequence }
 cmdlist releasefeet
}
$sequence sitchairtable1 "Plaza_apartment_sitchair_table" fps 30 loop {
 { ikrule rhand touch "ValveBiped.Bip01_R_thigh" range 0 0 40 40 usesequence }
 { ikrule lhand touch "ValveBiped.Bip01_L_thigh" range 0 0 40 40 usesequence }
 cmdlist releasefeet
}
$sequence sitcouchfeet1 "Plaza_apartment_sitcouch_feetup" fps 30 loop {
 { ikrule rhand touch "ValveBiped.Bip01_R_thigh" range 0 0 60 60 usesequence }
 { ikrule lhand touch "ValveBiped.Bip01_L_thigh" range 0 0 60 60 usesequence }
 cmdlist releasefeet
}
$sequence sitcouchknees1 "Plaza_apartment_sitcouch_kneesup" fps 30 loop {
 { ikrule rhand touch "ValveBiped.Bip01_R_thigh" range 0 0 60 60 usesequence }
 { ikrule lhand touch "ValveBiped.Bip01_L_thigh" range 0 0 60 60 usesequence }
 cmdlist releasefeet
}
$sequence sitcouch1 "Plaza_apartment_sitcouch" fps 30 loop {
 { ikrule rhand touch "ValveBiped.Bip01_R_thigh" range 0 0 60 60 usesequence }
 { ikrule lhand touch "ValveBiped.Bip01_L_thigh" range 0 0 60 60 usesequence }
 cmdlist releasefeet
}
$sequence sitccouchtv1 "Plaza_apartment_sitcouch_watchtv" fps 30 loop {
 { ikrule rhand touch "ValveBiped.Bip01_R_thigh" range 0 0 60 60 usesequence }
 { ikrule lhand touch "ValveBiped.Bip01_L_thigh" range 0 0 60 60 usesequence }
 cmdlist releasefeet
}
$sequence laycouch1 "Plaza_apartment_laycouch" fps 30 loop {
 { ikrule rhand touch "ValveBiped.Bip01_R_thigh" range 0 0 60 60 usesequence }
 { ikrule lhand touch "ValveBiped.Bip01_L_thigh" range 0 0 60 60 usesequence }
 cmdlist releasefeet
}


$sequence takepackage "plaza_line_takepackage" fps 30 { event AE_CITIZEN_GET_PACKAGE 45 } cmdlist lockfeet
$sequence idlepackage "plaza_line_takepackage" frames 75 80 fps 30 loop ACT_IDLE_PACKAGE 1 cmdlist lockfeet

$sequence plazaidle1 "plaza_idle01" fps 30 loop cmdlist lockfeet
$sequence plazaidle2 "plaza_idle02" fps 30 loop cmdlist lockfeet
$sequence plazaidle3 "plaza_idle03" fps 30 loop cmdlist lockfeet
$sequence plazaidle4 "plaza_idle04" fps 30 loop cmdlist lockfeet

$sequence plazastand1 "plaza_idle01_to_stand" fps 30 walkframe 25 walkframe 64 cmdlist lockfeet
$sequence plazastand2 "plaza_idle02_to_stand" fps 30 walkframe 9 walkframe 65 cmdlist lockfeet
$sequence plazastand3 "plaza_idle03_to_stand" fps 30 cmdlist lockfeet
$sequence plazastand4 "plaza_idle04_to_stand" fps 30 walkframe 32 walkframe 70 cmdlist lockfeet

$sequence Lying_Down "Lying_Down" fps 30 loop cmdlist releasefeet

//=========================== d1_trainstation_01 ==============================================
$sequence d1_t01_Clutch_Chainlink_Entry "d1_t01_Clutch_Chainlink" fps 30 frames 0 40 
$sequence d1_t01_Clutch_Chainlink_Idle "d1_t01_Clutch_Chainlink" fps 30 frames 40 50 loop	{
	ikrule lhand touch "" 
	ikrule rhand touch "" 
}

//=========================== d1_trainstation_02 ==============================================
$sequence Idle_to_d1_t01_BreakRoom_Sit01 "d1_t02_Sit" frames 0 52 lx ly
$sequence d1_t02_Plaza_Sit01_Idle "d1_t02_Sit" frames 52 62 loop alignto Idle_to_d1_t01_BreakRoom_Sit01 
$sequence d1_t01_BreakRoom_Sit01_to_Idle "d1_t02_Sit" frames 62 114 alignto Idle_to_d1_t01_BreakRoom_Sit01 lx ly

$sequence d1_t01_BreakRoom_Sit02_Entry "d1_t02_Sit" frames 0 52 lx ly
$sequence d1_t02_Plaza_Sit02 "d1_t02_Sit" frames 52 62 loop alignto d1_t01_BreakRoom_Sit02_Entry
$sequence d1_t01_BreakRoom_Sit02_Exit "d1_t02_Sit" frames 62 114 alignto d1_t01_BreakRoom_Sit02_Entry lx ly


//=========================== d1_trainstation_03 ==============================================
$sequence d1_t03_LookOutDoor_Entry "d1_t03_LookOutDoor_Entry" fps 30 lx ly lzr
$sequence d1_t03_LookOutDoor "d1_t03_LookOutDoor" frames 0 0 fps 30 loop alignto d1_t03_LookOutDoor_Entry
$sequence d1_t03_LookOutDoor_Exit "d1_t03_LookOutDoor" alignto d1_t03_LookOutDoor_Entry lx ly lzr 

$sequence d1_t03_LookOutWindow "d1_t03_LookOutWindow" fps 30 loop cmdlist lockfeet {
	ikrule rhand touch "" 
}


$sequence d1_t03_Sit_Bed_Entry "d1_t03_Sit_Bed_Entry" fps 30 lx ly
$sequence d1_t03_Sit_Bed "d1_t03_Sit_Bed" fps 30 loop alignto d1_t03_Sit_Bed_Entry
$sequence d1_t03_Sit_Bed_Response "d1_t03_Sit_Bed_Response" fps 30 alignto d1_t03_Sit_Bed_Entry
$sequence d1_t03_Sit_Bed_Exit "d1_t03_Sit_Bed_Exit" frames 0 30 fps 30 alignto d1_t03_Sit_Bed_Entry lx ly

$sequence d1_t03_Sit_couch "d1_t03_Sit_couch" loop

//=========================== d1_canals_01a ==============================================

$sequence canals_mary_preidle "canals_mary_kneeling" frames 0 10 fps 30 loop
$sequence canals_mary_wave "canals_mary_kneeling" frames 10 140 fps 30
$sequence canals_mary_postidle "canals_mary_kneeling" frames 140 150 fps 30 loop {
	ikrule rhand touch "ValveBiped.Bip01_R_thigh"
	ikrule lhand touch "ValveBiped.Bip01_L_thigh"
}

//=========================== d1_canals_01 ==============================================

$sequence stopwomanpre "canal_arrest_preidle_stopwoman" fps 30 loop
$sequence stopwoman "canal_arrest_stopwoman" fps 30 {
	ikrule rhand touch "" range 22 30 95 100 usesource
}
$sequence checkmalepost "canal_arrest_check_male" fps 30 frames 32 101 loop {
	ikrule rhand touch "" usesource
}
$sequence checkmale "canal_arrest_check_male" fps 30 frames 0 32

//=========================== d1_canals_05 ==============================================

$sequence canals_arlene_tinker "canals_arlene_tinker" fps 30 loop
$sequence canals_arlene_pourgas "canals_arlene_gascan" frames 0 10 fps 10 loop
$sequence canals_arlene_candown	"canals_arlene_gascan" frames 10 104 fps 40 { event 1003 92 1 }

//=========================== d1_canals_11 ==============================================

$sequence turnwheel "Guncave_turnwheel" fps 30

//=========================== d1_town_05 ==============================================

$sequence d1_town05_Wounded_Idle_1 "d1_town05_Wounded_Idle_1" fps 30 loop cmdlist releasefeet
$sequence d1_town05_Jacobs_Heal_Entry "d1_town05_Jacobs_Heal" frames 0 89 fps 35 cmdlist releasefeet
$sequence d1_town05_Jacobs_Heal "d1_town05_Jacobs_Heal" frames 90 200 fps 40 loop
$sequence d1_town05_Jacobs_Heal_Entry_NoGun "d1_town05_Jacobs_Heal_NoGun" fps 35 cmdlist releasefeet
$sequence d1_town05_Nurse_Open_Door "d1_town05_Nurse_Open_Door" cmdlist releasefeet

$makeidlenoise idlenoise "../idle03"
//$makeidle idle_relaxed_01  "idle_SMG1_Relaxed_Poses" 2 "idlenoise" 150 ACT_IDLE 1 cmdlist lockfeet
//$makeidle idle_relaxed_02  "idle_SMG1_Relaxed_Poses" 5 "idlenoise" 150 ACT_IDLE 1 cmdlist lockfeet
$makeidle idle_alert_01  "idle_SMG1_Alert_Poses" 1 "idlenoise" 150 cmdlist lockfeet
$makeidle idle_alert_02  "idle_SMG1_Alert_Poses" 4 "idlenoise" 150 cmdlist lockfeet
//$makeidle idle_alert_03  "idle_SMG1_Alert_Poses" 6 "idlenoise" 150 cmdlist lockfeet
//$makeidle idle_alert_04  "idle_SMG1_Alert_Poses" 11 "idlenoise" 150 cmdlist lockfeet

//=========================== d2_coast_03 ==============================================

$sequence d2_coast03_PreBattle_Scan_Skies "d2_coast03_PreBattle_Scan_Skies" loop fps 30 cmdlist lockfeet
$sequence d2_coast03_PreBattle_Scan_Skies02 "d2_coast03_PreBattle_Scan_Skies02" loop fps 30 cmdlist lockfeet
$sequence d2_coast03_PreBattle_Scan_Skies03 "d2_coast03_PreBattle_Scan_Skies03" loop fps 30 cmdlist lockfeet
$sequence d2_coast03_PreBattle_Scan_Skies_Respond "d2_coast03_PreBattle_Scan_Skies_Respond" fps 30

$sequence d2_coast03_PostBattle_Idle01_Entry "d2_coast03_PostBattle_Idle01" frames 0 40 fps 30
$sequence d2_coast03_PostBattle_Idle01 "d2_coast03_PostBattle_Idle01" frames 40 90 loop fps 30
$sequence d2_coast03_PostBattle_Idle02_Entry "d2_coast03_PostBattle_Idle02" frames 0 40 fps 30
$sequence d2_coast03_PostBattle_Idle02 "d2_coast03_PostBattle_Idle02" frames 40 100 loop fps 30

$sequence pullrope1idle "takeover_pullrope1_idle" fps 30 loop
$sequence droprope1 "takeover_droprope1" fps 30
$sequence cheer1 "cheer1" fps 30




