Author Topic: Change colour of scanner marks?  (Read 5157 times)

Shifty

  • Posts: 75
  • Turrets: +0/-0
Change colour of scanner marks?
« 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?

Meisseli

  • Spam Killer
  • *
  • Posts: 765
  • Turrets: +83/-25
Re: Change colour of scanner marks?
« Reply #1 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
    }

Shifty

  • Posts: 75
  • Turrets: +0/-0
Re: Change colour of scanner marks?
« Reply #2 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?

Meisseli

  • Spam Killer
  • *
  • Posts: 765
  • Turrets: +83/-25
Re: Change colour of scanner marks?
« Reply #3 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.