Raised This Month: $51 Target: $400
 12% 

Weapon skin replacement


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OneMore
Senior Member
Join Date: Feb 2019
Old 05-06-2022 , 10:06   Weapon skin replacement
Reply With Quote #1

Guys, please advise about skin replacements.
I have ready skin models which can replace AWP. But the idea of the skin is that it is a grenade launcher. So it has skin, world skin and projectile skin.

I set the weapon model in SDKHook_WeaponSwitchPost like
Code:
SetEntProp(PlayerModelIndex[client], Prop_Send, "m_nModelIndex", precached_model_index); // v_rpg.mdl
SetEntProp(weapon, Prop_Send, "m_nModelIndex", 0);
and world model
Code:
SetEntProp(iWorldModel, Prop_Send, "m_nModelIndex", precached_world_model_index);  //w_rpg.mdl
But I do not understand how to set the model to the projectile w_rpg_projectile.mdl
How to get a projectile for AWM if any...
OneMore is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode