Problem With Custom Model (Solved)
Quote from LuckyRJ on September 9, 2013, 1:45 amHi 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.vvdportal 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.vtfI 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
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

Quote from josepezdj on September 9, 2013, 2:52 amHmmm.... 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?
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?
Quote from LuckyRJ on September 9, 2013, 3:13 amjosepezdj 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
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

Quote from josepezdj on September 9, 2013, 4:12 amI 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...
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...
Quote from LuckyRJ on September 9, 2013, 4:26 amjosepezdj 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
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


Quote from LuckyRJ on September 9, 2013, 5:31 amjosepezdj wrote:Got it. Let me arrive home and try itok 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
i will edit and remove the link now
thanks again

ok thanks, i will edit and remove the link now,
yes i forgot about pm
i will edit and remove the link now
thanks again
Quote from Skotty on September 9, 2013, 7:06 amThis 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 issueTotally 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.vvdThe 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.
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.

Totally wrong. This model already has one. And just changing an existing file to that can't work.
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.
Quote from LuckyRJ on September 9, 2013, 7:17 amSkotty 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 issueTotally 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.vvdThe 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

Totally wrong. This model already has one. And just changing an existing file to that can't work.
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