Page 1 of 1

myGravity

Posted: 08 Oct 2018, 11:31
by Forboding Angel
If a map has gravity set to 120 or 130, what is the equivalent in the mygravity tag?

myGravity = 1 and nothing will be able to shoot

So taking a guess at myGravity = 0.130 and it's less than map gravity 130. Can someone shed some light the correct translation from one to another?

Re: myGravity

Posted: 08 Oct 2018, 11:54
by sprunk
Map gravity is defined in elmo/s² while weapon myGravity is defined in elmo/frame².

Re: myGravity

Posted: 10 Oct 2018, 12:01
by PicassoCT
So it's (elmo/frame²) ×(1/framerate) for gravitas?

Re: myGravity

Posted: 10 Oct 2018, 18:00
by sprunk
1 s == 30 frame

elmo/s² == elmo/(30 frame)² == elmo/frame² / 900

For example, standard map gravity seems to be 120 elmo/s² which means the equivalent for weapons is 120/900 == 0.1333 elmo/frame².