I know to make it so you accually see through the models sights or make the sights on the model pretty much in the center of the screen you have to edit the origins, but how do I get the origins of where I want it to go?
What line do I have to edit in the .qc? I thought I remembered seeing "$origins x x x" in the .qc once but I must just remember wrong, cause its not there.
<b>Q: How do I create ironsights, shoulder views, or other-wise reposition a v_model?</b> A: This is done by using $origin in your QC file at compile time. Place it near the top of your QC file, before the $sequences. FORMAT: <b>$origin X Y Z</b> <i>X is left/right.</i> Positive values move to the right. <i>Y is in/out.</i> Positive values move out, away from you. <i>Z is up/down.</i> Positive values move down.
Weapons decompiled with Milkshape's old tool should start with an origin of 0 -25 0, and tweak from there.
---
As Silverfish said - trial and error seems to be the way to go. On the plus side, when you've got one done, it should make coming up woth the values for the others easier.
Comments
<b><u>FAQ</b></u>
<b>Q: How do I create ironsights, shoulder views, or other-wise reposition a v_model?</b>
A: This is done by using $origin in your QC file at compile time. Place it near the top of your QC file, before the $sequences.
FORMAT: <b>$origin X Y Z</b>
<i>X is left/right.</i> Positive values move to the right.
<i>Y is in/out.</i> Positive values move out, away from you.
<i>Z is up/down.</i> Positive values move down.
Weapons decompiled with Milkshape's old tool should start with an origin of 0 -25 0, and tweak from there.
---
As Silverfish said - trial and error seems to be the way to go. On the plus side, when you've got one done, it should make coming up woth the values for the others easier.