Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 10:12 pm
All times are UTC + 0
Unit of measurements
Moderators: Roaches
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Roaches
Cyborg Commando


Joined: 16 Dec 2007
Location: Modding other games.

PostPosted: Fri May 06, 2011 4:31 am    Post subject:  Unit of measurements
Subject description: Just Documentation
Reply with quote  Mark this post and the followings unread

Just a unit of measurement guide I've written long ago. Just documenting it here for other modders here interested in modding SupCom.

Code:

Confirmed units of measurement used in Supreme Commander:

VisionRadius: Tiles
MaxRadius: Tiles
MaxSpeed: Tiles/Second
RateOfFire: Shots/Second
TurnRate: Degrees/Second
MaxAcceleration: Tiles/Second^2
MuzzleVelocity: Tiles/Second
FiringRandomness: Degrees
RackRecoilDistance: Tiles

Where 1 Tile = 19.53125 meters (size of a wall section, 5km / 256 Tiles)
1.0 3DS Max unit is equal to 1 Meter! So 19.5 in 3ds max units should roughly equal to 1x1 tile.
As for Blender, I don't know. If you do know, feel free to share.

********************************************
***Speed calculations for supreme commander in m/s and km/h and mach number.
********************************************

"S" = speed in Tiles/seconds
"N" = km/h is in kilometers/hour
"X" = 19.5m/s is the approximate distance per Tile tile in game

to find S use the equation...

F(N)=N/3600(1000)/X = S speed in tiles per second

example: F(3560)=3560/3600(1000)/19.5 = 50.71 Tiles/second

and Multiply S*X = to get speed in meters/second

to find "N"

F(S)=S(X)(3600/1000) = N speed in kilometers/hour

example: F(50.71)=50.71(19.5)(3600)/1000 = 3560km/h

(fun fact: 3560km/h is the maximum speed of the SR-71 Blackbird; worlds fastest aircraft.)

to find the average mach number ((optional))
M = N/V ; where "V" = 1093km/h or the speed of sound in the medium.

(Note this is just a estimate not a real value since Mach number depends on the ratio of the moving particle over the speed of sound in the altitude the particle is traveling.)

example: M = 3560/1093 = mach 3.25

_________________

Quote:
Everybody knows a mod that doesn't update every ten seconds is dead.

Back to top
View user's profile Send private message
daTS
Mr. Moosey


Joined: 18 Feb 2005
Location: Star Kingdom of Manticore

PostPosted: Fri May 06, 2011 8:37 am    Post subject: Reply with quote  Mark this post and the followings unread

It's sad that I deciphered all of that so fast. I hate college math and how it drills into me :/

_________________
"Reality is a lovely place, but I wouldn't want to live there." -Adam Young

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account
Roaches
Cyborg Commando


Joined: 16 Dec 2007
Location: Modding other games.

PostPosted: Fri May 06, 2011 9:03 am    Post subject: Reply with quote  Mark this post and the followings unread

Yeah its very simple, just some middleschool math :/ anyone could understand it.

Now if I to write a LUA tutorial on how to code a missile with an Evasive flight path algorithm. Then you'll see some hardcore math. XD

_________________

Quote:
Everybody knows a mod that doesn't update every ten seconds is dead.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1642s ][ Queries: 11 (0.0103s) ][ Debug on ]