Results 1 to 9 of 9

Thread: [cod2] Shader

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private
    Join Date
    Feb 2018
    Posts
    28
    Thanks
    12
    Thanked 17 Times in 16 Posts
    Not working

    My code

    PHP Code:
    level.dweaponImage[num] = newHudElem();
    level.dweaponImage[num].580;
    level.dweaponImage[num].92;
    level.dweaponImage[num].horzAlign "fullscreen";
    level.dweaponImage[num].vertAlign "fullscreen";
    level.dweaponImage[numsetShader"gfx/icons/hud@thompson.tga" 3025 );
    level.dweaponImage[num].color = (235/255,10/255,10/255); 

  2. #2
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by buLLeT_ View Post
    Not working

    My code

    PHP Code:
    level.dweaponImage[num] = newHudElem();
    level.dweaponImage[num].580;
    level.dweaponImage[num].92;
    level.dweaponImage[num].horzAlign "fullscreen";
    level.dweaponImage[num].vertAlign "fullscreen";
    level.dweaponImage[numsetShader"gfx/icons/hud@thompson.tga" 3025 );
    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.

  3. The Following User Says Thank You to Tally For This Useful Post:

    kung foo man (22nd May 2018)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •