Page 1 of 1

mg42 problems

Posted: Tue Aug 14, 2007 8:25 pm
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?

Posted: Tue Aug 14, 2007 8:34 pm
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.

Posted: Tue Aug 14, 2007 10:10 pm
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.