Alright hold on though
I think I found one of the problems lol I'll check if it fixes
[editline]08:10PM[/editline]
"VertexLitGeneric"
{
"$basetexture" "materials\models\weapons\v_models\knife\skin"
}
Should that be like this
"VertexLitGeneric"
{
"$basetexture" "materials\models\weapons\v_models\knife\skinvtf"
}
I keep getting this error in my console
Error Vertex File for 'weapons\knife.mdl' checksum 2105778857 should be -1322827735
Also I will
[editline]09:55PM[/editline]
[IMG]http://i36.tinypic.com/2n6ck6u.jpg[/IMG]
Somehow I managed this =)
Thats better at least it's visible ^^ and do what Omolong said he's right :)
[QUOTE=Silver Spirit;18374118]Thats better at least it's visible ^^ and do what Omolong said he's right :)[/QUOTE]
Well I ended up losing that and it didn't work =(
Wait a minute if that model worked like that I didn't have any textures connected to it so it has to be the textures is there a certain format and size I should reshape them to? Are there and other commands I can apply?
The format i'm not sure on it seems some things need different settings to others, but i'm not entirely sure in which cases you need which, but I generally use default settings in VTFEdit and my textures work fine. Size should be whatever the size it was when originally applied to the model. I'd wait on getting the texture to show before trying any other material settings :)
[QUOTE=Silver Spirit;18386938]The format i'm not sure on it seems some things need different settings to others, but i'm not entirely sure in which cases you need which, but I generally use default settings in VTFEdit and my textures work fine. Size should be whatever the size it was when originally applied to the model. I'd wait on getting the texture to show before trying any other material settings :)[/QUOTE]
I used the default settings and kept the size but wont I need to change the settings to get a way for it to show also should I just start over?
[QUOTE=Alphex;18387093]I used the default settings and kept the size but wont I need to change the settings to get a way for it to show also should I just start over?[/QUOTE]
Is it back to being invisible? if so try ticking the "no level of detail" and "no mipmaps" boxes, I found that to fix something the other day from being invisible, so maybe that will help. If it's pink and black squares the path in the VMT is incorrect not the texture.
[QUOTE=Silver Spirit;18387144]Is it back to being invisible? if so try ticking the "no level of detail" and "no mipmaps" boxes, I found that to fix something the other day from being invisible, so maybe that will help. If it's pink and black squares the path in the VMT is incorrect not the texture.[/QUOTE]
Nvm lemme try it.
[editline]06:48PM[/editline]
Didn't work =(
I got the purple and black squares back! :holy: I think my vmts are right can one of you check what I need to change?
[QUOTE=Alphex;18396419]I got the purple and black squares back! :holy: I think my vmts are right can one of you check what I need to change?[/QUOTE]
right, if its pink and black checks the VMT is not correct (at least normally that would be the case, sometimes it goes weird). Post them up how you have them now and the paths you have the textures in.
[QUOTE=Silver Spirit;18401880]right, if its pink and black checks the VMT is not correct (at least normally that would be the case, sometimes it goes weird). Post them up how you have them now and the paths you have the textures in.[/QUOTE]
Alright but one more thing I ported another v_model from the same game and it turned out perfectly =\
And I made a lua for it but it won't show up but it's called v_deagle which is the name of a css model so should I change the name or something?
Heres the example vmt for the knife
"VertexLitGeneric"
{
"$basetexture" "models/weapons/knife/hand"
"$cdmaterials" "models/weapons/knife/hand"
}
I have tried changing minor things with it but it still doesn't work =\
Remove the cdmaterials thing that doesn't need to be there. Are the VTF files in the garrysmod/garrysmod/materials/models/weapons/knife folder? (Also you don't need "" on the commands but doesn't matter if you do).
For the LUA make sure you have no spaces in the filename.
[QUOTE=Silver Spirit;18410237]Remove the cdmaterials thing that doesn't need to be there. Are the VTF files in the garrysmod/garrysmod/materials/models/weapons/knife folder? (Also you don't need "" on the commands but doesn't matter if you do).
For the LUA make sure you have no spaces in the filename.[/QUOTE]
It's named shared.lua =\ and I tried removing it but still nothing =(
Sorry, you need to Log In to post a reply to this thread.