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: 14673
Joined: 17 Nov 2005, 02:43

myGravity

Post 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?
sprunk
Posts: 100
Joined: 29 Jun 2015, 07:36

Re: myGravity

Post by sprunk »

Map gravity is defined in elmo/s² while weapon myGravity is defined in elmo/frame².
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: myGravity

Post by PicassoCT »

So it's (elmo/frame²) ×(1/framerate) for gravitas?
sprunk
Posts: 100
Joined: 29 Jun 2015, 07:36

Re: myGravity

Post 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².
Post Reply

Return to “Game Development”