http://developer.valvesoftware.com/wiki/$origin
Just remeber to decompile with dont fix animations checked (applies mainly to viewmodels). And you'll probably need to add
Code: Select all
$origin 0 5 0 -90
I was going to write some tutorials for getting hl2 rigged weapons into scripted weapons for oc, I've learn't alot about modifying weapons just with qc commands and hexeditor work (for those that want to contribute more but cant model, like myself).
Edit: best way to check if weapon is same position as original, is by how they are positioned in HLMV or when you center screen on the model.