Units of Maniaplanet same as meters?

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
BigBang1112
Posts: 388
Joined: 20 Jul 2015, 12:44
Location: Czech Republic
Contact:

Units of Maniaplanet same as meters?

Post by BigBang1112 »

Hello everyone again, :clap:
Are the units of the game same as meters?
In MediaTracker for example, the position values are high at some places, similar to the real life length.
Or if not - Above the speed, there is a variable how many meters you traveled. It possible to read that in script?

Thanks for any answers.
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
User avatar
Dommy
Translator
Translator
Posts: 1866
Joined: 25 Aug 2011, 21:45
Location: Poland
Contact:

Re: Units of Maniaplanet same as meters?

Post by Dommy »

Position, block units, velocities and measurement of all other things in world are in metres.

Player speed in both TM and SM is in metres per second, however TM displays speed in km/h.

Distance in TM is nothing else than...

Code: Select all

Real CTmMlPlayer::Distance
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT

Contact me via GALAXY & PURSUIT DISCORD
User avatar
BigBang1112
Posts: 388
Joined: 20 Jul 2015, 12:44
Location: Czech Republic
Contact:

Re: Units of Maniaplanet same as meters?

Post by BigBang1112 »

LOL I'm blind or something.
Thanks!
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 2 guests