NEW MG42 QUESTION!!

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Hashmark13
Major
Posts: 299
Joined: Mon Nov 25, 2002 12:20 am
Location: USA

NEW MG42 QUESTION!!

Post 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...
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
User avatar
Sonsai
Colonel
Posts: 438
Joined: Mon Feb 17, 2003 1:40 pm
Location: Wisconsin
Contact:

Post by Sonsai »

I'm not sure, but try making maxwayoffset 0
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

key / value:

pitchCaps / -up down 0

Example:

pitchCaps / -40 40 0
Image
Hashmark13
Major
Posts: 299
Joined: Mon Nov 25, 2002 12:20 am
Location: USA

Post by Hashmark13 »

thx jv_map :D
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
rjbriggsy
Private
Posts: 2
Joined: Fri Jun 11, 2004 10:20 pm
Location: England
Contact:

Post 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? :)
Who Dares Wins
I Dare, Do You?
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post 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
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

prefab

Post 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 .
Tom Trude,

Image
rjbriggsy
Private
Posts: 2
Joined: Fri Jun 11, 2004 10:20 pm
Location: England
Contact:

Post by rjbriggsy »

Thnx guys, works a charm. :lol:
Who Dares Wins
I Dare, Do You?
Post Reply