:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Tue Dec 12, 2017 3:00 am
All times are UTC + 0
 Forum index » Other Projects » Inactive Projects » Ace Commander: Shattered Skies
Unit of measurements
Moderators: Roaches
Post new topic   Reply to topic Page 1 of 1 [3 Posts] 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

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

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
Founder - Savage Media Group

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

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] View previous topic :: View next topic
 Forum index » Other Projects » Inactive Projects » Ace Commander: Shattered Skies
Jump to:  
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

Wildcard SSL Certificates
[ Time: 0.1642s ][ Queries: 12 (0.0636s) ][ Debug on ]