myGravity

myGravity

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14605
Joined: 17 Nov 2005, 02:43

myGravity

Post by Forboding Angel » 08 Oct 2018, 11:31

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?
0 x

sprunk
Posts: 84
Joined: 29 Jun 2015, 07:36

Re: myGravity

Post by sprunk » 08 Oct 2018, 11:54

Map gravity is defined in elmo/s² while weapon myGravity is defined in elmo/frame².
1 x

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10238
Joined: 24 Jan 2006, 21:12

Re: myGravity

Post by PicassoCT » 10 Oct 2018, 12:01

So it's (elmo/frame²) ×(1/framerate) for gravitas?
0 x

sprunk
Posts: 84
Joined: 29 Jun 2015, 07:36

Re: myGravity

Post by sprunk » 10 Oct 2018, 18:00

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².
1 x

Post Reply

Return to “Game Development”

cron