What's the scale for pixels to light seconds?

Freeform discussion about anything related to modding Transcendence.
Post Reply
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Hi, I'm trying to make some scaffolding for stations but I've hit a snag. So far, the image description returns dimensions in pixels. I, however, plan to place the scaffold using overlays, and the problem is that ObjSetOverlay requires for the argument to be in light seconds. I have no clue how each measurement is related to each other.

Is there a better way to make a dynamic scaffold graphic for different sized stations? That might solve my problem, but I highly doubt there is.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
Star Weaver
Militia Commander
Militia Commander
Posts: 311
Joined: Sun Nov 07, 2010 10:20 pm
Location: . . . between the stars and the warm black sky . . .

http://wiki.neurohack.com/transcendence ... rce_diving

Distance

Having nothing to do with scale, but with positioning and travel distance.

From TSE/TSETypes.h

Light_Speed = Light_Second = 299792.5 km
Klicks_Per_Pixel = 12500.0
Therefore 1 light_second = 23.9834 pixels (how did I get 18.3something last time?)
Image
Image
Image
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

1 light_second = 23.9834 pixels D:
hmm... close enough.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
Star Weaver
Militia Commander
Militia Commander
Posts: 311
Joined: Sun Nov 07, 2010 10:20 pm
Location: . . . between the stars and the warm black sky . . .

I know, an irrational conversion for distance units sort of suggests that at least at some point someone was thinking of maybe doing zooming, to me anyway.

For a fixed soom game I would have manually bumped that up to 24 I think ...
Image
Image
Image
Post Reply