Accidentally killed the HUD.

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Sat Feb 17, 2007 4:10 pm

  • I was messing around in the console and killed my HUD. (health, armor, ammo...) How do I get it back?

    And I was trying to 'code' a quick-zoom that wouldn't take so long to get there like the default zoom, but my frame rate gets halved because the scr_zoomwindow creates two displays. Any tips for an instant zoom without performance loss?
    GunHammer
    Member
     
    Posts: 39
    Joined: Tue Feb 13, 2007 12:36 am

Sat Feb 17, 2007 4:17 pm

  • You've probably changed the viewsize cvar. Default it's set to 110 afaik, and you've set it to 120. Change it back to 110 and you get your HUD back ;)
    "One should strive to achieve; not sit in bitter regret."
    WE ARE NEXUIZ.
    Image
    Image
    User avatar
    C.Brutail
    Laidback mapper
     
    Posts: 2357
    Joined: Tue Feb 28, 2006 7:26 pm
    Location: Ironforge

Sat Feb 17, 2007 5:02 pm

  • GunHammer wrote:And I was trying to 'code' a quick-zoom that wouldn't take so long to get there like the default zoom, but my frame rate gets halved because the scr_zoomwindow creates two displays. Any tips for an instant zoom without performance loss?


    Yeah, you can make a zoom script. Here is something I did. Put this in autoexec.cfg (create the file if you don't have it)
    Code: Select all
    // zoom script
    set fov_orginal $fov
    set fov_zoomvalue 50
    set fov_sensorginal $sensitivity
    set fov_sens 1.2
    alias "+fov_zoom" "fov $fov_zoomvalue ; sensitivity $fov_sens"
    alias "-fov_zoom" "fov $fov_orginal ; sensitivity $fov_sensorginal"

    alias zoom_toggle "zoom_on"
    alias zoom_on "fov $fov_zoomvalue ; sensitivity $fov_sens ; alias zoom_toggle zoom_off"
    alias zoom_off "fov $fov_orginal ; sensitivity $fov_sensorginal ; alias zoom_toggle zoom_on"

    bind mouse3 "+fov_zoom" // zoom while pressing
    bind x "zoom_toggle" // zoom toggle

    You can change the binds for '+fov_zoom' and 'zoom_toggle'.
    +fov_zoom = zoom while pressing.
    zoom_toggle = zoom toggle.
    You can change the zoom strength with 'set fov_zoomvalue' and change the zoom mouse sensitivity with 'set fov_sens'.
    User avatar
    morfar
    Site Admin
     
    Posts: 938
    Joined: Tue Feb 28, 2006 6:08 pm
    Location: The Island

Sat Feb 17, 2007 11:54 pm

  • Yup, it was at 120. Thanks. I'll try out the zoom, too.
    GunHammer
    Member
     
    Posts: 39
    Joined: Tue Feb 13, 2007 12:36 am

Sun Feb 18, 2007 12:21 am

  • also quick-changable by hitting - or = on the main section of your keyboard (pretty standard for most Quake engine games)
    --Willis
    User avatar
    Willis
    Site Admin
     
    Posts: 168
    Joined: Tue Feb 28, 2006 7:00 pm
    Location: Wisconsin, USA

Sun Feb 18, 2007 1:11 am

  • Well, you'll have to be a bit more specific with me. How do I create this CFG file (just a TXT file with a different extension?) and what folder do I put it in?

    Willis, I think I killed that as well because I used the unbind command on those keys. :roll:
    GunHammer
    Member
     
    Posts: 39
    Joined: Tue Feb 13, 2007 12:36 am

Sun Feb 18, 2007 2:06 am

  • Viewsize is also some were in the Options/Player menu but one first have to know that this thing does. I'm however very sure that 100 is the default.. Hud borders with numbers while 110 is just the numbers.

    Yes you just need to create text file and change its extension. I guess you use windows so the right directory is Nexuiz/data there you will also find the normal config file config.cfg.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am



Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest