Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some images do not work with SetShader
#1
Well, I do appreciate the help I am getting here people Smile

I have an issue with some images, for example,
if I were to precacheShader("cardicon_semtex"); and the SetShader("cardicon_semtex",100,100); it would show up as the default texture, the grid of aqua-green and brown squares. I have to use hud_us_semtex instead, and it is all pixellated and yuck looking.

This is the same for many other images,
waypoint_ammo (I have to use waypoint_ammo_friendly)
cardicon_claymore (I have to use weapon_claymore)

No alternate pics for these, with the exception of the extra low resolution ones that appear in the killfeed
cardicon_flare
weapon_cheytac_scope
weapon_fn2000_iron
and alot more.

here are a couple pics for you to see my pain. the alpha is meant to be like that, what you have selected in the inventory has an alpha of 1, otherwise, 0.25 i think.

What i mean by aqua-green and brown squares:
[Image: inventoryerror.png]

And, for an examplem, the crap looking icon (semtex one) i may have to resort to using:
[Image: semtexfailimage.png]

thanks
Reply

#2
Not all shader names refer to the .IWIs . For example i found in the game files specialty_sitrep but it took me a lot to find that to make it work i need to precache specialty_bombsquad. But here you are the names of the icons you mentioned:
Code:
precacheShader("weapon_fn2000");
precacheShader("weapon_cheytac");
precacheShader("equipment_flare");
precacheShader("equipment_semtex");
EDIT:if you need more just post here or PM me and ill try to find them Smile

[Image: sl62pk.png]
Reply

#3
(01-03-2012, 15:43)MuLtiHuN7eR Wrote: Not all shader names refer to the .IWIs . For example i found in the game files specialty_sitrep but it took me a lot to find that to make it work i need to precache specialty_bombsquad. But here you are the names of the icons you mentioned:
Code:
precacheShader("weapon_fn2000");
precacheShader("weapon_cheytac");
precacheShader("equipment_flare");
precacheShader("equipment_semtex");
EDIT:if you need more just post here or PM me and ill try to find them Smile

Thank you so much. there is only one more that is troubling me, the tactical insertion icon. cardicon_flare does now work. i have tried it with equipment_ but no luck :/
Reply

#4
(01-04-2012, 03:06)xplosiff Wrote:
(01-03-2012, 15:43)MuLtiHuN7eR Wrote: Not all shader names refer to the .IWIs . For example i found in the game files specialty_sitrep but it took me a lot to find that to make it work i need to precache specialty_bombsquad. But here you are the names of the icons you mentioned:
Code:
precacheShader("weapon_fn2000");
precacheShader("weapon_cheytac");
precacheShader("equipment_flare");
precacheShader("equipment_semtex");
EDIT:if you need more just post here or PM me and ill try to find them Smile

Thank you so much. there is only one more that is troubling me, the tactical insertion icon. cardicon_flare does now work. i have tried it with equipment_ but no luck :/

I think that the game uses the same icons for both equipment menu and the emblems because they look the same, but i may be wrong. I guess that sometimes cardicon_ works, sometimes equipment_
[Image: sl62pk.png]
Reply

#5
(01-04-2012, 11:28)MuLtiHuN7eR Wrote:
(01-04-2012, 03:06)xplosiff Wrote:
(01-03-2012, 15:43)MuLtiHuN7eR Wrote: Not all shader names refer to the .IWIs . For example i found in the game files specialty_sitrep but it took me a lot to find that to make it work i need to precache specialty_bombsquad. But here you are the names of the icons you mentioned:
Code:
precacheShader("weapon_fn2000");
precacheShader("weapon_cheytac");
precacheShader("equipment_flare");
precacheShader("equipment_semtex");
EDIT:if you need more just post here or PM me and ill try to find them Smile

Thank you so much. there is only one more that is troubling me, the tactical insertion icon. cardicon_flare does now work. i have tried it with equipment_ but no luck :/

I think that the game uses the same icons for both equipment menu and the emblems because they look the same, but i may be wrong. I guess that sometimes cardicon_ works, sometimes equipment_

i was wrong. equipment_flare did work, i must have mistyped it. thanks alot for your help Big Grin
Reply

#6
Weapons + Shaders + OMA

