Where can I get the "updated" "mdldec"???


-=JaCoBsOn=-
05-21-2003, 04:44 AM
I need that program to add the keyword "$texrendermode" in the qc-file to get rid of those blue areas instead if holes..!!!

And I have to use Milkshape's compiling program cause I can't, don't know why, use the latest "studiomdl"...:(

So I saw on "valve-erc.com" that Kratisto would release a new mdldec program to support that keyword, but I don't know a way to ask him... Does anyone know his e-mail so I can pm him about that prog????:confused:

Flammenwerfer
05-21-2003, 05:35 AM
just open up the .qc file in notepad and add the line manually

05-21-2003, 05:48 AM
mdldec.exe = decompiler
studiomdl.exe = compiler <--- this is what you need, there's 2, one with the transparency support and one that supports compiling the new player models, use the search function.

-=JaCoBsOn=-
05-21-2003, 07:34 AM
Originally posted by Selbstmord
mdldec.exe = decompiler
studiomdl.exe = compiler <--- this is what you need, there's 2, one with the transparency support and one that supports compiling the new player models, use the search function. Well I downloaded the "studiomdl.exe" from "valve-erc.com", but when I drag the qc-file I've decompiled, studiomdl.exe just quits and nothing has been done... :(.
I'm talking about weapon models... So, where's the newest "mdldec.exe"??? Couldn't find i with search function..:confused:

05-21-2003, 08:13 AM
you don't understand, mdldec is for decompiling, studiomdl is for compiling, you don't read instructions, do you?

there are 3 lines in the top of the .qc file you need to fill in.

$modelname "YOUR DIRECTORY HERE\v_mp40.mdl"
$cd "YOUR DIRECTORY HERE\"
$cdtexture "YOUR DIRECTORY HERE\"

where YOUR DIRECTORY HERE is the folder where all the files are in (textures, smds etc)

-=JaCoBsOn=-
05-21-2003, 09:13 AM
Originally posted by Selbstmord
you don't understand, mdldec is for decompiling, studiomdl is for compiling, you don't read instructions, do you?

there are 3 lines in the top of the .qc file you need to fill in.

$modelname "YOUR DIRECTORY HERE\v_mp40.mdl"
$cd "YOUR DIRECTORY HERE\"
$cdtexture "YOUR DIRECTORY HERE\"

where YOUR DIRECTORY HERE is the folder where all the files are in (textures, smds etc) hah! tror du jag är dum eller?!!! whoops :D

Aint' working that either... :(

:edit:. whoops, sry but I did not include the ( " ) signs... :(
But NOW IT WORKS... thx :)

-=JaCoBsOn=-
05-22-2003, 02:44 AM
When I drag the weaponmodel into the "studiomdl.exe", it compiles, but I don't have any new "v_model.mdl" showing up. Wtf went wrong now!!!. AAARGH, this is really getting on my nerves!:mad:

-=JaCoBsOn=-
05-22-2003, 02:48 AM
This just shows up...

05-22-2003, 04:05 AM
^you don't have the NEW studiomdl.exe

-=JaCoBsOn=-
05-22-2003, 05:19 AM
Originally posted by Selbstmord
^you don't have the NEW studiomdl.exe I use the one PIU posten in a sticky... What are you supposing i should use then?

Devin Kryss
05-22-2003, 06:40 AM
Apparently its been compiled as v_sten.mdl, so open it nd check it, it should look new.

-=JaCoBsOn=-
05-22-2003, 10:10 AM
Originally posted by Devin Kryss
Apparently its been compiled as v_sten.mdl, so open it nd check it, it should look new. What are you talking about? There is NO v_model.mdl file made... Only the qc-file is named "v_sten.qc".. :(
What's "studiomdl.exe's" problem!!! Why doesn't it create a new v_model???

Zao
05-22-2003, 11:35 AM
Hmmm... Looks like it's not finishing compiling. When I go through the same route, after the last line your comman promt is showing, I have about ten more lines of functions that it has completed. My connection is too crappy to upload a pic, but after it's all done, it lists a line for total amount of bytes compiled. You don't have that. The version of studiomdl I have is compiling weapons and such, but refuses to do transparencies. I've tried everything with the pallette including using reds and blues, setting the last five colors in the pallette as the desired masked color, re-painting the areas to be masked and nothing is working. Maybe someone can tell me exactly where in the .qc the lines for the masked .bmp's are supposed to go? Right now I have them here:

$modelname "v_enfield_scoped.mdl"
$cd "d:\program files\studio"
$cdtexture "d:\program files\studio"
$texrendermode "skin3_test.bmp" "masked"
$texrendermode "skin4_test.bmp" "masked"
$texrendermode "skin5_test.bmp" "masked"
$scale 1.0

Someone please help, this is driving me nuts. Anders, I don't know what to tell you other than to maybe try downloading the bigger version of studiomdl?

05-22-2003, 09:12 PM
Originally posted by Zao
Hmmm... Looks like it's not finishing compiling. When I go through the same route, after the last line your comman promt is showing, I have about ten more lines of functions that it has completed. My connection is too crappy to upload a pic, but after it's all done, it lists a line for total amount of bytes compiled. You don't have that. The version of studiomdl I have is compiling weapons and such, but refuses to do transparencies. I've tried everything with the pallette including using reds and blues, setting the last five colors in the pallette as the desired masked color, re-painting the areas to be masked and nothing is working. Maybe someone can tell me exactly where in the .qc the lines for the masked .bmp's are supposed to go? Right now I have them here:

$modelname "v_enfield_scoped.mdl"
$cd "d:\program files\studio"
$cdtexture "d:\program files\studio"
$texrendermode "skin3_test.bmp" "masked"
$texrendermode "skin4_test.bmp" "masked"
$texrendermode "skin5_test.bmp" "masked"
$scale 1.0

Someone please help, this is driving me nuts. Anders, I don't know what to tell you other than to maybe try downloading the bigger version of studiomdl?

That's one thing that drived me totally nuts whenever i encountered it with sprite making, and now model compiling.

Make ONLY the last color in the palette the desired transparent color. Then, make sure the transparent areas are using the correct index. To find that out, in Paint Shop Pro, use the dropper tool and go over your transparent colors and look on the right side. It'll have R, G, B, and I. After I there should be a 255. That's the index number in the palette of the color it's using. Get that to be 255 and you're set.

This has driven me totally nuts because I've forgotten about it a few times.

-=JaCoBsOn=-
05-23-2003, 03:17 AM
Originally posted by Zao
Anders, I don't know what to tell you other than to maybe try downloading the bigger version of studiomdl?
You know my name? :p Oh well, I think the bigger version of studiomdl is the one at PIU's tutorial???

But I thought it was the program that decompile the model wich made the "blue holes"... :confused:

Zao
05-24-2003, 10:06 PM
Originally posted by -=JaCoBsOn=-
You know my name? :p Oh well, I think the bigger version of studiomdl is the one at PIU's tutorial???

But I thought it was the program that decompile the model wich made the "blue holes"... :confused:

I just remember that's the forum name you registered under on the old boards, and you do tend to post things with you name in them, lol. Um, the decompiler doesn't have anything to do with the blue holes unless they were already skinned there when you decompiled the model. The bigger version is the one included in the locked sticky up above, and so far, I haven't gotten your advice to work, bittles. I just might be too stupid to do it :)

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.