binding keys with cam_ commands

A Forum Thread for Counter-Strike: Source

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending fanerddu points.
  • Post: Give fanerddu your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Sound fun?

Sign up

Already a Bananite? Login

cam_ commands not bind-able commands...?

Playing around on my own client side server, (start cs:s > create server > profit!) I started to play around with some key bindings. First I bound: bind p "sv_cheats 1" bind o "sv_cheats 0" And then I bound: bind i "thirdperson" bind k "firstperson" However -- what I originally tried (and ideally want to be able to do) was bind this: bind i "thirdperson"; "cam_idealdist 10"; "cam_idealdistup 10" However, console gives me these errors: > Unknown command: cam_idealdist > Unknown command: cam_idealdistup This is where I'm a little confused -- you can type: "cam_idealdist 10" into console (after enabling cheats) and it works just fine. Same with: "cam_idealdistup 10." So technically, they _are_ commands. But apparently they are not commands that can work within the 'bind' function? My only reason for doing this was to be able to bind a couple keys to quickly turn on sv_cheats and then switch to my favored third person camera angle -- which I've found to be pretty playable.

Posts

  • 5y
    Devieus avatar
    Devieus avatar ONLINE
    Moderator Joined 7y
    80,771 points Ranked 47th
    63 medals 4 legendary 10 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twelve Winner! Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Sixteen Winner! Medal icon
    Try this:

    bind i "thirdperson; cam\_idealdist 10; cam\_idealdistup 10"
    • Win x 1
    • Helpful x 1
    • Thanks x 1
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
  • 5y
    fanerddu avatar
    fanerddu avatar Offline
    Member Joined 9y
    823 points Ranked 5619th
    > **Posted by Devieus**

    > Try this:
    >
    > bind i "thirdperson; cam\_idealdist 10; cam\_idealdistup 10"

    WORKS! woohoo! thank you!

    -
    previously sargeantwelsh avatar
    Mantra
    previously sargeantwelsh

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

fanerddu avatar
fanerddu avatar Offline
Member Joined 9y
823 points Ranked 5619th

fanerddu avatar
fanerddu
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Stats

Posts
2
Views
1,155
Date Added
5y
Date Modified
5y
bcp.crwdcntrl.net tracking pixel