---------Problem was solved-----------
---------Problem was solved-----------
In fact, I changed two lines in the .qc file generated by the decompiler:
$cd "D:\Steam HL2 Tools\Compile\Projects\PrisonDoor"[
$modelname "props_hurry\door_prison_slide.mdl"
$model "Body" "prison_slidingdoor001a_reference.smd"
$lod 50
{
replacemodel "prison_slidingdoor001a_reference" "lod1_prison_slidingdoor001a_reference"
}
$lod 70
{
replacemodel "prison_slidingdoor001a_reference" "lod2_prison_slidingdoor001a_reference"
}
$lod 90
{
replacemodel "prison_slidingdoor001a_reference" "lod3_prison_slidingdoor001a_reference"
}
$lod 120
{
replacemodel "prison_slidingdoor001a_reference" "lod4_prison_slidingdoor001a_reference"
}
$cdmaterials "models\props_hurry\"
$hboxset "default"
$hbox 0 "static_prop" -3.888 -56.443 -59.382 4.580 56.443 59.382
// Model uses material "prison_objects004.vmt"
$surfaceprop "metal"
$illumposition 0.346 0.000 0.000
$sequence idle "idle" fps 30.00
$collisionmodel "phymodel.smd" {
$concave
$mass 1000.0
$inertia 1.00
$damping 0.00
$rotdamping 0.00
}
If I had to use your way you told me, I would have to place my VTF files in props_wasteland, what I don't want to do to organize well my directories. The reskin worked well, just the phys model was screwed up.
I give you a sheet of prison_slidingdoor001a_reference:
version 1
nodes
0 "static_prop" -1
end
skeleton
time 0
0 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
end
triangles
prison_objects004.bmp
0 0.216898 56.152901 48.875301 1.000000 0.000000 0.000000 0.938700 -0.118200 1 0 1.000000
0 0.216902 -56.443199 48.875301 1.000000 0.000000 0.000000 0.059000 -0.118200 1 0 1.000000
0 0.216898 53.829601 47.520000 1.000000 0.000000 0.000000 0.920500 -0.128800 1 0 1.000000
prison_objects004.bmp
0 0.216902 -56.443199 48.875301 1.000000 0.000000 0.000000 0.225400 -0.077100 1 0 1.000000
0 0.216902 -53.851200 -57.794998 1.000000 0.000000 0.000000 0.245700 -0.910500 1 0 1.000000
0 0.216902 -53.851200 47.520000 1.000000 0.000000 0.000000 0.245700 -0.087700 1 0 1.000000
prison_objects004.bmp
0 0.216902 -56.443199 48.875301 1.000000 0.000000 0.000000 0.225400 -0.077100 1 0 1.000000
0 0.216902 -56.443199 -59.382099 1.000000 0.000000 0.000000 0.225400 -0.922900 1 0 1.000000
0 0.216902 -53.851200 -57.794998 1.000000 0.000000 0.000000 0.245700 -0.910500 1 0 1.000000
prison_objects004.bmp
0 0.216902 -56.443199 -59.382099 0.000000 -1.000000 0.000000 0.237800 -0.913200 1 0 1.000000
0 0.216902 -56.443199 48.875301 0.000000 -1.000000 0.000000 0.237800 -0.067500 1 0 1.000000
0 -3.888198 -56.443199 48.875301 0.000000 -1.000000 0.000000 0.205700 -0.067500 1 0 1.000000
prison_objects004.bmp
0 -3.888198 -56.443199 48.875301 0.000000 -1.000000 0.000000 0.205700 -0.067500 1 0 1.000000
0 -3.888198 -56.443199 -59.382099 0.000000 -1.000000 0.000000 0.205700 -0.913200 1 0 1.000000
0 0.216902 -56.443199 -59.382099 0.000000 -1.000000 0.000000 0.237800 -0.913200 1 0 1.000000
prison_objects004.bmp
0 0.216902 -56.443199 48.875301 0.000000 0.000000 1.000000 0.448400 -0.942200 1 0 1.000000
0 0.216898 56.152901 48.875301 0.000000 0.000000 1.000000 0.448400 -0.062600 1 0 1.000000
0 -3.888202 56.152901 48.875301 0.000000 0.000000 1.000000 0.480500 -0.062600 1 0 1.000000
As you can see, it uses .bmp extension. I don't know if its a problem, anyway, the reskin was OK. I also tried with vtf. No problem.
This is a sheet of phymodel.smd:
version 1
nodes
0 "static_prop" -1
end
skeleton
time 0
0 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
end
triangles
phy.bmp
0 -3.316198 -55.791901 48.233398 0.0 0.0 0.0 1 0
0 -3.316202 55.808899 59.563400 0.0 0.0 0.0 1 0
0 -3.316198 -55.791901 59.563400 0.0 0.0 0.0 1 0
phy.bmp
0 -3.316202 55.808899 48.233398 0.0 0.0 0.0 1 0
0 -3.316202 55.808899 59.563400 0.0 0.0 0.0 1 0
0 -3.316198 -55.791901 48.233398 0.0 0.0 0.0 1 0
phy.bmp
0 -3.316202 55.808899 59.563400 0.0 0.0 0.0 1 0
0 1.311798 55.808899 59.563400 0.0 0.0 0.0 1 0
0 -3.316198 -55.791901 59.563400 0.0 0.0 0.0 1 0
phy.bmp
0 1.311798 55.808899 59.563400 0.0 0.0 0.0 1 0
0 1.311802 -55.791901 59.563400 0.0 0.0 0.0 1 0
0 -3.316198 -55.791901 59.563400 0.0 0.0 0.0 1 0
phy.bmp
0 -3.316202 55.808899 48.233398 0.0 0.0 0.0 1 0
0 1.311798 55.808899 48.233398 0.0 0.0 0.0 1 0
0 -3.316202 55.808899 59.563400 0.0 0.0 0.0 1 0
I even tried to decompile and recompile: Same problem.
I don't think that testing what you say will solve my problem, because its just an explanatiion of the how-to-change-textures...
Well, if you think what I think, the decompiler tool is wrong?
Do you know a decompiler that doesn't modify Phys model information?
>>>>>>>>>>>>>>>>
I am actually dealing with that on HL2CTF Forums, they game me some instructions with an hexadecimal editor...