Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    22

    Sensitivity script

    hey im not to sure about scripts but i wanna be able to change sensitivity in game with the press of N what do you think of this?

    Code:
    set sensitivity3 "echo Sensitivity set to 3!; set sensitivity 3; set switch_sens vstr sensitivity3.5"
    set sensitivity3.5 "echo Sensitivity set to 3.5!; set sensitivity 3.5; set switch_sens vstr sensitivity4"
    set sensitivity4 "echo Sensitivity set to 4!; set sensitivity 4; set switch_sens vstr sensitivity4.5"
    set sensitivity4.5 "echo Sensitivity set to 4.5!; set sensitivity 4.5; set switch_sens vstr sensitivity5"
    set sensitivity5 "echo Sensitivity set to 5!; set sensitivity 5; set switch_sens vstr sensitivity5.5"
    set sensitivity5.5 "echo Sensitivity set to 5.5!; set sensitivity 5.5; set switch_sens vstr sensitivity6"
    set sensitivity6 "echo Sensitivity set to 6!; set sensitivity 6; set switch_sens vstr sensitivity6.5"
    set sensitivity6.5 "echo Sensitivity set to 6.5!; set sensitivity 6.5; set switch_sens vstr sensitivity7"
    set sensitivity7 "echo Sensitivity set to 7!; set sensitivity 7; set switch_sens vstr sensitivity3"
    set switich_sens "vstr sensitivity5"
    bind "N" "vstr switch_sens"

  2. #2
    Veteran Member Cory's Avatar
    Join Date
    Jan 2007
    Location
    USA
    Posts
    2,527

    Re: Sensitivity script

    Did you even try this out?

    It looks fine.. go test it.

  3. #3
    Junior Member
    Join Date
    Jun 2007
    Posts
    22

    Re: Sensitivity script

    yeah i did but it just stays at 5
    in console it will say Sensitivity changed to 5!
    and i will press N and it will just do the same and i changed it to switch_sens which dosnt really effect it much im pretty sure it dosnt even work :S

    i based this script around like the changing fov script just changed it with sensitivity so i dunno why it isnt working and the fov one works perfectly

  4. #4
    Veteran Member Cory's Avatar
    Join Date
    Jan 2007
    Location
    USA
    Posts
    2,527

    Re: Sensitivity script

    Try this:

    Code:
    set sensitivity3 "echo Sensitivity set to 3!; set sensitivity 3; set switch_sens vstr sensitivity3.5"
    set sensitivity3.5 "echo Sensitivity set to 3.5!; set sensitivity 3.5; set switch_sens vstr sensitivity4"
    set sensitivity4 "echo Sensitivity set to 4!; set sensitivity 4; set switch_sens vstr sensitivity4.5"
    set sensitivity4.5 "echo Sensitivity set to 4.5!; set sensitivity 4.5; set switch_sens vstr sensitivity5"
    set sensitivity5 "echo Sensitivity set to 5!; set sensitivity 5; set switch_sens vstr sensitivity5.5"
    set sensitivity5.5 "echo Sensitivity set to 5.5!; set sensitivity 5.5; set switch_sens vstr sensitivity6"
    set sensitivity6 "echo Sensitivity set to 6!; set sensitivity 6; set switch_sens vstr sensitivity6.5"
    set sensitivity6.5 "echo Sensitivity set to 6.5!; set sensitivity 6.5; set switch_sens vstr sensitivity7"
    set sensitivity7 "echo Sensitivity set to 7!; set sensitivity 7; set switch_sens vstr sensitivity3"
    set switch_sens "vstr sensitivity5"
    bind n "vstr switch_sens"

    There was 1 misspelling and you did the bind wrong.

  5. #5
    Junior Member
    Join Date
    Jun 2007
    Posts
    22

    Re: Sensitivity script

    Thanks heaps mate works perfectly now

  6. #6
    Veteran Member Cory's Avatar
    Join Date
    Jan 2007
    Location
    USA
    Posts
    2,527

    Re: Sensitivity script

    Quote Originally Posted by tikan55 View Post
    Thanks heaps mate works perfectly now
    No problem.

Similar Threads

  1. For Clever Script People(Script for Circle Movement)
    By buckster in forum Vecs & Scripts
    Replies: 5
    Last Post: December 10th, 2007, 18:42
  2. Shooting Sensitivity Toggle
    By FreckleS in forum Vecs & Scripts
    Replies: 2
    Last Post: September 28th, 2007, 07:36
  3. request: sensitivity change while shooting
    By carapippino in forum Vecs & Scripts
    Replies: 15
    Last Post: July 12th, 2007, 10:27
  4. In-combat mouse sensitivity changer ?
    By CFG maker-*panic! in forum Vecs & Scripts
    Replies: 5
    Last Post: April 30th, 2007, 20:07
  5. Script: Volume Script
    By sinlos! in forum Vecs & Scripts
    Replies: 0
    Last Post: March 25th, 2007, 00:20

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •