Can someone tell me what elmos is?

Can someone tell me what elmos is?

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

kalda341
Posts: 101
Joined: 19 Nov 2010, 09:44

Can someone tell me what elmos is?

Post 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.
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2700
Joined: 25 Aug 2004, 13:31

Re: Can someone tell me what elmos is?

Post by bobthedinosaur »

an elmo is the name for the unit of measurement for spring.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Can someone tell me what elmos is?

Post 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
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Can someone tell me what elmos is?

Post 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
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: Can someone tell me what elmos is?

Post by Floris »

Well I do know what 10 elmos look like, but I dont know which 8 of these you're talking about.


Image
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Can someone tell me what elmos is?

Post 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.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Can someone tell me what elmos is?

Post 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.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Can someone tell me what elmos is?

Post 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...
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: Can someone tell me what elmos is?

Post by rattle »

1 elmo = 8 units
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Can someone tell me what elmos is?

Post 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
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Can someone tell me what elmos is?

Post 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.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: Can someone tell me what elmos is?

Post 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.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Can someone tell me what elmos is?

Post by smoth »

AF wrote:1 footprint unit == 1 elmo == 8 or 16 pixels.

This is incorrect.
yes it is incorrect.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: Can someone tell me what elmos is?

Post 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
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Can someone tell me what elmos is?

Post by SinbadEV »

zwzsg wrote:1 elmo = 0.37 meter
[Citation Needed]
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Can someone tell me what elmos is?

Post by knorke »

link in the link first posted
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Can someone tell me what elmos is?

Post 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.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Can someone tell me what elmos is?

Post 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.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Can someone tell me what elmos is?

Post 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.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Can someone tell me what elmos is?

Post by smoth »

it is very clear in the forum history I just fought making this post.
Image
Attachments
1285296037041.jpg
(1.04 MiB) Downloaded 3 times
Post Reply

Return to “Art & Modelling”