Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial How to change Damage Feedback Colours
#1
Hey

This is a very simple tutorial, but never seen this on any mod, is just for changing the colour of the icon when you hit someone, go into _damagefeedback.gsc, go into this thread and add what I put with THIS:

Code:
onPlayerConnect()
{
    for(;;)
    {
        level waittill("connected", 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.color = (1,0,0); //THIS
        player.hud_damagefeedback setShader("damage_feedback", 24, 48);
    }
}

Setup the colour there: remember that colours are done like this: (red, green, blue)

Also, you can change sound here, and the size too:

Code:
    else
    {
        self.hud_damagefeedback setShader("damage_feedback", 24, 48);
        self playlocalsound("MP_hit_alert"); //HERE
    }

Nyan Cat
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] CS addon for MW2(Sounds,show damage) Fl0w_.JACKDAN 1 4,687 09-29-2013, 19:46
Last Post: Nekochan
Question Help Team DAMAGE offhand E-losev 0 2,424 09-17-2013, 12:03
Last Post: E-losev
  Using Cheat Engine 6.2 to change BO2 address values wzlrsaur 6 8,105 08-06-2013, 06:28
Last Post: 14th
  Mw3 Feed Color Change?? aluzion 5 5,868 07-16-2013, 19:52
Last Post: barata
  Change death animation Keouf 3 3,996 07-05-2013, 18:39
Last Post: Nekochan
Question Help damage [HARD] Tony. 2 2,653 05-16-2013, 19:42
Last Post: Nekochan
Question Help change single file lzma maker to multiple in c# raminr63 1 3,052 05-12-2013, 19:31
Last Post: raminr63
Information How to change text messages in MP (.ff edit) giofrida 5 4,817 05-02-2013, 20:05
Last Post: Pozzuh
Its My Birthday! [Release] ServerConfigurator: Change your server settings easily JariZ 39 82,565 03-10-2013, 19:17
Last Post: wisamskay
  i want change mod to .iwd file ABDULMAILK 7 6,147 03-10-2013, 05:24
Last Post: DidUknowiPwn

Forum Jump:


Users browsing this thread:
1 Guest(s)

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