Tremulous Forum

General => Troubleshooting => Topic started by: OhaiReapd on March 21, 2011, 05:18:36 am

Title: What Am I doing wrong?
Post by: OhaiReapd on March 21, 2011, 05: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: [Select]
   //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: [Select]
    //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.
Title: Re: What Am I doing wrong?
Post by: Meisseli on March 21, 2011, 08: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.
Title: Re: What Am I doing wrong?
Post by: OhaiReapd on March 21, 2011, 09: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.
Title: Re: What Am I doing wrong?
Post by: Meisseli on March 21, 2011, 10: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.
Title: Re: What Am I doing wrong?
Post by: OhaiReapd on March 21, 2011, 10: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.
Title: Re: What Am I doing wrong?
Post by: Meisseli on March 21, 2011, 11: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
Title: Re: What Am I doing wrong?
Post by: OhaiReapd on March 22, 2011, 12:04:37 am
Thanks, but I'm more confused on why the cvar just disappeared.
Title: Re: What Am I doing wrong?
Post by: Random ViruS on March 25, 2011, 12:24:41 pm
Mine never worked... so the solution to my problem is to not use the HUD at all, use classic.