tommymaster Posted August 7, 2018 Share Posted August 7, 2018 (edited) Hi, i want to have more than one TXD on weapon models, but if i import the TXD, i can only apply it to a weapon model. Can i apply it for example to a player's weapon? But not for all the same weapon, but only the player's? So i mean a player could have a colorful M4, but the others still have the default one if they did not buy a customization for it? Edited August 7, 2018 by tommymaster Link to comment
Dimos7 Posted August 7, 2018 Share Posted August 7, 2018 only with costum weapon yes shaders and image of the weapon you need and resource of bone attach as you need to make it fire when press fire etc amunation Link to comment
SycroX Posted August 7, 2018 Share Posted August 7, 2018 1 hour ago, Dimos7 said: only with costum weapon yes shaders and image of the weapon you need and resource of bone attach as you need to make it fire when press fire etc amunation no need for this all you have is to hide the real weapon's model by using : engineSetModelLODDistance and replace another world's objects with weapon models and attach it to the player's hand with bone_attach script and you will get a new weapon i've already created this resource so if you need any help mention me Link to comment
tommymaster Posted August 7, 2018 Author Share Posted August 7, 2018 (edited) 5 hours ago, #َxLysandeR said: no need for this all you have is to hide the real weapon's model by using : engineSetModelLODDistance and replace another world's objects with weapon models and attach it to the player's hand with bone_attach script and you will get a new weapon i've already created this resource so if you need any help mention me okay, but if i put a model into my player's hand instead of a custom weapon, how would it shoot? or create a custom weapon too, but somehow set the alpha to 0? and how can i make the player aim? Edited August 7, 2018 by tommymaster Link to comment
Dimos7 Posted August 7, 2018 Share Posted August 7, 2018 createWeapon dxCreateShader dxCreateTexture Link to comment
SycroX Posted August 8, 2018 Share Posted August 8, 2018 6 hours ago, tommymaster said: okay, but if i put a model into my player's hand instead of a custom weapon, how would it shoot? or create a custom weapon too, but somehow set the alpha to 0? and how can i make the player aim? you can set the alpha to 0 by using : engineSetModelLODDistance + all you have is to attach the model to the player's hand and then it will be a normal weapon ( aim , shoot etc..) + you can change weapon properties by using setWeaponProperty 1 Link to comment
tommymaster Posted August 9, 2018 Author Share Posted August 9, 2018 On 2018. 08. 08. at 05:17, #َxLysandeR said: you can set the alpha to 0 by using : engineSetModelLODDistance + all you have is to attach the model to the player's hand and then it will be a normal weapon ( aim , shoot etc..) + you can change weapon properties by using setWeaponProperty So: I create a custom weapon, and set it's alpha by engineSetModelLODDistance to 0, Replace a model and texture (for example a house) with the weapon model, and texture, and attach the model with replaced texture and model, to the player's hand? And can i disable its collision? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now