Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Browning Rotation https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=3150 |
Page 1 of 1 |
Author: | LandLord323 [ Mon Jul 09, 2007 12:04 am ] |
Post subject: | Browning Rotation |
Hi, I've been trying to change the rotation range of the stationary browning, but everytime I do, it just points almost striaght in the air and does 360 degree rotation... but will not change... for example, say the sky is 0 degree. It points to about 20 degrees and rotates there, I can not change it to point at like 90 degrees? Any ideas or help. |
Author: | Urglub [ Mon Jul 09, 2007 12:28 am ] |
Post subject: | Re: Browning Rotation |
Start with posting code. |
Author: | Zaitsef [ Mon Jul 09, 2007 11:05 am ] |
Post subject: | Re: Browning Rotation |
ObjectTemplate.setMinRotation 0/-30/0 ObjectTemplate.setMaxRotation 0/30/0 ObjectTemplate.setMaxSpeed 90/0/0 ObjectTemplate.setAcceleration 5000/0/0 ObjectTemplate.setInputToYaw c_PIMouseLookX ObjectTemplate.setMinRotation 0/-10/0 ObjectTemplate.setMaxRotation 0/45/0 ObjectTemplate.setMaxSpeed 0/90/0 ObjectTemplate.setAcceleration 0/-5000/0 ObjectTemplate.setInputToPitch c_PIMouseLookY adjust min/max values to change limits, or rem out settings to free spin red limits left right axis green limits up/down axis |
Author: | Why Two Kay [ Mon Jul 09, 2007 5:57 pm ] |
Post subject: | Re: Browning Rotation |
If you're doing it server-side you won't notice that it rotates more, but it does. This leads to glitches on how far rotated you are and how far your bullets go. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |