+ Reply to Thread
Results 1 to 6 of 6

Thread: Draw Speedometer

  1. #1
    *Projsa
    Guest

    Draw Speedometer

    Hello folks.
    I want to bind a key so I can toggle center printed speedometer.
    So what I need help with is the command for center printed speedometer.

    There are /cg_drawspeed and /cg_drawspeedbar but those aren't what I want.
    Any help is most appreciated.

    Kind regards,
    Projsa.

  2. #2
    *DogDriller
    Guest
    cg_speedometer 3

  3. #3
    Senior Member Yakumo has a spectacular aura about Yakumo has a spectacular aura about Yakumo's Avatar
    Join Date
    Aug 2010
    Location
    UK
    Posts
    3,819
    // speedometer display toggler
    seta _speedOn "set cg_speedometer 3;set _speedo vstr _speedOff"
    seta _speedOff "set cg_speedometer 0;set _speedo vstr _speedOn"
    vstr _speedOff

    bind x vstr _speedo

  4. #4
    *Projsa
    Guest
    Thanks Yakumo, I tried this: "bind x toggle cg_speedometer 3" but that wasn't possible, and I understand why.
    So I'm gonna use your script, thanks.

  5. #5
    Senior Member Yakumo has a spectacular aura about Yakumo has a spectacular aura about Yakumo's Avatar
    Join Date
    Aug 2010
    Location
    UK
    Posts
    3,819
    I think I heard quake4 had a modified toggle where you could do

    bind x toggle 3 cg_speedometer
    and toggle would change 0/3, instead of 0/1 but sadly we don't have that :/

  6. #6
    *Projsa
    Guest
    Oh, ok. But your way worked very well too, so I thank you again!

+ Reply to Thread

Tags for this Thread

Posting Permissions

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