I am unsure if this is the correct place to post this so please correct me if I am incorrect.
I have been having trouble porting goldsrc models to Source, I've been trying to get the model "hassault.mdl" (The assault grunt with a minigun) from HL1 into Garry's Mod (The one in half-life renaissance isn't the original IIRC) It was going fine and I could open up the model in HLMV no problem, then as soon as I converted and put the materials into the correct folder (I had set it to materials\assault) HLMV started crashing whenever I opened the model, even though it worked fine previously. Moving the textures away again fixes the issue but the model is untextured. I'm not sure what the problem is and request help.
tl;dr Model ported from goldsrc crashes when I put the materials in the correct directory.
could be a VMT issue
but Human Assault is ported already.
Its in Half-Life Source.
[QUOTE=uaredead2020;43389715]could be a VMT issue
but Human Assault is ported already.
Its in Half-Life Source.[/QUOTE]
I know it's already ported but I am using it to learn porting the models myself.
I'll check the VMTs.
[B]EDIT[/B]: This is the VMT for one of the materials:
[CODE]"LightmappedGeneric"
{
"$basetexture" "assault/v2arm"
}
[/CODE]
I'm not sure if it's correct, I assume it isn't because it's got so little in it. Please advise.
Is it possible the problem is it needs to be VertexLitGeneric?
should be VertexLitGeneric
[QUOTE=uaredead2020;43389742]should be VertexLitGeneric[/QUOTE]
I'll try changing them.
[B]EDIT:[/B]
Didn't work, HLMV still crashes when it opens the textured model.
[QUOTE=IntenseBarney;43389745]I'll try changing them.
[B]EDIT:[/B]
Didn't work, HLMV still crashes when it opens the textured model.[/QUOTE]
post .QC
$cdmaterials "models\assault\"
would be better, probably not the issue.
you would also have to change the location of the materials folder, instead of materials/assault/ it would be materials/models/assault/
[QUOTE=uaredead2020;43389826]$cdmaterials "models\assault\"
would be better, probably not the issue.[/QUOTE]
yeah, It would be but I just had it as assault
for quickness and such.
[QUOTE=IntenseBarney;43389844]yeah, It would be but I just had it as assault
for quickness and such.[/QUOTE]
upload materials folder.
theres something wrong with the VTFs
[editline]2nd January 2014[/editline]
what did you use to convert the textures?
[QUOTE=uaredead2020;43389988]There's something wrong with the VTFs[/QUOTE]
Can you figure out what? I do not know what the problem could be.
[B]EDIT:[/B]
I used VTFEdit
uhhhh, then idk.
i installed the hl1s textures and it worked
installed one of the textures you converted, it crashed.
then i converted one my self and it worked.
[editline]2nd January 2014[/editline]
did you mess with any settings?
[QUOTE=uaredead2020;43390018]uhhhh, then idk.
i installed the hl1s textures and it worked
installed one of the textures you converted, it crashed.
then i converted one my self and it worked.
[editline]2nd January 2014[/editline]
did you mess with any settings?[/QUOTE]
I didn't edit any settings, I just imported the TGA and then saved it as a VTF.
they are .BMPs tho.
If you converted them as .TGA, then just convert the .BMPs
[QUOTE=uaredead2020;43390057]they are .BMPs tho.
If you converted them as .TGA, then just convert the .BMPs[/QUOTE]
I wish someone would program a batch converter to make VTFs and VMTs quickly.
I'll try that but is there a way I can make VTFEdit export a VertexLitGeneric VMT as opposed to LightmappedGeneric like it did before?
[B]EDIT:[/B]
Ok, After converting them from BMP to VTF it had a different effect: The model was invisible
After then making the materials into VertexLitGeneric HLMV crashes again. Damnit.
Sorry, you need to Log In to post a reply to this thread.