// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
// * Script pro mapu q3wcp17 - vq3 (c) Askorb 2/05                   *
// * Vzhledem k nesymetrii mapy urcen pouze pro modry team!          *
// * Provede za uzivatele vyborny start a ukaze nejrychlejsi cestu   *
// * Konkretne RJ o zed se zvysenou akceleraci pomoci dvou granatu   *
// * Pro spravne vykonani programu je samozrejme nutne trvale 125fps *
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

//definice zakladnich stavebnich kamenu =)
set a "+attack;wait 2;-attack"
set j "+moveup;wait 2;-moveup"

//respawn - na zacatku tricku, zvysuje komfort ale zpozduje record az na dobu sebrani vlajky
set wr1 "wait 100"      //*idle, pred zacatkem tricku
set respawn "map_restart 0;vstr wr1"

//fazeA   - posun na pocatecni pozici tricku
set wa1 "wait 50"       //dozadu
set wa2 "wait 60"       //doleva
set wa3 "wait 50"       //pohled doprava dolu
set wa4 "wait 90"       //*idle, dezorientace
set wa5 "wait 30"       //pohled jeste kousek doprava
set wa6 "wait 20"       //doprava
set wa7 "wait 20"       //dopredu
set wa8 "wait 50"       //*idle, u zdi nez prehodi na gl
set wa9 "wait 300"      //*idle, u zdi nez vystreli z gl
set fazeA "+back;vstr wa1;-back;+moveleft;vstr wa2;-moveleft;cl_yawspeed 800;cl_pitchspeed 450;+right;+lookdown;vstr wa3;-lookdown;-right;vstr wa4;cl_yawspeed 159;+right;vstr wa5;-right;+moveright;vstr wa6;-moveright;vstr wa4;+forward;vstr wa7;-forward;vstr wa8;weapon 4;vstr wa9"

//fazeB   - two grens one rox and jump
set wb1 "wait 80"       //cekani ve vyskoku na nejvyssi pozici (exploze g)
set wb2 "wait 40"       //idle, po vystrelu, nez se otoci (co sem pridas to uber u wb4)
set wb3 "wait 40"       //pohled doleva nahoru, potom doprava dolu
set wb4 "wait 118"      //cekani na gl reload
set wb5 "wait 300"      //cekani na explozi g
set wb6 "wait 35"       //vzad (jeste porad pred explozi)
set fazeB "vstr j;vstr wb1;vstr a;vstr wb2;cl_yawspeed 960;cl_pitchspeed 860;+left;+lookup;vstr wb3;-left;-lookup;vstr wb4;vstr a;vstr wb2;cl_yawspeed 1100;cl_pitchspeed 260;+right;+lookdown;vstr wb3;-right;-lookdown;weapon 5;vstr wb5;+back;vstr wb6;vstr j;vstr a;-back;vstr wb2"

//fazeC   - zamireni pohledu pro dalsi raketu
set wc1 "wait 40"       //pohled vlevo
set fazeC "cl_yawspeed 1100;cl_pitchspeed 100;+left;+lookdown;vstr wc1;-left;-lookdown"

//spojeni zakladnich casti v kompletni trick
set trick "vstr respawn;vstr fazeA;vstr fazeB;vstr fazeC"
bind space "vstr trick"

//a zaverecny vypis do konzole
echo Successfully done.
echo Use spacebar to activate.