Please or Register to create posts and topics.

"Custom" Fizzler Model Issues

Page 1 of 2Next

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.

You 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.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

To be more exact: The model needs to find its materials. Materials are VMT files. And they link to the textures.

I tried again, this time looking into the directory in the .qc file. I've screwed that up now. :notwant:
Hope someone can help me out.

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.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

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.

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:

Image

Anyways, I've done a test and it works as it should.

Check out the attached files:

fizzler_dynamic_model.7z

You should only need to add now the lacking 7 .VTF files to the folder /materials/models/phoenix/fizzler and you're done.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

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 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:

Image

Therefore the materials (.VMTs) are all ok.

You have surely changed something more.....

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
MetallicHero 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.

My YouTube Channel: https://www.youtube.com/user/Camben24
Aperture Science: We do our science asbestos we can!
Page 1 of 2Next