GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: Add Line Numbers


q4 config (take 2) by luke

unbindall
    
//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//    MOVEMENT
//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    
    bind "MOUSE2"        "_forward"
    bind "LEFTSHIFT"        "_back"
    bind "z"            "_moveleft"
    bind "x"            "_moveright"

    bind "SPACE"        "_moveUp"         // jump
    bind "c"            "_speed"         // walk

    seta in_alwaysRun        "1"

//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//    WEAPONS
//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *

    bind "MOUSE1"        "_attack"
    bind "a"            "_zoom"

    bind "r"            "_impulse13"    // RELOAD

    bind "s"            "_impulse0"        // GU
    bind "LEFTCTRL"        "_impulse1"     // MG
    bind "v"            "_impulse2"     // SG
    bind "LEFTALT"        "_impulse3"        // HB
    bind "CAPSLOCK"        "_impulse4"        // GL
    bind "LWIN"            "_impulse5"        // NG
    bind "g"            "_impulse8"     // LG
    bind "d"            "_impulse6"        // RL
    bind "f"            "_impulse7"        // RG

    seta ui_showGun        "0"
    seta ui_autoSwitch    "0"

    bind "MWHEELDOWN"        "_impulse14"     // PREV WEAP
    bind "MWHEELUP"        "_impulse15"     // NEXT WEAP


//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//    MISC BINDS
//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *

    bind "t"            "clientMessageMode"
    bind "y"            "clientMessageMode 1"

    bind "TAB"             "_impulse19"        // SCORES
    bind "ESCAPE"        "togglemenu"

    bind "F1"            "_impulse28"         // VOTE YES
    bind "F2"            "_impulse29"         // VOTE NO
    bind "F3"            "_impulse17"        // READY

    bind "F12"            "screenshot"

    bind "PAUSE"        "quit"

//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//    INPUT
//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *

    seta sensitivity"    "5"

    seta m_smooth        "1"
    seta m_pitch        "-0.022"    // inverted mouse
    seta m_yaw            "0.022"

    seta in_freeLook        "1"
    seta in_pitchspeed    "140"
    seta in_yawspeed        "140"
    seta in_toggleZoom    "1"
    
    seta in_mouse        "-1"


//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//    HUD
//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *

    seta com_allowConsole        "1"
    seta com_showFPS            "1"

    seta con_speed            "99999"

    seta g_crosshairCustom        "0"
    seta g_crosshairColor        "1 1 1 1"
    seta g_crosshairSize        "32"
    seta g_showProjectilePct    "1"

    seta win_allowAltTab        "1"


//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//    VIDEO
//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *

    seta g_fov                "110"
    seta g_brassTime            "0"
    seta g_doubleVision        "0"
    seta g_gunViewStyle        "0"
    seta g_muzzleFlash        "0"
    seta g_projectileLights        "0"
    seta g_gunPitch            "0"
    seta g_gunRoll            "0"
    seta g_skipItemShadowsMP    "1"
    seta g_skipPlayerShadowsMP    "1"
    seta g_skipViewEffects        "1"

    seta pm_bobpitch            "0"
    seta pm_bobroll            "0"
    seta pm_bobup            "0"
    seta pm_crouchbob            "0"
    seta pm_walkbob            "0"

    seta r_lod_shadows        "1"
    seta r_shadows            "0"
    seta r_showShadows        "0"
    seta r_skipAmbient        "1"
    seta r_skipBump            "1"
    seta r_skipDiffuse        "1"
    seta r_skipNewAmbient        "1"
    seta r_skipSpecular        "1"
    seta r_debugArrowStep        "120"
    seta r_forceLoadImages        "0"
    seta r_shadows            "0"
    seta r_skipBump            "1"
    seta r_skipSpecular        "1"
    seta r_skipNewAmbient        "1"
    seta r_renderer            "best"
    seta r_brightness            "1"
    seta r_gamma            "1.8"
    seta r_swapInterval        "1"    // Vertical Sync
    seta r_displayRefresh        "60"    // Optimal refresh timing
    seta r_useIndexBuffers        "0"
    seta r_fullscreen            "1"
    seta r_mode                "4"    // Resolution, 4 = 800x600
    seta r_aspectRatio        "0"
    seta r_alphaToCoverage        "1"
    seta r_multiSamples        "2"    // FSAA

    seta image_downSizeLimit                "16"
    seta image_ignoreHighQuality                "1"
    seta image_downSizeBumpLimit                "16"
    seta image_downSizeSpecularLimit            "2"
    seta image_downSizeBump                    "1"
    seta image_downSizeSpecular                "1"
    seta image_useCache                    "1"
    seta image_cacheMegs                    "512"
    seta image_cacheMinK                    "1024"
    seta image_usePrecompressedTextures            "0"
    seta image_useNormalCompressionLoadDDSForPal    "0"
    seta image_useNormalCompression            "2"
    seta image_useAllFormats                "1"
    seta image_useCompression                "0"
    seta image_downSize                    "1"
    seta image_lodbias                    "0"
    seta image_anisotropy                    "0"
    seta image_filter                        "GL_LINEAR_MIPMAP_NEAREST"


