Home Private Messages Search
Logo Pothole Studios Gaming Network

Follow Pothole Studios Gaming Network on Google+

Home Forums Downloads Image Gallery User Map Gaming Multi Theft Auto Store Login Register
   Toggle Content Get Social!

   Toggle Content Main Menu
 Home Members options Social Search Web

   Toggle Content User Information

Welcome Anonymous

Nickname
Password

Membership:
Latest: RyanCooper
New Today: 0
New Yesterday: 0
Overall: 430

People Online:
Members: 0
Visitors: 6
Bots: 0
Staff: 0
Staff Online:

No staff members are online!

   Toggle Content Our Sponsors

   Toggle Content Donate to PS
Our Web space isn't cheap, so if you would like us to stay online, you could really help out by donating, hell even a few dollars, pounds, euros, yen, whatever currency, it will really help us out, so if you would like to donate, please, do so by clicking this link...


   Toggle Content Who is where
 Visitors:
1: ForumsPro
2: ForumsPro
3: ForumsPro
4: Bugtracker
5: Photo Gallery
6: ForumsPro

 

Bugtracker › MTA:SA 1.1 General Script issues › Speedo speed reading is incorrect

A message from our sponsors



Bug report details Status Type
Project Name: MTA:SA 1.1 General Script issues MTA:SA 1.1 General Script issues
Summary: Speedo speed reading is incorrect Speedo speed reading is incorrect Closed Server Issues
Submitted By Submitted By:
Task This bug report was promoted to a task
Date submitted: Monday, December 26, 2011 (15:53:27) Date submitted: Monday, December 26, 2011 (15:53:27)
Start Date: N/A Start Date: N/A
Finish Date: N/A Finish Date: N/A
Bug report description Bug report description:
Speedometer scale is incorrect. It needs to either be redesigned with a correct scale, or code tweaked.

The below image shows the real speed vs the speed reported in the speedo.


Turn comment notifications on


Bug Report Members
There are no members associated with this bug report.


Bug report comments
Submitted By: DazzaJay DazzaJay @ Tuesday, December 27, 2011 (11:41:17)
{ Description } we knew it would be slightly out, as 0 is at the position of 10, and 300 is at the point of 310, but that would only be out by a MAXIMUM of 10.

it should not be off by THAT much. benji coded in a debug when writing it, it puts out live values of the speedo to console, and they were close enough to correct. I don't know what you have outputting the speed there, but im pretty sure its not benji's debug code.
Submitted By: xMAR99 xMAR99 @ Tuesday, December 27, 2011 (13:10:18)
{ Description } Code is actually simple [taken off the wiki]

Quote::

speedx, speedy, speedz = getElementVelocity (getPedOccupiedVehicle(getPlayerFromName ( "[PS]MAR" ) ))
actualspeed = (speedx^2 + speedy^2 + speedz^2)^(0.5)
kmh = actualspeed * 180

So it looks like its 40Km/h more than it should be


A message from our sponsors.


Follow us on Google+

All Content © 2005-2063 by the Pothole Studios Gaming Network unless otherwise stated
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster
Pothole Studios Gaming Network runs on an Intel Core2 T5500 @ 1.66GHz with 2GB RAM and no accelerators
Google+
Interactive software released under GNU GPL, Code Credits, Privacy Policy