Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hitmark color?
#1
Is it possible to change the hitmarker color in BO? If it is, what's the dvar for it?
I don't have crosshairs enabled but the hitmark still shows up properly.

I tried this:
setDvar("cg_crosshairEnemyColor", 1, 0, 0);

and then ran out of ideas Dumb Bitch

(That didn't even change the crosshair color though, after I enabled them :p)
[Image: enjin-103434-13169654251028747231-blue.png]
Reply

#2
It's a shader in one of the gscs.

That dvar changes the crosshair color when aiming at an enemy (normally red).
[Image: MaEIQ.png]
Reply

#3
Ah alright. Any advice on how I could get about finding that shader?

Edit:

I think I found it! Thanks a ton dude.

Code:
onPlayerConnect()
{
    for(;;)
    {
        level waittill("connecting", player);

        player.hud_damagefeedback = newClientHudElem(player);
        player.hud_damagefeedback.horzAlign = "center";
        player.hud_damagefeedback.vertAlign = "middle";
        player.hud_damagefeedback.x = -12;
        player.hud_damagefeedback.y = -12;
        player.hud_damagefeedback.alpha = 0;
        player.hud_damagefeedback.archived = true;
        player.hud_damagefeedback setShader("damage_feedback", 24, 48);
        player.hitSoundTracker = true;
    }
}
[Image: enjin-103434-13169654251028747231-blue.png]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Code color crosshairs koren30 3 4,019 10-02-2013, 19:26
Last Post: koren30
  Mw3 Feed Color Change?? aluzion 5 5,881 07-16-2013, 19:52
Last Post: barata
Photo Help color blue(display) [HARD] Tony. 2 2,610 04-06-2013, 14:16
Last Post: Nekochan
  Help [solved]red hitmark mod? founderlj 7 4,735 12-30-2012, 23:06
Last Post: Pozzuh
  change team names & score board color raminr63 11 11,685 09-28-2012, 09:22
Last Post: zxz0O0
  [Request] Color name changer? chrisproblade 1 2,419 08-06-2012, 01:30
Last Post: DidUknowiPwn
  Help How do i change scoreboard team color? tatar5355 8 5,850 07-30-2012, 18:00
Last Post: tatar5355
  weapons of color Camelot 4 2,596 03-18-2012, 18:31
Last Post: JariZ
Wink [Release] Color Clan Tag akim14 13 9,772 09-11-2011, 09:47
Last Post: akim14
  [Tutorial] How to get a blue color JariZ 74 29,751 08-29-2011, 10:22
Last Post: d0h!

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.