"Custom" Fizzler Model Issues
Quote from MetallicHero on January 7, 2015, 8:58 pmHey guys, I copied the fizzler_dynamic model and I've changed the .qc file to support 10 skins (up to fizzler_dynamic_skin009.) For some reason the textures aren't showing up on the model and I can only select 9 of the ten skins, skin009 is missing. I've placed all the textures in materials/phoenix/props/fizzler/ and the model is located in models/EP/. Does the model need to know where to find the textures, or is it just the textures find the model?
If anyone can help me with getting the 10th skin to work and the textures to show up, that would be greatly appreciated.
Hey guys, I copied the fizzler_dynamic model and I've changed the .qc file to support 10 skins (up to fizzler_dynamic_skin009.) For some reason the textures aren't showing up on the model and I can only select 9 of the ten skins, skin009 is missing. I've placed all the textures in materials/phoenix/props/fizzler/ and the model is located in models/EP/. Does the model need to know where to find the textures, or is it just the textures find the model?
If anyone can help me with getting the 10th skin to work and the textures to show up, that would be greatly appreciated.
Quote from josepezdj on January 8, 2015, 2:35 amYou should post your .QC file content. Also did you use Crowbar to decompile/recompile the fizzler_dynamic model?
MetallicHero wrote:Does the model need to know where to find the textures, or is it just the textures find the model?The model definitely needs to find its textures, but that should be no problem if you set their path into the .QC file correctly, and then placed the textures inside that path ofc.
You should post your .QC file content. Also did you use Crowbar to decompile/recompile the fizzler_dynamic model?
The model definitely needs to find its textures, but that should be no problem if you set their path into the .QC file correctly, and then placed the textures inside that path ofc.
Quote from Skotty on January 8, 2015, 10:29 amTo be more exact: The model needs to find its materials. Materials are VMT files. And they link to the textures.
To be more exact: The model needs to find its materials. Materials are VMT files. And they link to the textures.
Quote from MetallicHero on January 9, 2015, 8:06 amI tried again, this time looking into the directory in the .qc file. I've screwed that up now.
Hope someone can help me out.
I tried again, this time looking into the directory in the .qc file. I've screwed that up now.
Hope someone can help me out.
Quote from josepezdj on January 9, 2015, 1:40 pmWell, at a first glance you only added the file extension .VMT to the first 3 materials, the rest weren't well defined.
Try the attached file instead.
Well, at a first glance you only added the file extension .VMT to the first 3 materials, the rest weren't well defined.
Try the attached file instead.
Quote from MetallicHero on January 9, 2015, 7:54 pmThank you for the fixed file, but I'm having compile issues. Crowbar says there's 1 leak found in the QC. I'm comparing the modified to the original QC, but I haven't found any differences (besides the changed names.)
- Code: Select all
// Created by Crowbar 0.24.0.0
Compiling...
qdir: "c:usersdanieldesktop"
gamedir: "C:Program Files (x86)Steamsteamappscommonportal 2portal2"
g_path: "fizzler_dynamic_hlmv.qc"
Building binary model files...
Working on "fizzler_dynamic_hlmv.qc"
ERROR: c:usersdanieldesktopfizzler_dynamic_hlmv.qc(7): - could not load file 'fizzler_dynamic2_reference.smd'
ERROR: Aborted Processing on 'for_model_viewerfizzler_dynamic2.mdl'
WARNING: Leaking 1 elements
CDynamicFunction: Loading library 'Kernel32.dll' (76420000)
CDynamicFunction: Lookup of 'TryEnterCriticalSection' in 'Kernel32.dll': 771E2540
CDynamicFunction: Closing library 'Kernel32.dll' (76420000)...Compiling finished. Check above for any errors.
Thank you for the fixed file, but I'm having compile issues. Crowbar says there's 1 leak found in the QC. I'm comparing the modified to the original QC, but I haven't found any differences (besides the changed names.)
- Code: Select all
// Created by Crowbar 0.24.0.0
Compiling...
qdir: "c:usersdanieldesktop"
gamedir: "C:Program Files (x86)Steamsteamappscommonportal 2portal2"
g_path: "fizzler_dynamic_hlmv.qc"
Building binary model files...
Working on "fizzler_dynamic_hlmv.qc"
ERROR: c:usersdanieldesktopfizzler_dynamic_hlmv.qc(7): - could not load file 'fizzler_dynamic2_reference.smd'
ERROR: Aborted Processing on 'for_model_viewerfizzler_dynamic2.mdl'
WARNING: Leaking 1 elements
CDynamicFunction: Loading library 'Kernel32.dll' (76420000)
CDynamicFunction: Lookup of 'TryEnterCriticalSection' in 'Kernel32.dll': 771E2540
CDynamicFunction: Closing library 'Kernel32.dll' (76420000)...Compiling finished. Check above for any errors.
Quote from josepezdj on January 10, 2015, 5:08 amIt seems that it can't find the file 'fizzler_dynamic2_reference.smd', and what's that file? you should not need to modify any of the decompiled files except the .QC file. And you need the rest of files in the SAME folder than the .QC file when compiling the model. Check for these files:
Anyways, I've done a test and it works as it should.
Check out the attached files:
fizzler_dynamic_model.7zYou should only need to add now the lacking 7 .VTF files to the folder /materials/models/phoenix/fizzler and you're done.
It seems that it can't find the file 'fizzler_dynamic2_reference.smd', and what's that file? you should not need to modify any of the decompiled files except the .QC file. And you need the rest of files in the SAME folder than the .QC file when compiling the model. Check for these files:
Anyways, I've done a test and it works as it should.
Check out the attached files:
You should only need to add now the lacking 7 .VTF files to the folder /materials/models/phoenix/fizzler and you're done.
Quote from MetallicHero on January 10, 2015, 3:36 pmFirst off, I want to go ahead and thank josepezdj for helping me get this far. The model is working but I'm now having issues with the textures. They're stored in /materials/models/phoenix/fizzler/ like you said, but they're still not showing up. I'm looking on the VDC to see if there's anything in the VMT that I'm missing.
- Code: Select all
VertexLitGeneric
{
$basetexture "materials/models/phoenix/fizzler/fizzler_skin002"
$selfillum 1
$bumpmap "modelspropsmetal_box_normal"
$phong 1
$model 1$phongboost 4
$phongfresnelranges "[1 1.5 2]"
}
First off, I want to go ahead and thank josepezdj for helping me get this far. The model is working but I'm now having issues with the textures. They're stored in /materials/models/phoenix/fizzler/ like you said, but they're still not showing up. I'm looking on the VDC to see if there's anything in the VMT that I'm missing.
- Code: Select all
VertexLitGeneric
{
$basetexture "materials/models/phoenix/fizzler/fizzler_skin002"
$selfillum 1
$bumpmap "modelspropsmetal_box_normal"
$phong 1
$model 1$phongboost 4
$phongfresnelranges "[1 1.5 2]"
}
Quote from josepezdj on January 10, 2015, 4:09 pmI don't know either, mine is working ok, I've copied the skin002 over and over to make the rest skins and all of them are showing up correctly:
Therefore the materials (.VMTs) are all ok.
You have surely changed something more.....
I don't know either, mine is working ok, I've copied the skin002 over and over to make the rest skins and all of them are showing up correctly:
Therefore the materials (.VMTs) are all ok.
You have surely changed something more.....
Quote from CamBen on January 10, 2015, 4:29 pmMetallicHero wrote:First off, I want to go ahead and thank josepezdj for helping me get this far. The model is working but I'm now having issues with the textures. They're stored in /materials/models/phoenix/fizzler/ like you said, but they're still not showing up. I'm looking on the VDC to see if there's anything in the VMT that I'm missing.
- Code: Select all
VertexLitGeneric
{
$basetexture "materials/models/phoenix/fizzler/fizzler_skin002"
$selfillum 1
$bumpmap "modelspropsmetal_box_normal"
$phong 1
$model 1$phongboost 4
$phongfresnelranges "[1 1.5 2]"
}I think you need to change "materials/models/Phoenix..."
To this:
"Models/Phoenix..."I'm pretty sure the materials folder can be omitted, cause the engine already knows that those are materials.
- Code: Select all
VertexLitGeneric
{
$basetexture "materials/models/phoenix/fizzler/fizzler_skin002"
$selfillum 1
$bumpmap "modelspropsmetal_box_normal"
$phong 1
$model 1$phongboost 4
$phongfresnelranges "[1 1.5 2]"
}
I think you need to change "materials/models/Phoenix..."
To this:
"Models/Phoenix..."
I'm pretty sure the materials folder can be omitted, cause the engine already knows that those are materials.
Aperture Science: We do our science asbestos we can!