View Full Version : [cod2] Shader
buLLeT_
20th May 2018, 16:03
How to rotate shader image
1520
to be like this
1521
Tally
20th May 2018, 17:54
In the weapon file, find and edit Flipkillicon setting to 1:
1522
buLLeT_
20th May 2018, 21:17
Not working :(
My 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);
Tally
20th May 2018, 22:11
Not working :(
My 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.
maxdamage99
21st May 2018, 12:15
flipKillIcon attribute work only for obituary
Tally
21st May 2018, 13:40
flipKillIcon attribute work only for obituary
Which is exactly what I just said above. So, thanks for repeating exactly what I just said. Such repetition is really valuable!
IzNoGoD
21st May 2018, 14:06
Which is exactly what I just said above. So, thanks for repeating exactly what I just said. Such repetition is really valuable!
You are aware that flipKillIcon only works for obituary right?
[/sarcasm]
maxdamage99
21st May 2018, 15:30
Which is exactly what I just said above. So, thanks for repeating exactly what I just said. Such repetition is really valuable!
i no read your post :o
p.s: sry for your butthurt :)
buLLeT_
23rd May 2018, 15:10
what to choose
1523
edit: problem with image ingame
1524
1525
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.