//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//    SOUND
//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *

    seta s_numberOfSpeakers        "2"

    seta s_volume_dB        "0"
    seta s_musicVolume    "0"
    
    seta "vol00"     "seta s_volume 0.0;seta vdn vstr vol00;seta vup vstr vol01;echo ^0...^3Volume ^0**********"
    seta "vol01"     "seta s_volume 0.1;seta vdn vstr vol00;seta vup vstr vol02;echo ^0...^3Volume ^3*^0*********"
    seta "vol02"     "seta s_volume 0.2;seta vdn vstr vol01;seta vup vstr vol03;echo ^0...^3Volume ^3**^0********"
    seta "vol03"     "seta s_volume 0.3;seta vdn vstr vol02;seta vup vstr vol04;echo ^0...^3Volume ^3***^0*******"
    seta "vol04"     "seta s_volume 0.4;seta vdn vstr vol03;seta vup vstr vol05;echo ^0...^3Volume ^3****^0******"
    seta "vol05"     "seta s_volume 0.5;seta vdn vstr vol04;seta vup vstr vol06;echo ^0...^3Volume ^3*****^0*****"
    seta "vol06"     "seta s_volume 0.6;seta vdn vstr vol05;seta vup vstr vol07;echo ^0...^3Volume ^3******^0****"
    seta "vol07"     "seta s_volume 0.7;seta vdn vstr vol06;seta vup vstr vol08;echo ^0...^3Volume ^3*******^0***"
    seta "vol08"     "seta s_volume 0.8;seta vdn vstr vol07;seta vup vstr vol09;echo ^0...^3Volume ^3********^0**"
    seta "vol09"     "seta s_volume 0.9;seta vdn vstr vol08;seta vup vstr vol10;echo ^0...^3Volume ^3*********^0*"
    seta "vol10"     "seta s_volume 1.0;seta vdn vstr vol09;seta vup vstr vol10;echo ^0...^3Volume ^3**********"

    seta "speakers"    "seta s_numberOfSpeakers 4; vstr vol10; echo ^7Speaker Mode: ^14 speakers"
    seta "headphones"    "seta s_numberOfSpeakers 2; vstr vol7; echo ^7Headphone Mode: ^12 speakers"
    
    bind "PGUP"        "vstr vup"
    bind "PGDN"        "vstr vdn"
    bind "F9"        "vstr headphones"
    bind "F10"        "vstr speakers"
    
    vstr "vol07"


//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//    PERSONAL
//    * * * * * * * * * * * * * * * * * * * * * * * * * * * * 

    seta ui_name    "yournamehere"
    seta ui_clan    ""
    seta ui_model    "model_player_marine_tech"
    seta ui_skin    "base"


//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//    NET
//    * * * * * * * * * * * * * * * * * * * * * * * * * * * *

    seta net_clientMaxRate        "25000"
    seta net_clientLagOMeter    "1"
    seta cl_punkbuster        "1"