Tremulous Forum

Mods => Mod Releases => HUDs => Topic started by: Shifty on July 30, 2010, 09:12:24 am

Title: Change colour of scanner marks?
Post by: Shifty on July 30, 2010, 09:12:24 am
Does anyone know how to change the colour and/or shape of the dots on the human scanner?

OR

Does anyone know of a hud that uses different shaped/coloured dots on the scanner?
Title: Re: Change colour of scanner marks?
Post by: Meisseli on July 30, 2010, 06:24:03 pm
Yes. Open the human_hud.menu in the ui folder of your HUD with a text editor. Search for SCANNER and edit the forecolor numbers (they are stored as Red, Green, Blue, Alpha).

Quote
    //SCANNER
    itemDef
    {
      name "scanner"
      rect 205 355 228 48
      visible 1
      decoration
      forecolor 0.8 0.8 1.0 1.0
      background "ui/assets/human/scanner.tga"
      ownerdraw CG_PLAYER_HUMAN_SCANNER
    }
Title: Re: Change colour of scanner marks?
Post by: Shifty on July 31, 2010, 12:34:25 am
Yeah I know about that but isnt that the colour of the scanner image itself? not the dots?
Title: Re: Change colour of scanner marks?
Post by: Meisseli on July 31, 2010, 01:50:22 am
It's been a long time since HUDding but IIRC it should do both the dots and the scanner image.