mg42 problems

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

Moderator: Moderators

Post Reply
maverick
Corporal
Posts: 32
Joined: Wed Aug 01, 2007 2:58 am

mg42 problems

Post by maverick »

hey again. i just put some mg42's in my map and whn i mount them i can spin 360 with them. how do i put a limit on the rotation of the mg42 so it can't go past a certain distance?
captainstupid
Lance Corporal
Posts: 16
Joined: Tue Aug 07, 2007 10:58 pm

Post by captainstupid »

hello try these values in the worldspwan, highlight the gun, not the stand and put this

key: maxyawoffset

value: 45


this should allow a spin of 45 degrees only, or u can play around with that value. hope this helps.
User avatar
NaotoKhan
Corporal
Posts: 45
Joined: Sat Jan 20, 2007 12:05 am
Location: South Carolina
Contact:

Post by NaotoKhan »

In the Program Files\MOHAATools folder (or wherever you installed Radiant) there is a folder called "docs" - in there you will find a lot of helpful documentation about Radiant. In one of the documents, "Game Objects Usage Doc.doc", there is actually a whole page about turrets, listing all the different keys and values you can use for turrets, including maxYawoffset. There are many other keys you might find interesting, though - you should check it out.
Image
Post Reply