How to rotate shader image
Attachment 1520
to be like this
Attachment 1521
Printable View
How to rotate shader image
Attachment 1520
to be like this
Attachment 1521
In the weapon file, find and edit Flipkillicon setting to 1:
Attachment 1522
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.
flipKillIcon attribute work only for obituary
what to choose
Attachment 1523
edit: problem with image ingame
Attachment 1524
Attachment 1525