Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // -- Begin zoom.cfg
- // Script to automate zoom-unzoom-fire trick. Bind a key to zoomscope_toggle and replace +attack/+attack2 binds with +zoomscope_attack/+zoomscope_attack2.
- alias +zoomscope_attack +attack
- alias -zoomscope_attack -attack
- alias +zoomscope_attack_zoom "-zoom;+attack"
- alias -zoomscope_attack_zoom "-attack;+zoom"
- alias +zoomscope_attack2 +attack2
- alias -zoomscope_attack2 -attack2
- alias +zoomscope_attack2_zoom "-zoom;+attack2"
- alias -zoomscope_attack2_zoom "-attack2;+zoom"
- alias zoomscope_toggle zoomscope_on
- alias zoomscope_on "alias +zoomscope_attack +zoomscope_attack_zoom;alias -zoomscope_attack -zoomscope_attack_zoom;alias +zoomscope_attack2 +zoomscope_attack2_zoom;alias -zoomscope_attack2 -zoomscope_attack2_zoom;+zoom;alias zoomscope_toggle zoomscope_off"
- alias zoomscope_off "alias +zoomscope_attack +attack;alias -zoomscope_attack -attack;alias +zoomscope_attack2 +attack2;alias -zoomscope_attack2 -attack2;-zoom;alias zoomscope_toggle zoomscope_on"
- // -- End zoom.cfg
- // toggle_duck doesn't work.
- alias toggleduck toggleduck_on
- alias toggleduck_on "+duck;alias toggleduck toggleduck_off;
- alias toggleduck_off "-duck;alias toggleduck toggleduck_on;
- joystick 1 // Enables the joystick.
- joy_name "Xbox360 controller"
- bind JOY1 +jump // A
- bind JOY2 +reload // B
- bind JOY3 +use // X
- bind JOY4 "use weapon_crowbar;use weapon_pistol;use weapon_smg1;use weapon_ar2;use weapon_357;use weapon_rpg;use weapon_shotgun;use weapon_crossbow" // Y
- bind AUX5 +speed // Top left button
- bind AUX6 phys_swap // Top right button
- bind AUX7 "impulse 100" // Back - Flashlight
- bind AUX8 slot5 // Start
- bind AUX9 toggleduck // Left stick press
- bind AUX10 zoomscope_toggle // Right stick press
- bind AUX29 slot1 // DPad up
- bind AUX30 slot2 // DPad right
- bind AUX31 slot3 // DPad down
- bind AUX32 slot4 // DPad left
- joy_advanced 1 // Enables joy_adv*
- // Sticks are handled lower down.
- unbind "X AXIS POS" // Left stick right
- unbind "X AXIS NEG" // Left stick left
- unbind "Y AXIS POS" // Left stick down
- unbind "Y AXIS NEG" // Left stick up
- unbind "U AXIS POS" // Right stick right
- unbind "U AXIS NEG" // Right stick left
- unbind "R AXIS POS" // Right stick down
- unbind "R AXIS NEG" // Right stick up
- bind "Z AXIS POS" +zoomscope_attack2 // Top left trigger
- bind "Z AXIS NEG" +zoomscope_attack // Top right trigger
- // 0 Axis not used
- // 1 Axis used for movement forward and back (forward)
- // 2 Axis used for looking up and down(pitch) -- DOES NOT WORK
- // 3 Axis used for strafing(side)
- // 4 Axis used for turning(yaw)
- joy_advaxisx 3 // Left stick horizontal
- joy_advaxisy 1 // Left stick vertical
- joy_advaxisz 0 // Triggers
- joy_advaxisr 2 // Right stick vertical
- joy_advaxisu 4 // Right stick horizontal
- joy_advaxisv 0 // N/A
- +jlook // Enables axis mode 2. (why is this needed?)
- hud_fastswitch 2 // Switch to weapons as soon as slot button is pressed.
- joy_forwardthreshold 0.15
- joy_sidethreshold 0.15
- joy_forwardsensitivity -1
- joy_sidesensitivity 1
- joy_pitchthreshold 0.15
- joy_yawthreshold 0.15
- joy_pitchsensitivity 1
- joy_yawsensitivity -1.25
- joy_response_move 1 // 'Movement' stick response mode: 0=Linear, 1=quadratic, 2=cubic, 3=quadratic extreme, 4=power function(i.e., pow(x,1/sensitivity)) // in ep2's .cfg it's 5. new or undocumented?
- joy_response_look 1 // DISABLED - 'Look' stick response mode: 0=Linear, 1=quadratic, 2=cubic, 3=quadratic extreme, 4=custom
- joy_lowend 0.65 // Specifies the amount of the controller's physical range you wish to section off as the "inner zone".
- joy_lowmap 0.15 // Specifies the amount of the controller's true range is mapped to the "inner zone".
- joy_accelscale 1.4
- joy_autoaimdampenrange 0.85 // The stick range where autoaim dampening is applied. 0 = off
- joy_autoaimdampen 0.5 // How much to scale user stick input when the gun is pointing at a valid target.
- joy_diagonalpov 0 // POV manipulator operates on diagonal axes, too.
- joy_display_input 0 // Write joystick control information to the console log.
- joy_wingmanwarrior_turnhack 0 // Fixes a spin problem with the Wingman Warrior joystick.
- joy_autosprint 0 // Automatically sprint when moving with an analog joystick
- joy_wingmanwarrior_centerhack 0 // Fixes a centering problem with the Wingman Warrior joystick.
- joy_axisbutton_threshold 0.3 // Analog axis range before a button press is registered.
- joyadvancedupdate // Apply changes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement