xMoDy Posted December 3, 2020 Share Posted December 3, 2020 I only have a question if I can change the player is Aim and thx Link to comment
Administrators Tut Posted December 3, 2020 Administrators Share Posted December 3, 2020 Thread moved to the Scripting section. The Scripting Tutorials section is only for tutorials aimed to give guidance on a subject. Link to comment
Erlkonig Posted December 3, 2020 Share Posted December 3, 2020 What do you want exactly? To change the texture of aim? Link to comment
xMoDy Posted December 3, 2020 Author Share Posted December 3, 2020 8 hours ago, Erlkonig said: What do you want exactly? To change the texture of aim? yes Link to comment
Erlkonig Posted December 3, 2020 Share Posted December 3, 2020 texreplace.fx texture gTexture; technique simple { pass P0 { Texture[0] = gTexture; } } client side function() crosshair = dxCreateShader("texreplace.fx") engineApplyShaderToWorldTexture(crosshair, "siteM16") dxSetShaderValue(crosshair, "gTexture", dxCreateTexture('crosshair.png')) end Link to comment
xMoDy Posted December 3, 2020 Author Share Posted December 3, 2020 1 hour ago, Erlkonig said: texreplace.fx texture gTexture; technique simple { pass P0 { Texture[0] = gTexture; } } client side function() crosshair = dxCreateShader("texreplace.fx") engineApplyShaderToWorldTexture(crosshair, "siteM16") dxSetShaderValue(crosshair, "gTexture", dxCreateTexture('crosshair.png')) end thx 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