Floors (Old API)

Aus EnigmaWiki

Wechseln zu: Navigation, Suche
Available languages: Deutsch, English, Русский

A table of floor friction and mousefactors can be found here.

Common floor tile attributes

Common attributes

  • force_x, force_y: Determines a horizontal respectively vertical force for a floor tile. In this way, every floor tile can behave like a fl-slope. When applied to a gradient, the force is added to its slope force.
  • friction: Determines the friction for a floor tile.
  • mousefactor: Determines the mouse factor of a floor tile.
  • name: The name of a floor. Possible values are all strings; Default: "". All floor tiles can have a unique name. You can get a reference on named objects by calling the function enigma.GetNamedObject

Burnability attributes

All these attributes can have the values true or false

  • burnable: true = The floor tile is burnable
  • eternal: true = Eternal fire on this floor
  • fastfire: true = Burns faster than normal
  • ignitable: true = Can be ignited by an explosion
  • initfire: true = Starts burning as soon as the level is started
  • noash: true = No ash remains after a fire on this tile
  • secure: true = This tile surely starts to burn, when a neighbour tile burns.

Simple Floors

fl-abyss_fake

Bild:fl-abyss.png

Friction: 3.0; Mouse factor: 2.0
Looks like abyss, but isn't.
See also fl-abyss.
Info: In Enigma 1.1 this floor will be renamed fl_fake_abyss.

fl-black

Bild:fl-black.png

Friction: 3.0; Mouse factor: 1.5
Info: In Enigma 1.1 this floor will be renamed fl_dark.

fl-bluegray

Bild:fl-bluegray.png

Friction: 4.5; Mouse factor: 1.5
Info: In Enigma 1.1 this floor will be renamed fl_bluegray.

fl-bluegreen

Bild:fl-bluegreen.png

Friction: 6.0; Mouse factor: 2.0
Info: In Enigma 1.1 this floor will be renamed fl_bluegreen.

fl-bluegreenx

Bild:fl-bluegreenx.png

Friction: 0.4; Mouse factor: 1.0
Info: In Enigma 1.1 this floor will be renamed fl_aquamarine.

fl-brick

Bild:fl-brick.png

Friction: 3.5; Mouse factor: 2.0
Info: In Enigma 1.1 this floor will be renamed fl_brick.

fl-bumps

Bild:fl-bumps.png

Friction: 5.0; Mouse factor: 1.2
Info: In Enigma 1.1 this floor will be renamed fl_pinkbumps.

fl-concrete

Bild:fl-concrete.png

Friction: 4.5; Mouse factor: 1.3
Info: In Enigma 1.1 this floor will be renamed fl_concrete.

fl-darkgray

Bild:fl-darkgray.png

Friction: 3.0; Mouse factor: 1.6
Info: In Enigma 1.1 this floor will be renamed fl_darkgray.

fl-dunes

Bild:fl-dunes.png

Friction: 1.3; Mouse factor: 1.0
Info: In Enigma 1.1 this floor will be renamed fl_dunes.

fl-floor_001

Bild:fl-floor_001.png

Friction: 1.5; Mouse factor: 2.5
Info: In Enigma 1.1 this floor will be renamed fl_bast.

fl-gravel

Bild:fl-gravel.png

Friction: 3.2; Mouse factor: 1.5
Info: In Enigma 1.1 this floor will be renamed fl_gravel.

fl-gray

Bild:fl-gray.png

Friction: 5.0; Mouse factor: 3.0
Info: In Enigma 1.1 this floor will be renamed fl_gray.

fl-hay

Bild:fl-hay.png

Friction: 5.0; Mouse factor: 1.5

fl-himalaya

Bild:fl-himalaya.png

Friction: 5.0; Mouse factor: 2.0
Info: In Enigma 1.1 this floor will be renamed fl_himalaya.

fl-leaves[{b,{c,d,e}{1..4}}]

Bild:fl-leaves.png

Friction: 4.0; Mouse factor: 1.5

There are 20 different types of fl-leaves which can be combined to hilarious grass-patterns:

  • fl-leaves results in one of four bright grass floors,
  • fl-leavesb results in one of four dark grass floors,
  • fl-leavesc{1..4} results in one of four quarters of a bright circle,
  • fl-leavesd{1..4} results in one of four quarters of a dark circle,
  • fl-leavese{1..4} results in one of four diagonally split grass tiles.

Bild:Fl-leaves_schema.png Info: In Enigma 1.1 this floor will be renamed fl_lawn.

fl-light

Bild:fl-light.png

Friction: 2.2; Mouse factor: 1.6
Info: In Enigma 1.1 this floor will be renamed fl_ivory.

