Please or Register to create posts and topics.

Problem With Custom Model (Solved)

Page 1 of 2Next

Hi all,

I started a new map a few days ago, I am going to be using custom textures and models.

The problem is a elevator door model my friend gave me is basically making my game crash, I tried a lot of things.

Lpfreaky90 said try making a dx90.vtx version, which half worked the model shown up, but then came the crash issue :(

My game crashes when I try and use the dx90.vtx version and when I use the original file the sw.vtx - the model is invisible in hammer and in game - but when I use the dx90.vtx my game crashes and the model shows up in hammer - so a catch 22 situation :(.

portal 2/portal 2/models/props_lab

elevatordoor.mdl
elevatordoor.sw.vtx (changed to dx90.vtx)
elevatordoor.phy
elevatordoor.vvd

portal 2/portal 2/materials/models/props_lab (reason these need props_lab folder is because inside the vmt file it is this code)

Code: Select all
"VertexLitGeneric"
{
   "$baseTexture" "Models/props_lab/elevatordoor_sheet"
}

elevatordoor_sheet.vmt
elevatordoor_sheet.vtf

I have tried everything, I cant work out what's wrong??

I also tried some different custom models and they work no problem, I am starting to think maybe this elevatordoor model is bugged in some way :(

if anyone has any idea what I can do I would appreciate it.

Thanks

LuckyRJ

Hmmm.... I can't find that model (nor into the portal2 folder pak01_dir.VPK or into dlc1 or dlc2)... Is it a Portal2 model? some sort of an update? Is it from other Source game?

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
josepezdj wrote:
Hmmm.... I can't find that model (nor into the portal2 folder pak01_dir.VPK or into dlc1 or dlc2)... Is it a Portal2 model? some sort of an update? Is it from other Source game?

It is a custom model, I think its from counter strike - but im not sure.

My friend had it working in his mod he is making for portal 2 I saw it working a long time ago, so i know it works.

Basically this model when the animation is playing it has 2 sides and they fold in on themselves the model is metal and is see-through

picture is attached to this post

any suggestions would be welcome on how to fix this problem with this dx90.vtx file :)

thanks again

I see. That model reminds me of another one from HL or Portal... I think I saw it in a custom map quite some time ago...

If you could post all the model files, I could try to decompile it and then recompile it for Portal2. The weird thing is that your friend can use it into P2 but not you...

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
josepezdj wrote:
I see. That model reminds me of another one from HL or Portal... I think I saw it in a custom map quite some time ago...

If you could post all the model files, I could try to decompile it and then recompile it for Portal2. The weird thing is that your friend can use it into P2 but not you...

ok, i shouldnt really do this maybe, but this is the link my friend gave me when he gave me the files, it is on drop box

EDITED: REMOVED LINK :)

i dont know how long this will stay here for though, so be quick

thanks soo much for your help.

cant wait to see if this works when you decompile it :) i will cross my fingers :)

Got it. Let me arrive home and try it ;)

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

You could have PMed it if you don't want people to steal it.

josepezdj wrote:
Got it. Let me arrive home and try it ;)

ok thanks, i will edit and remove the link now,

yishbarr wrote:
You could have PMed it if you don't want people to steal it.

yes i forgot about pm :P

i will edit and remove the link now

thanks again :)

This is a default model of Half-Life 2. And since Source is downwards compatible, you can just use that one from HL2 with all it's files.

LuckyRJ wrote:
Lpfreaky90 said try making a dx90.vtx version, which half worked the model shown up, but then came the crash issue :(

Totally wrong. This model already has one. And just changing an existing file to that can't work.

LuckyRJ wrote:
elevatordoor.mdl
elevatordoor.sw.vtx (changed to dx90.vtx)
elevatordoor.phy
elevatordoor.vvd

The problem: Your friend didn't send you all files of the model.

I attached a HL2-Elevatordoor.7z which includes all files. It must work.

Skotty wrote:
This is a default model of Half-Life 2. And since Source is downwards compatible, you can just use that one from HL2 with all it's files.

LuckyRJ wrote:
Lpfreaky90 said try making a dx90.vtx version, which half worked the model shown up, but then came the crash issue :(

Totally wrong. This model already has one. And just changing an existing file to that can't work.

LuckyRJ wrote:
elevatordoor.mdl
elevatordoor.sw.vtx (changed to dx90.vtx)
elevatordoor.phy
elevatordoor.vvd

The problem: Your friend didn't send you all files of the model.

I attached a HL2-Elevatordoor.7z which includes all files. It must work.

Awesome Skotty

Thanks soo much for your help,

Also thanks to josepezdj too :)

Also updated thread as (Solved)

LuckyRJ

Page 1 of 2Next