* May 20, 2013, 12:48:15 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Come Chat with us live! Learn how HERE!
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: What Am I doing wrong?  (Read 480 times)
OhaiReapd
Spam Killer
*

Turrets: +7/-239
Posts: 942


« on: March 21, 2011, 04:18:36 AM »

Okay, all of a sudden, my fullscreen radar decided to stop working!

Here's my code for it, post anything wrong with it here, thanks.

~Reapd
Code:
   //Clayborn Scanner (Fullscreen)
    itemDef
    {
      name "scanner2"
      rect 0 0 640 400
      visible 1
      decoration
      ownerdraw CG_PLAYER_HUMAN_SCANNER
      background "gfx/null.tga"
      forecolor 45 45 45 1
      cvartest cg_fscan
      showCvar { 1 }
     }
Code:
    //INVENTORY
    itemDef
    {
      name "inventory"
      rect 614 123 18 234 // (4:3)
      visible MENU_TRUE
      cvartest meis_widescreen
      showCvar {0}
      decoration
      forecolor 0.9 1.0 0.9 1.0
      ownerdraw CG_PLAYER_SELECT
    }   

    //INVENTORY
    itemDef
    {
      name "inventory"
      rect 614 (123-18) 18 234 // (16:10)
      visible MENU_TRUE
      cvartest meis_widescreen
      showCvar {1}
      decoration
      forecolor 0.9 1.0 0.9 1.0
      ownerdraw CG_PLAYER_SELECT
    }   

    //INVENTORY
    itemDef
    {
      name "inventory"
  rect 614 (123-2*18) 18 234 // (16:9)
      visible MENU_TRUE
      cvartest meis_widescreen
      showCvar {2}
      decoration
      forecolor 0.9 1.0 0.9 1.0
      ownerdraw CG_PLAYER_SELECT
    }   

Its about the cvars, and idk what happened to change it.
« Last Edit: March 21, 2011, 11:49:20 AM by OhaiReapd » Logged

Meisseli
Spam Killer
*

Turrets: +83/-25
Posts: 765


« Reply #1 on: March 21, 2011, 07:20:57 PM »

What does the inventory there have to do with anything?

Anyway that radar works fine. You probably have set cg_fscan to 0 or something similar.
Logged

OhaiReapd
Spam Killer
*

Turrets: +7/-239
Posts: 942


« Reply #2 on: March 21, 2011, 08:09:04 PM »

What does the inventory there have to do with anything?

Anyway that radar works fine. You probably have set cg_fscan to 0 or something similar.

The inventory isn't working, and I still get an unknown cmd.
Logged

Meisseli
Spam Killer
*

Turrets: +83/-25
Posts: 765


« Reply #3 on: March 21, 2011, 09:21:51 PM »

What does the inventory there have to do with anything?

Anyway that radar works fine. You probably have set cg_fscan to 0 or something similar.

The inventory isn't working, and I still get an unknown cmd.
You have messed up something completely else, those are at least fine.
Logged

OhaiReapd
Spam Killer
*

Turrets: +7/-239
Posts: 942


« Reply #4 on: March 21, 2011, 09:35:58 PM »

What does the inventory there have to do with anything?

Anyway that radar works fine. You probably have set cg_fscan to 0 or something similar.

The inventory isn't working, and I still get an unknown cmd.
You have messed up something completely else, those are at least fine.
I got them to work, but the cvar won't work. So I just took them out.
Logged

Meisseli
Spam Killer
*

Turrets: +83/-25
Posts: 765


« Reply #5 on: March 21, 2011, 10:43:22 PM »

What does the inventory there have to do with anything?

Anyway that radar works fine. You probably have set cg_fscan to 0 or something similar.

The inventory isn't working, and I still get an unknown cmd.
You have messed up something completely else, those are at least fine.
I got them to work, but the cvar won't work. So I just took them out.
http://tremulous.net/forum/index.php?topic=14625.msg211403#msg211403
Logged

OhaiReapd
Spam Killer
*

Turrets: +7/-239
Posts: 942


« Reply #6 on: March 21, 2011, 11:04:37 PM »

Thanks, but I'm more confused on why the cvar just disappeared.
Logged

Random ViruS
Guest
« Reply #7 on: March 25, 2011, 11:24:41 AM »

Mine never worked... so the solution to my problem is to not use the HUD at all, use classic.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
TremPlus theme by Ingar, based on AF316 theme by Fedhog
Valid XHTML 1.0! Valid CSS!