Kualan Posted September 18, 2015 Posted September 18, 2015 Hi folks, I've been tinkering with some custom vehicles this evening, and have managed to successfully get them working in-game. However for some odd reason the .glm appears untextured (all white) in Modview despite appearing fully textured in-game itself. Ideally I want to be able to play around with the skin and stuff in Modview, so I was wondering if anyone knows of any texture-related restrictions that Modview has that might explain why the model is appearing completely white in that program despite having no issues in the game itself? Thanks in advance,Kualan
JAWSFreelao Posted September 18, 2015 Posted September 18, 2015 Have you tried turning on the Alpha blend? Random thought but still possible.Just out of curiosity.. What vehicle?
mrwonko Posted September 18, 2015 Posted September 18, 2015 Are you using shaders whose names differ from the texture names? ModView will only look for loose textures, it doesn't load shaders. It also needs to be able to figure out the base path from the model's location. Tempust85 likes this
Kualan Posted September 18, 2015 Author Posted September 18, 2015 Are you using shaders whose names differ from the texture names? ModView will only look for loose textures, it doesn't load shaders. It also needs to be able to figure out the base path from the model's location.Haven't made any shaders for the vehicle yet so can't be that. The folder path and .skin file is all set up correctly as well (base/models/players/[model]) and I've triple- and quadruple-checked to make sure I've not made some stupid typo or anything. It's worth noting that I get no error message when loading the .glm in ModView, as is the case when a mistake has been made with the folder paths or .skin file set up. It loads up right away just all white (similar to when one uses the 'force all surfaces white' option) yet is completely textured in-game which makes me wonder if this is some other limitation Modview has about loading certain files. I've tried converting the texture file into .png, .tga and .jpg respectively and that doesn't seem to have made a difference. Perhaps I've missed something Blender-side that might contribute to this?
mrwonko Posted September 18, 2015 Posted September 18, 2015 Not that I know of, could you share the files?
Kualan Posted September 18, 2015 Author Posted September 18, 2015 Sure, I'll PM you. I'll include the .npc and .veh files too, so you can see that it works in-game. The driver tags are off-balance since I haven't bothered to adjust them yet until I got the Modview thing fixed.
Solution mrwonko Posted September 18, 2015 Solution Posted September 18, 2015 ModView appears to have trouble with upper case letters in mesh names. Renaming the surfaces did the trick. I did not know that. Langerd and Kualan like this
Kualan Posted September 18, 2015 Author Posted September 18, 2015 ModView appears to have trouble with upper case letters in mesh names. Renaming the surfaces did the trick. I did not know that.I'm face palming so hard right now. I actually knew that from helping a modder last year and completely forgot. I'll do that as soon as I get home from work. Thanks a lot @@mrwonko . You're a champion. Langerd likes this
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