makin reorigined weapons


logical
09-06-2003, 08:56 PM
alright im using jeds versionof model viewer, i can get it to where i want it to be, but when i save the weapon and try ingame the origins are same as before, i just click save model as, do i have to decompile the recompile the model for it to work??

strider_d_3000
09-06-2003, 09:29 PM
after you decompile open your qc file and add $origin and then the 3 origin numbers

PedroTheLion
09-07-2003, 09:15 AM
like he said, you've got to decompile the model fist (included in Jeds latest version of hlmv) then edit the qc file. where you see $scale 1.0, go down two lines and add $origin X X X where X are the coordinates you want for it. Here's an example of my shouldered garand qc:

$modelname "v_garand.mdl"
$cd ".\"
$cdtexture ".\"
$scale 1.0

$origin -3 -2 -2.5

There's more to the qc file than that, but for reoriging, thats the only part you need to worry about. And if you haven't done this before, you need to open up the qc file in notepad. After you're done with that, simply compile the model and replace the .mdl file that you had been using, with the one that was created upon compiling. Hope that helps.

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.