Scale

Learn here how to create and use plugins.

Moderator: Plugin Moderators

Imran M
Inhabitant of a Conurbation
Reactions:
Posts: 547
Joined: Wed Oct 24, 2018 13:41
Plugins: Show
Phone model: Samsung S9

Platform

Plugin Creator

Scale

#1

Post by Imran M » Fri Feb 15, 2019 13:46

One thing that you really need to use is scale. Sometimes it's not too important, but you might need to use scale to make a real thing's height in the game. Well, I have a solution to that! The following formula should help, it's pixels divided a theo human (3 pixels), times by your scale. The scale is how big a theo human is, which is 3 pixels. For most people they use 2m, so 3 pixels = 2 meters. I, however, use 1.8 meters since 2 meters is way too tall for me. This would be a simplified version of the formula. Bear in mind s = scale, p = amount of pixels.
pixil-frame-0.png
pixil-frame-0.png (357 Bytes) Viewed 730 times

For meters in real life to pixels, you have to do pixels times by a theo human (3 pixels) divided by your scale. Here is the simplified formula.
pixil-frame-0 (1).png
pixil-frame-0 (1).png (337 Bytes) Viewed 730 times
https://youtu.be/z_HWtzUHm6s probably doesn't give 404 error! (It's changed)

User avatar
Lobby
Developer
Reactions:
Posts: 3411
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Re: Scale

#2

Post by Lobby » Fri Feb 15, 2019 14:03

Thank you for the explanation :bc

So by scale you reference to the considered real-life height of a human.

To put it differently:
\(h_{real}=\frac{p}{3}\cdot s\)

\(p=3\cdot \frac{h_{real}}{s}\)
...Have a nice stay

Imran M
Inhabitant of a Conurbation
Reactions:
Posts: 547
Joined: Wed Oct 24, 2018 13:41
Plugins: Show
Phone model: Samsung S9

Platform

Plugin Creator

Re: Scale

#3

Post by Imran M » Fri Feb 15, 2019 19:59

<..>
I knew I was missing something! It was what it equals to!
https://youtu.be/z_HWtzUHm6s probably doesn't give 404 error! (It's changed)

wetguy
Inhabitant of a Megalopolis
Reactions:
Posts: 742
Joined: Sat Nov 25, 2017 6:10
Location: United States of America
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Scale

#4

Post by wetguy » Fri Feb 15, 2019 21:14

Not all things in theotown are to scale with eachother though. For example, the ships and airbus a340s and a380s (theoair t340s and t380s) are smaller than they "would" be, and cars are bigger than they "would" be. I think this is due to the limitations of the game.

Imran M
Inhabitant of a Conurbation
Reactions:
Posts: 547
Joined: Wed Oct 24, 2018 13:41
Plugins: Show
Phone model: Samsung S9

Platform

Plugin Creator

Re: Scale

#5

Post by Imran M » Fri Feb 15, 2019 23:50

wetguy wrote:
Fri Feb 15, 2019 21:14
Not all things in theotown are to scale with eachother though. For example, the ships and airbus a340s and a380s (theoair t340s and t380s) are smaller than they "would" be, and cars are bigger than they "would" be. I think this is due to the limitations of the game.
Yes that is true, due to the fact that theotown uses pixels unlike other building simulators. So, I think we should classify this tutorial for buildings mostly.
https://youtu.be/z_HWtzUHm6s probably doesn't give 404 error! (It's changed)

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”