I think I already mentioned this during the Alpha phase, but I am unsure if there was an anwser to this. SO I want to ask again:
Is it possible to get the current position and other properties like speed, acceleration and maybe the direction, in which the player is looking/driving? These kind of values would be very nice to create more advanced modes for TM environments, for example to have some kind of kollision detection or so.
As values like position and view direction are available in CSmPlayer, why not adding them to CTmPlayer, too?
[CTmPlayer] Current Position and Speed
Moderator: English Moderator
- w1lla
- Posts: 2287
- Joined: 15 Jun 2010, 11:09
- Manialink: maniaplanetblog
- Location: Netherlands
- Contact:
Re: [CTmPlayer] Current Position and Speed
in CTmModeEvent
There you can find the Distance droven by a car and the actual speed.
To achieve this you should read this:
http://forum.maniaplanet.com/viewtopic. ... 80#p137672
Its basic but works for Distance aswell. Problem is it only checks on CP passthrough or Finishline.
with kind regards,
w1lla
There you can find the Distance droven by a car and the actual speed.
To achieve this you should read this:
http://forum.maniaplanet.com/viewtopic. ... 80#p137672
Its basic but works for Distance aswell. Problem is it only checks on CP passthrough or Finishline.
with kind regards,
w1lla
TM² Info
SM Info
QM Info
OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
SM Info
QM Info
OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Re: [CTmPlayer] Current Position and Speed
Having this data only on events like Checkpoints, is not enough in my case. I rather need this data constantly to do some calculations during the whole race.
Anyway, thanks for your anwser
Anyway, thanks for your anwser

Who is online
Users browsing this forum: No registered users and 2 guests