GoldenEye: Source Forums

  • January 24, 2021, 01:31:28 pm
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [FIXED] Can't put a non-red contact on radar  (Read 1426 times)

0 Members and 1 Guest are viewing this topic.

mookie

  • Idiot
  • 00 Agent
  • ***
  • Posts: 252
  • Reputation Power: 0
  • mookie is looked down upon.
  • Offline Offline
[FIXED] Can't put a non-red contact on radar
« on: February 12, 2009, 01:46:36 pm »

Weird thing: AddRadarContact seems to be on full red no matter what.

In other words this:
AddRadarContact(player, RADAR_TYPE_PLAYER, true, "", 255, 255, 0, 255);
and this:
AddRadarContact(player, RADAR_TYPE_PLAYER, true, "", 0, 255, 0, 255);
both put a yellow dot on the radar.

This is not such a big deal as you can do red, yellow, and magenta, but it would be nice to be able to have blue, cyan, or bright green radar contacts.
« Last Edit: February 12, 2009, 02:53:05 pm by killermonkey »
Logged
5 2 3 7 1 4 6 0

Mark [lodle]

  • Retired Lead Developer
  • 007
  • *
  • Posts: 1,411
  • Reputation Power: 1
  • Mark [lodle] has no influence.
  • Offline Offline
Re: [BUG] Can't put a non-red contact on radar
« Reply #1 on: February 12, 2009, 01:56:27 pm »

ill get monkey to look into it. :P
Logged

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,474
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: [BUG] Can't put a non-red contact on radar
« Reply #2 on: February 12, 2009, 02:51:55 pm »

OOPS!

HAHA, since the GG holder is "gold" I never noticed this bug, I wasn't properly sending the color to the client so it would always have the red 255. Great find, thanks!
Logged

Mark [lodle]

  • Retired Lead Developer
  • 007
  • *
  • Posts: 1,411
  • Reputation Power: 1
  • Mark [lodle] has no influence.
  • Offline Offline
Re: [FIXED] Can't put a non-red contact on radar
« Reply #3 on: February 12, 2009, 03:14:25 pm »

if you need any other function hooks let us know and we will add them to beta 3.1
Logged
Pages: [1]   Go Up