Hello
I havent done any tutorial for a long time. Today @zxz0O0 asked me about a command I think I tried long time ago, is called: SetWeaponHudIconOverride.
What it does?:
It changes your primary or secondary equipment shader to something else.
How it works:
In "slot to affect" I have only found 2 to use: "primaryoffhand" and "secondaryoffhand". In shader put whatever (remember to precache it).
Examples (like in the image above):
EDIT: You can also do this with: "actionslot1" and the rest of actionslots.
Soon, MW2 will be named OMAW2. Thanks to @zxz0O0 for asking me about it.
I havent done any tutorial for a long time. Today @zxz0O0 asked me about a command I think I tried long time ago, is called: SetWeaponHudIconOverride.
What it does?:
It changes your primary or secondary equipment shader to something else.
How it works:
Code:
self SetWeaponHudIconOverride( "slot to affect", "shader" );
In "slot to affect" I have only found 2 to use: "primaryoffhand" and "secondaryoffhand". In shader put whatever (remember to precache it).
Examples (like in the image above):
Code:
self SetWeaponHudIconOverride( "primaryoffhand", "weapon_onemanarmy" ); //right
self SetWeaponHudIconOverride( "secondaryoffhand", "weapon_onemanarmy" ); //left
EDIT: You can also do this with: "actionslot1" and the rest of actionslots.
Code:
self SetWeaponHudIconOverride( "actionslot1", "weapon_onemanarmy" );
Soon, MW2 will be named OMAW2. Thanks to @zxz0O0 for asking me about it.