Results 1 to 9 of 9

Thread: [cod2] Shader

  1. #1
    Private
    Join Date
    Feb 2018
    Posts
    28
    Thanks
    12
    Thanked 17 Times in 16 Posts

    [cod2] Shader

    How to rotate shader image

    Click image for larger version. 

Name:	shot0000.jpg 
Views:	87 
Size:	28.2 KB 
ID:	1520


    to be like this

    Click image for larger version. 

Name:	shot0001.jpg 
Views:	84 
Size:	32.2 KB 
ID:	1521

  2. The Following User Says Thank You to buLLeT_ For This Useful Post:

    kubislav23 (20th May 2018)

  3. #2
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    In the weapon file, find and edit Flipkillicon setting to 1:

    Click image for larger version. 

Name:	flipkillicon.png 
Views:	72 
Size:	16.4 KB 
ID:	1522

  4. The Following 2 Users Say Thank You to Tally For This Useful Post:

    buLLeT_ (20th May 2018),kung foo man (20th May 2018)

  5. #3
    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); 

  6. #4
    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.

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

    kung foo man (22nd May 2018)

  8. #5
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    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

  9. The Following User Says Thank You to maxdamage99 For This Useful Post:

    kubislav23 (21st May 2018)

  10. #6
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by maxdamage99 View Post
    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!

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

    kubislav23 (21st May 2018)

  12. #7
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by Tally View Post
    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]
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  13. #8
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Quote Originally Posted by Tally View Post
    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

    p.s: sry for your butthurt
    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

  14. The Following User Says Thank You to maxdamage99 For This Useful Post:

    kubislav23 (21st May 2018)

  15. #9
    Private
    Join Date
    Feb 2018
    Posts
    28
    Thanks
    12
    Thanked 17 Times in 16 Posts
    what to choose

    Click image for larger version. 

Name:	texture.png 
Views:	32 
Size:	183.2 KB 
ID:	1523


    edit: problem with image ingame


    Click image for larger version. 

Name:	shot0003.jpg 
Views:	27 
Size:	380.1 KB 
ID:	1524

    Click image for larger version. 

Name:	neradi.png 
Views:	27 
Size:	9.8 KB 
ID:	1525
    Last edited by buLLeT_; 23rd May 2018 at 19:57.

  16. The Following User Says Thank You to buLLeT_ For This Useful Post:

    kubislav23 (23rd 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
  •