TheWhitePhoenix Posted July 7, 2016 Share Posted July 7, 2016 I'm on vacation currently with family, but I've got enough time to come back to the old Hub and ask something. Is it possible to make shaders for a renamed model? Say you take @dark_apprentice's Unmasked Kylo Ren, but you rename the model file something like say "Dash Lightrider". The shaders no longer work, as they are linked to the model file by it's original name. Do I have to make new shaders entirely for the renamed model file, or can I transfer the original shaders after some tweaking? Link to comment
Ramikad Posted July 7, 2016 Share Posted July 7, 2016 I'm on vacation currently with family, but I've got enough time to come back to the old Hub and ask something. Is it possible to make shaders for a renamed model? Say you take @dark_apprentice's Unmasked Kylo Ren, but you rename the model file something like say "Dash Lightrider". The shaders no longer work, as they are linked to the model file by it's original name. Do I have to make new shaders entirely for the renamed model file, or can I transfer the original shaders after some tweaking? You could edit the .skin files of the new model so that they are set to the new model folder, but in that case you'd have to rewrite the shaders so that they also refer to the right folder. Alternatively you could keep the textures in the original folder, have the .skin files refer to those textures and thus eliminate the necessity to write more shader code. TheWhitePhoenix likes this Link to comment
TheWhitePhoenix Posted July 7, 2016 Author Share Posted July 7, 2016 You could edit the .skin files of the new model so that they are set to the new model folder, but in that case you'd have to rewrite the shaders so that they also refer to the right folder. Alternatively you could keep the textures in the original folder, have the .skin files refer to those textures and thus eliminate the necessity to write more shader code.So two choices, one harder one easier. Nice. If I wanted to rewrite the shaders, is that hard or is it moderate? Link to comment
Ruxith Posted July 7, 2016 Share Posted July 7, 2016 All you do is open the .SHADER file in notepad/notepad++ and change the file directory from "models/players/Kylo Ren/" to "models/players/Dash Lightrider/" for each instance that it appears in the file, and save to then re-add to the .PK3 file and save again. .SHADER files can be edited in the same way as .SKIN files to accomodate for the new folder name that you have put the skin files into. TheWhitePhoenix likes this Link to comment
Solution TheWhitePhoenix Posted July 7, 2016 Author Solution Share Posted July 7, 2016 All you do is open the .SHADER file in notepad/notepad++ and change the file directory from "models/players/Kylo Ren/" to "models/players/Dash Lightrider/" for each instance that it appears in the file, and save to then re-add to the .PK3 file and save again. .SHADER files can be edited in the same way as .SKIN files to accomodate for the new folder name that you have put the skin files into.I didn't know that! That's awesome, @@Ruxith! Thank you so much for telling me! When I get back from vacation, I'm gonna get to work on the shaders right away. Ruxith likes this Link to comment
Ruxith Posted July 8, 2016 Share Posted July 8, 2016 If you come into any problems let me know. TheWhitePhoenix likes this Link to comment
TheWhitePhoenix Posted July 8, 2016 Author Share Posted July 8, 2016 If you come into any problems let me know.Will do. Link to comment
TheWhitePhoenix Posted July 11, 2016 Author Share Posted July 11, 2016 If you come into any problems let me know.They work! Thank you so much, man! Ruxith likes this 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