Page 1 of 1
NEW MG42 QUESTION!!
Posted: Sun Apr 27, 2003 11:02 pm
by Hashmark13
ok i know how to make the mg42 from being able to spin all the way around but how do i keep make it so you cant look at the ceiling with it???
maxyawoffset makes it so you cant turn all the way around...
Posted: Mon Apr 28, 2003 12:00 am
by Sonsai
I'm not sure, but try making maxwayoffset 0
Posted: Mon Apr 28, 2003 6:01 am
by jv_map
key / value:
pitchCaps / -up down 0
Example:
pitchCaps / -40 40 0
Posted: Mon Apr 28, 2003 6:13 am
by Hashmark13
thx jv_map

Posted: Fri Jun 11, 2004 10:25 pm
by rjbriggsy
Hey peeps this is my first post on this forum, ive spawned an mg42 on a rooftop. I've got it with a maxyaw offset of 40 and a pitchCaps( 30 70 0 )
It all werks well but i have the mg42 facing the angle 360 but when i press E to use the gun it flips round 180 degrees so im now fireing in the opposite direction.
Any ideas?

Posted: Mon Jun 14, 2004 10:50 pm
by bdbodger
use yawCenter for the center point of the gun if it is suppose to be 360 use
$mg yawCenter 360
The sdk says it will use the direction it is spawned at as the default so if you spawn it from script the center will be 0
prefab
Posted: Mon Jun 14, 2004 10:55 pm
by tltrude
There is a prefab gun on Nemisis' site that is all set up (except it has fake bullets set).
http://users.1st.net/kimberly/Tutorial/prefabs.htm .
Posted: Mon Jun 14, 2004 11:28 pm
by rjbriggsy
Thnx guys, works a charm.