Code:
    level.weapons = [];
    level.weapons["name"][0] = "onemanarmy_mp";
    level.weapons["shader"][0] = "weapon_onemanarmy";
    level.weapons["name"][1] = "pp2000_mp";
    level.weapons["shader"][1] = "weapon_pp2000";
    level.weapons["name"][2] = "p90_mp";
    level.weapons["shader"][2] = "weapon_p90";
    level.weapons["name"][3] = "tmp_mp";
    level.weapons["shader"][3] = "weapon_tmp";
    level.weapons["name"][4] = "masada_mp";
    level.weapons["shader"][4] = "weapon_masada";
    level.weapons["name"][5] = "mp5k_mp";
    level.weapons["shader"][5] = "weapon_mp5k";
    level.weapons["name"][6] = "ump45_mp";
    level.weapons["shader"][6] = "weapon_ump45";
    level.weapons["name"][7] = "wa2000_mp";
    level.weapons["shader"][7] = "weapon_wa2000";
    level.weapons["name"][8] = "rpg_mp";
    level.weapons["shader"][8] = "weapon_rpg7";
    level.weapons["name"][9] = "ak47_mp";
    level.weapons["shader"][9] = "weapon_ak47";
    level.weapons["name"][10] = "barrett_mp";
    level.weapons["shader"][10] = "weapon_barrett50cal";
    level.weapons["name"][11] = "cheytac_mp";
    level.weapons["shader"][11] = "weapon_cheytac";
    level.weapons["name"][12] = "m1014_mp";
    level.weapons["shader"][12] = "weapon_m1014";
    level.weapons["name"][13] = "coltanaconda_mp";
    level.weapons["shader"][13] = "weapon_colt_anaconda";
    level.weapons["name"][14] = "deserteagle_mp";
    level.weapons["shader"][14] = "weapon_desert_eagle";
    level.weapons["name"][15] = "deserteaglegold_mp";
    level.weapons["shader"][15] = "weapon_desert_eagle_gold";
    level.weapons["name"][16] = "kriss_mp";
    level.weapons["shader"][16] = "weapon_kriss";
    level.weapons["name"][17] = "m16_mp";
    level.weapons["shader"][17] = "weapon_m16a4";
    level.weapons["name"][18] = "sa80_mp";
    level.weapons["shader"][18] = "weapon_sa80";
    level.weapons["name"][19] = "m240_mp";
    level.weapons["shader"][19] = "weapon_m240";
    level.weapons["name"][20] = "m4_mp";
    level.weapons["shader"][20] = "weapon_m4_short";
    level.weapons["name"][21] = "beretta_mp";
    level.weapons["shader"][21] = "weapon_m9beretta";
    level.weapons["name"][22] = "mg4_mp";
    level.weapons["shader"][22] = "weapon_mg4";
    level.weapons["name"][23] = "uzi_mp";
    level.weapons["shader"][23] = "weapon_mini_uzi";
    level.weapons["name"][24] = "ranger_mp";
    level.weapons["shader"][24] = "weapon_ranger";
    level.weapons["name"][25] = "striker_mp";
    level.weapons["shader"][25] = "weapon_striker";
    level.weapons["name"][26] = "rpd_mp";
    level.weapons["shader"][26] = "weapon_rpd";
    level.weapons["name"][27] = "usp_mp";
    level.weapons["shader"][27] = "weapon_usp_45";
    level.weapons["name"][28] = "fn2000_mp";
    level.weapons["shader"][28] = "weapon_fn2000";
    level.weapons["name"][29] = "famas_mp";
    level.weapons["shader"][29] = "weapon_famas";
    level.weapons["name"][30] = "glock_mp";
    level.weapons["shader"][30] = "weapon_glock";
    level.weapons["name"][31] = "fal_mp";
    level.weapons["shader"][31] = "weapon_fnfal";
    level.weapons["name"][32] = "scar_mp";
    level.weapons["shader"][32] = "weapon_scar_h";
    level.weapons["name"][33] = "tavor_mp";
    level.weapons["shader"][33] = "weapon_tavor";
    level.weapons["name"][34] = "javelin_mp";
    level.weapons["shader"][34] = "weapon_javelin";
    level.weapons["name"][35] = "at4_mp";
    level.weapons["shader"][35] = "weapon_at4";
    level.weapons["name"][36] = "riotshield_mp";
    level.weapons["shader"][36] = "weapon_riotshield";
    level.weapons["name"][37] = "aa12_mp";
    level.weapons["shader"][37] = "weapon_aa12";
    level.weapons["name"][38] = "model1887_mp";
    level.weapons["shader"][38] = "weapon_model1887";
    level.weapons["name"][39] = "beretta393_mp";
    level.weapons["shader"][39] = "weapon_beretta393";
    level.weapons["name"][40] = "stinger_mp";
    level.weapons["shader"][40] = "weapon_stinger";
    level.weapons["name"][41] = "m79_mp";
    level.weapons["shader"][41] = "weapon_m79";
    level.weapons["name"][42] = "aug_mp";
    level.weapons["shader"][42] = "weapon_aug";
    level.weapons["name"][43] = "spas12_mp";
    level.weapons["shader"][43] = "weapon_spas12";
Reply

#7
Q: what can you do with those "Weapons + Shaders"?
just to place images from the game on your screen?
Reply

#8
(01-05-2012, 12:09)GscGunner Wrote: Q: what can you do with those "Weapons + Shaders"?
just to place images from the game on your screen?

No, I put those there because I saw that they are looking for the weapon images that appear when you create a class. In the list, there are all the game weapon shaders(there are also many other ones from cod4, but I havent added them to the list)
Reply

#9
How's called this mod
Or give the link above to download
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Permissions DOESNT work Hallla 2 3,068 08-18-2013, 11:28
Last Post: hillbilly
  why permissions dont work. ? ExoGamer* 4 3,309 07-21-2013, 13:46
Last Post: X-Track
  Bunker Plugin Won't work OBJAY 4 4,516 06-03-2013, 15:48
Last Post: X-Track
  Help prefix doesnt work with shop koro35 2 2,901 05-18-2013, 10:51
Last Post: koro35
  Help Perks do not work (( x1412 6 4,421 04-06-2013, 18:09
Last Post: x1412
  liberation dont work? puistis 7 7,818 02-18-2013, 09:17
Last Post: JariZ
  Weapon dont work?? Erik The Born 3 2,866 02-05-2013, 19:53
Last Post: Yamato
  [Release] Names/Images of Zombie DLC weapons, maps, and gamemodes. JariZ 13 11,354 01-28-2013, 15:33
Last Post: JariZ
  private match maps won't work with mods! leereef 1 2,517 01-13-2013, 12:01
Last Post: surtek
  Help !giveammo Plugin doesnt work [solved] Hallla 3 3,576 12-29-2012, 20:53
Last Post: Hallla

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.