// -------------------------------------------
// Model Viewer/Changer pour Mod Clans 
// by BloodiPunk
//
// Main script loading
//
//
// credits : Daniel Vernon pour son modelchanger
// -------------------------------------------
// Notes : No single script file can be greater
// than 8Kb or it will cause buffer overrun
// and not load

// cml = camera left (move)
alias cml "incrementvar cam_yaw 0 360 -45"

// cmr = camera right (move)
alias cmr "incrementvar cam_yaw 0 360 45"

// ---------------------------------------------
// YOu can change some bindings here, however the actual model 
// change buttons (KP_PLUS + and KP_MINUS) are tightly coded 
// into the modchg_f and modchg_m files 
// ---------------------------------------------

// bnl = bind camera left
alias bnl "bind LEFTARROW cml;bind KP_LEFTARROW cml"

// bnr = bind camera right
alias bnr "bind RIGHTARROW cmr;bind KP_RIGHTARROW cmr"

// bnzi = bind zoom in
// jpso change zoom key
// alias bnzi "bind KP_UPARROW +camin"
alias bnzi "bind KP_DEL +camin"

// bnzo = bind zoom out
// jpso change zoom key
//alias bnzo "bind KP_DOWNARROW +camout"
alias bnzo "bind KP_INS +camout"
alias scrs "bind F10 snapshot"
// Changes end

// Change this line if you would like another Key to start modchanger script
// (dont forget to change it in alias camcontrolON below)
bind PAUSE camcontrolON

//JPSO more options here
alias camcontrolON "cr;wel;thirdperson;bnl;bnr;bnzi;bnzo;scrs;bind PAUSE camcontrolOff"
alias camcontrolOff "cam_yaw 0;cam_idealdist 85; exec config.cfg;exec modchg.cfg;play environmental\breaks\smashthrough_skylight.wav;say CRACK VISUALISATION MODEL TERMINE.;say ATTENTION C'EST POUR VOIR LES MODELS;say POUR CHOISIR LES CLANS, C'EST LE MENU.;say vv  BONNES PARTIES  vv;say En cas de problème de clavier, Exec configbloodi.cfg."
alias wel "unbindall;bind KP_PLUS m1;bind KP_MINUS f1;play environmental\breaks\smashthrough_skylight.wav;say CRACK VISUALISATION MODEL ACTIF.;say Utilisez le pavé numerique pour controler;say + et - pour changer de model; say 4/6 pour tourner autour | 0/<Suppr> pour zoomer;say ATTENTION - NE PAS OUBLIER DE ;say DESACTIVER LE CRACK avant de quitter le jeu"
