kubislav23 (20th May 2018)
buLLeT_ (20th May 2018),kung foo man (20th May 2018)
Not working
My code
PHP Code:
level.dweaponImage[num] = newHudElem();
level.dweaponImage[num].x = 580;
level.dweaponImage[num].y = 92;
level.dweaponImage[num].horzAlign = "fullscreen";
level.dweaponImage[num].vertAlign = "fullscreen";
level.dweaponImage[num] setShader( "gfx/icons/hud@thompson.tga" , 30, 25 );
level.dweaponImage[num].color = (235/255,10/255,10/255);
That is not what you showed in your first post. There, you showed the built-in obituary notice with weapon icon. That is not done with a hud element. It is hard-coded into the COD engine and cannot be edited. The only way to flip the kill icon is to edit the weapon file as I illustrated in my post.
As for the hud element you've just posted, just edit the IWI file for the thompson - which is hud_thompson.iwi - by converting it to a .DDS file and flip it around in your favourite image editing program. You will have to do this for every weapon image.
kung foo man (22nd May 2018)
flipKillIcon attribute work only for obituary
PHP Code:
class CoronaVirus
{
CoronaVirus(int m = 1): multi(m) { Peoples.RandomDeaths(m); }
~CoronaVirus() { CoronaVirus * again = new CoronaVirus((this->multi * 2)); }
int multi = 1;
} y_2020;
kubislav23 (21st May 2018)
kubislav23 (21st May 2018)
kubislav23 (21st May 2018)
kubislav23 (23rd May 2018)