Page 1 of 2

Can someone tell me what elmos is?

Posted: 04 Feb 2011, 02:17
by kalda341
In the lua callout page there are references to elmos which I have never heard of:
destination: number (elmos, or radians)
speed: number (elmos, or radians per second)

In my animation I have this:

Code: Select all

Turn( lll, x_axis, -5, 5 )
But it isn't really very helpful because I have no idea what units this is in.
Thanks in advance.

Re: Can someone tell me what elmos is?

Posted: 04 Feb 2011, 02:26
by bobthedinosaur
an elmo is the name for the unit of measurement for spring.

Re: Can someone tell me what elmos is?

Posted: 04 Feb 2011, 02:35
by knorke
http://answers.springlobby.info/questio ... -of-spring

http://trac.caspring.org/wiki/UnitsOfMeasurement

the destination numbers for turn command are in radian instead of the more familiar degrees.
degrees: circle goes from 0 to 360
radian: circle goes from 0 to 2*pi
so -5 should be -300 or so.
in lua you can use math.rad () to convert.
ie
Turn( lll, x_axis, math.rad(90), math.rad(180))

also try the awesome unit poser, you can move/turn unit pieces and it tells you the numbers:
http://springrts.com/phpbb/viewtopic.php?f=14&t=25104

Re: Can someone tell me what elmos is?

Posted: 04 Feb 2011, 03:47
by Forboding Angel
when looking at a metalmap texture, 1 pixel = 8 elmos ;p

Uhh, when you select a building to place and it has that grid below it? one of those little squares is an elmo.

Shit I really dunno how to explain this. I know what an elmo is, but I honestly don't know how to relate that to anyone else O_o

Re: Can someone tell me what elmos is?

Posted: 04 Feb 2011, 03:57
by Floris
Well I do know what 10 elmos look like, but I dont know which 8 of these you're talking about.


Image

Re: Can someone tell me what elmos is?

Posted: 04 Feb 2011, 04:12
by knorke
Forboding Angel wrote:Uhh, when you select a building to place and it has that grid below it? one of those little squares is an elmo.
usfags doing it wrong again!!1
the coordinates you see displayed in tool tip are elmos.
so one of these little building squares are more like ~8 elmos or so.

Re: Can someone tell me what elmos is?

Posted: 04 Feb 2011, 10:27
by Beherith
when looking at a metalmap texture, 1 pixel = 8 elmos ;p

Uhh, when you select a building to place and it has that grid below it? one of those little squares is an elmo.
Double wrong.
Metal map is 16 elmos per pixel, heightmap (building squares) is 8 elmos, texture is 1 elmo. As knorke said, tooltip displays exact elmo position.

Re: Can someone tell me what elmos is?

Posted: 04 Feb 2011, 19:19
by SinbadEV
Historically we adopted the "elmo" as a unit of measure because it didn't mean anything... the reason is to avoid games being tied to a specific interpretation of scale...

Re: Can someone tell me what elmos is?

Posted: 04 Feb 2011, 21:00
by rattle
1 elmo = 8 units

Re: Can someone tell me what elmos is?

Posted: 05 Feb 2011, 14:28
by Google_Frog
Elmos are everywhere. Weapon ranges, aoe etc.. is in elmos.

To give a sense of scale the LLT from most *A games (and ZK) has a base of 32x32 elmos. These have 4 squares in their placement footprint so each is 8 elmos.

Things considered mid range weapons in for most spring games generally have a range of 300 - 600 elmos.

More distance units:
* Multiplier of footprint = 16 elmos
* 1 Map size unit = 512 elmos

Re: Can someone tell me what elmos is?

Posted: 06 Feb 2011, 00:02
by AF
Garh its all todo with the basic unit measurements of spring, e.g. heightmap squares and the smallest unit footprints.

Because the units OTA had didnt map onto the 1pixel scale of spring, 1 footprint unit == 1 elmo == 8 or 16 pixels. There's a #define in the engine which has this value, and is used everywhere in the engine.

For convenience the SYs aligned building placement to rounded elmo values, although this is merely a UI thing as any AI can ignore that and place where it likes


This is incorrect.

Re: Can someone tell me what elmos is?

Posted: 09 Feb 2011, 16:24
by rattle
1 elmo = 8 units (model) = 65536 spring units

I don't know if these functions take elmos/degree or spring units as arguments..

Angular conversion
360┬░ = 65536 units
180┬░ = 32768 units
1┬░ = 182.0444~ units

Linear conversion
1 elmo = 65536 units
5 elmos = 327680 units
etc.

Re: Can someone tell me what elmos is?

Posted: 09 Feb 2011, 16:30
by smoth
AF wrote:1 footprint unit == 1 elmo == 8 or 16 pixels.

This is incorrect.
yes it is incorrect.

Re: Can someone tell me what elmos is?

Posted: 10 Feb 2011, 04:25
by zwzsg
1 elmo = 1 pixel

Spring being in 3D, there's isn't pixels except on the map texture, however having played lots of TA back in the days I still remember how big pixels were compared to units.

SinbadEV wrote:Historically we adopted the "elmo" as a unit of measure because it didn't mean anything... the reason is to avoid games being tied to a specific interpretation of scale...
1 elmo = 0.37 meter

Re: Can someone tell me what elmos is?

Posted: 10 Feb 2011, 11:18
by SinbadEV
zwzsg wrote:1 elmo = 0.37 meter
[Citation Needed]

Re: Can someone tell me what elmos is?

Posted: 10 Feb 2011, 18:56
by knorke
link in the link first posted

Re: Can someone tell me what elmos is?

Posted: 10 Feb 2011, 19:08
by SinbadEV
knorke wrote:link in the link first posted
That only applies to games using the same scale as TA... in Kernel panic I imagine 1 elmo is closer to a nanometer and in spring 1944 (or whatever) it would be closer to 1 metre.

Re: Can someone tell me what elmos is?

Posted: 10 Feb 2011, 22:30
by AF
AF wrote:Garh its all todo with the basic unit measurements of spring, e.g. heightmap squares and the smallest unit footprints.

Because the units OTA had didnt map onto the 1pixel scale of spring, 1 footprint unit == 1 elmo == 8 or 16 pixels. There's a #define in the engine which has this value, and is used everywhere in the engine.

For convenience the SYs aligned building placement to rounded elmo values, although this is merely a UI thing as any AI can ignore that and place where it likes


This is incorrect.

Sometime early last year I made a HUGE fuss over people editing my posts and then not telling me.

I do hope that I don't have to dedicate twice as much effort to make sure this is not forgotten. If you edit my posts, make me aware of it.

Re: Can someone tell me what elmos is?

Posted: 13 Feb 2011, 01:24
by Forboding Angel
Aha jsut remembered. A 1x1 footprint is 8 elmos iirc.

In upspring, one of those little squares on the groundplate is 8 elmos as well (once again) iirc.

Re: Can someone tell me what elmos is?

Posted: 13 Feb 2011, 01:46
by smoth
it is very clear in the forum history I just fought making this post.
Image