fl-lightgray

Bild:fl-lightgray.png

Friction: 3.0; Mouse factor: 1.6
Info: In Enigma 1.1 this floor will be renamed fl_platinum.

fl-marble

Bild:fl-marble.png

Friction: 6.4; Mouse factor: 2.0
Info: In Enigma 1.1 this floor will be renamed fl_marble.

fl-metal[{1..6}]

Bild:fl-metal.png

Friction: 3.0; Mouse factor: 2.0
Info: In Enigma 1.1 this floor will be renamed fl_metal.

fl-mortar

Bild:fl-mortar.png

Friction: 7.2; Mouse factor: 1.8
Info: In Enigma 1.1 this floor will be renamed fl_mortar.

fl-normal[_x]

Bild:fl-normal.png

fl-normal: Friction: 4.0; Mouse factor: 2.0
fl-normal_x: Friction: 3.0; Mouse factor: 2.0
Info: In Enigma 1.1 this floor will be renamed fl_metal_7.

fl-plank

Bild:fl-plank.png

Friction: 5.5; Mouse factor: 2.0
Info: In Enigma 1.1 this floor will be renamed fl_plank.

fl-red

Bild:fl-red.png

Friction: 0.9; Mouse factor: 1.0
Info: In Enigma 1.1 this floor will be renamed fl_red.

fl-rock

Bild:fl-rock.png

Friction: 6.5; Mouse factor: 2.2

fl-rough[{_medium,_slow}]

Bild:fl-rough.png

fl-rough: Friction: 7.0; Mouse factor: 2.0
fl-rough_medium: Friction: 5.0; Mouse factor: 1.2
fl-rough_slow: Friction: 7.0; Mouse factor: 0.5
Info: In Enigma 1.1 this floor will be renamed fl_rough.

fl-rough-blue

Bild:fl-rough-blue.png

Friction: 7.0; Mouse factor: 2.0
Info: In Enigma 1.1 this floor will be renamed fl_blueslab.

fl-rough-red

Bild:fl-rough-red.png

Friction: 7.0; Mouse factor: 2.0
Info: In Enigma 1.1 this floor will be renamed fl_redslab.

fl-sahara

Bild:fl-sahara.png

Friction: 6.4; Mouse factor: 2.0
Info: In Enigma 1.1 this floor will be renamed fl_sahara.

fl-samba[{1,2}]

Bild:fl-samba.png

Friction: 6.0; Mouse factor: 2.0
Info: In Enigma 1.1 this floor will be renamed fl_samba.

fl-sand

Bild:fl-sand.png

Friction: 6.0; Mouse factor: 2.0
Info: In Enigma 1.1 this floor will be renamed fl_sand.

fl-springboard

Bild:fl-springboard.png

Friction: 4.0; Mouse factor: 2.0
White Floor. Maybe the it-springboard was used to be placed on this floor in Oxyd?
Info: In Enigma 1.1 this floor will be renamed fl_white.

fl-stone

Bild:fl-stone.png

Friction: 1.4; Mouse factor: 1.0
Info: In Enigma 1.1 this floor will be renamed fl_stone.

fl-stwood[{1,2}]

Bild:fl-stwood.png

Friction: 6.4; Mouse factor: 2.0 Info: In Enigma 1.1 this floor will be renamed fl_wood_framed

fl-tigris

Bild:fl-tigris.png

Friction: 6.0; Mouse factor: 2.0
Info: In Enigma 1.1 this floor will be renamed fl_tigris.

fl-trigger

Bild:fl-trigger.png

Friction: 3.0; Mouse factor: 1.5
Info: In Enigma 1.1 this floor will be renamed fl_trigger.

fl-white

Bild:fl-white.png

Friction: 3.0; Mouse factor: 1.5
Info: In Enigma 1.1 this floor will be renamed fl_bright.

fl-wood

Bild:fl-wood.png

Friction: 6.4; Mouse factor: 2.0 Info: In Enigma 1.1 this floor will be renamed fl_wood

fl-woven

Bild:fl-woven.png

Friction: 6.5; Mouse factor: 3.0
Info: In Enigma 1.1 this floor will be renamed fl_woven.

Special floors

fl-abyss

Bild:fl-abyss.png

Friction: 2.0; Mouse factor: 1.0
Abyss, the Marble falls down. See also fl-abyss_fake.

The marbles can jump over abyss using springs (it-spring) or walk over the abyss with an umbrella (it-umbrella). Abyss can be filled with a box (st-wood). Flying actors (ac-bug, ac-horse, ac-rotor and ac-top) can fly over an abyss.

