Adjusting Where the Weapon Points (1.3)


Wilson [29th ID]
06-15-2006, 02:36 AM
Hello gents,

I'm trying to adjust where a weapon model points in DoD 1.3
Using an already compiled, downloaded skin, or even the ones that come with DoD.

To make a very long story short, I'm trying to get iron sights but make them compatible with cl_bobcycle 0, which as you know offsets the crosshair a little to the left.

I'll be removing the crosshair but the weapon model will still be pointing a little to the right of where the bullet will actually go - how can I make the weapon model point slightly to the left, or move the whole model slightly to the left?

I've looked around the .qc file and can't seem to find the answer.

Thank you.

Trp. Jed
06-15-2006, 05:14 AM
http://homepage.ntlworld.com/scitzo/hlmvtut.htm

That should explain it.

Wilson [29th ID]
06-15-2006, 06:03 AM
Thank you for your prompt reply, but this web site was actually my starting point. The model origins simply do not allow you to move the weapon (up, down, left, or right)

Moving the weapon is necessary to adjust for the cl_bobcycle crosshair offset that DoD creates in error.

I've tried just about everything to that .qc file and nothing seems to allow me to move the model up, down, left, or right (as a whole)

Sproily
06-15-2006, 09:41 AM
add a line in the qc


$origin X.XXX X.XXX X.XXX
X Y Z


Dont add the X Y Z, they were there just to show you that the first numbers are X, second Y and third Z.

This, moves the weapon (+ hands = the whole view model) in the wanted direction.

Deceiver
06-15-2006, 09:52 AM
Is there a way to re-adjust the origins for the weapons in dods? They look very stubby in-game. When you look at them in the model viewer they look perfectly fine, but the way they are rendered in-game makes them look short.

skdr
06-15-2006, 10:37 AM
I'm sure you can change the weapon model view fov somehow in Source based games.

Wilson [29th ID]
06-18-2006, 11:26 PM
Thank you Sproily, but that was part of the tutorial above that I tried first - when you adjust the x y and z values it doesn't simply move the display of the model around it actually moves the rear of it around and changes the direction in which it points :(

What can i do to change the area of the screen the model displays on?

Wile E Coyote
06-18-2006, 11:51 PM
Originally posted by deceiver
Is there a way to re-adjust the origins for the weapons in dods? They look very stubby in-game. When you look at them in the model viewer they look perfectly fine, but the way they are rendered in-game makes them look short. Well this has been gone over time and again in this very forum, I'm lazy to find the thread but it's in here. I personally think you are nuts ( :D ) and that it now looks much MORE realistic, but I will explain anyway.

The world FOV is at the standard 90 deg. However, the first-person models are at 54 deg FOV. This is to prevent have to make perspective-corrected models. Here is what the models look like at 90 deg FOV:



They look like crap IMHO. I always hated the "hypodermic needle" guns of CS and early DOD. it looks like a crappy model instead of a real gun to me. But to each his/her own. I don't know how you would change the weapon FOV. At least now you know what causes it.

Guyver
06-19-2006, 01:14 AM
Yeah, I've seen a few Garands that look like that for 1.3 ..I don't think it looks good either.

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.