fl-acblack

Bild:fl-acblack.png

Friction: 5.2; Mouse factor: 2.0
On this floor, only the actor with the attribute player=0 may be controlled. Normally, this is the black ball.

See also fl-acwhite and it-changefloor.
Info: In Enigma 1.1 this floor will be renamed fl_yinyang.

fl-acwhite

Bild:fl-acwhite.png

Friction: 5.2; Mouse factor: 2.0
On this floor, only the actor with the attribute player=1 may be controlled. Normally, this is the white ball.

See also fl-acblack and it-changefloor.
Info: In Enigma 1.1 this floor will be renamed fl_yinyang_yang.

fl-bridge[{-closed,-open}]

Bild:fl-bridge.png

Friction: 5.0; Mouse factor: 1.0
Bridge which can be opened and closed. Info: In Enigma 1.1 this floor will be renamed fl_bridge.

Attribute

  • type: Determines the appearance of the bridge. Can have the following values:
    • a: Grey block coming from the middle
    • x: Wooden plank coming from right
    • y: Wooden plank coming from top

Messages

  • open: Open the bridge
  • close: Close the bridge
  • openclose: Open respectively close the bridge
  • signal: Same as openclose

fl-dummy

Bild:fl-dummy.png

Friction: 4.0; Mouse factor: 2.5
This Floor is used Enigma-internal, when a floor tile is undefined. Do not use it in your levels.

fl-gradient

Bild:fl-gradient.png

Friction: 4.0; Mouse factor: 2.0
Floor tile with a slope force. The force can be increased or decreased in enigma.SlopeForce. An additional force can be added by setting the attributes force_x and force_y.

Bild:fl-gradient-wiz.png

Info: In Enigma 1.1 this floor will be renamed fl_slope.

Attribute

  • force: Determines the downhill-slope force and overwrites enigma.SlopeForce
  • type: Values from 1-24 determine the kind of gradient according to the following image
Bild:fl-gradient-wiz2.png

Alternatively, gradients can be set with the function Gradient( x, y, type )

fl-ice

Bild:fl-ice.png

Friction: 0.1; Mouse factor: 0.1
Ice floor has a very low friction. The friction can be set globally by changing the value of enigma.IceFriction. The pin it-pin makes it easier to walk on this floor.
Info: In Enigma 1.1 this floor will be renamed fl_ice.

fl-inverse

Bild:fl-inverse.png

Friction: 3.0; Mouse factor: -2.0
Inverts the movement.
Info: In Enigma 1.1 this floor will be renamed fl_inverse.

fl-inverse2

Bild:fl-inverse2.png

Friction: 3.0; Mouse factor: -2.0
Same as fl-inverse
Info: In Enigma 1.1 this floor will be renamed fl_inverse_gray.

fl-space[-force]

Bild:fl-space.png

Friction: 0.0; Mouse factor: 0.0
Floor without friction and mouse force. A marble on this floor does normally not stop. If it stops anyway (for example it is transferred to space by a vortex), it can't be moved any more.
Info: In Enigma 1.1 this floor will be renamed fl_space.

fl-swamp

Bild:fl-swamp.png

Friction: 13.0; Mouse factor: 1.0
When the Marble is in the swamp for too long without moving fast enough, it drawns. The sink speed can be adjusted in enigma.SwampSinkSpeed (Default 4.0).
Info: In Enigma 1.1 this floor will be renamed fl_swamp.

fl-thief

Bild:fl-thief.png

Friction: 2.0; Mouse factor: 1.0
A Thief which is hidden in the floor. It steals an item of an actor rolling over it. The floor looks like a fl-bluegray.

If a horse (st-chess) jumps onto an fl-thief, the thief is captured, disappears and leaves back a bag with all the stolen items. If there is a static item at the same place, no bag will appear.

Info: This floor was introduced in Enigma 1.0.
Info: In Enigma 1.1 this floor will be renamed fl_thief.

fl-water

Bild:fl-water.png

Friction: 5.0, Mouse factor: 1.0
When a ball rolls over the water, it sinks. The sink speed is adjustable in enigma.WaterSinkSpeed (Default: 1000.0). It is possible to jump over Water.
Info: In Enigma 1.1 this floor will be renamed fl_water.

fl-woven_orange

Bild:fl-nomouse.png

Friction: 2.5, Mouse factor: 0.0
The marble can't be controlled on this floor, but there is a friction in contrast to fl-space.
Info: This floor was introduced in Enigma 1.0.
Info: In Enigma 1.1 this floor will be renamed fl_adhesionless.

Persönliche Werkzeuge