Types/TileTransitions: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Used for tile graphics. == Mandatory properties == === side === '''Type''': Types/RotatedAnimation This or side_mask needs to be specified. === side_mask...")
 
(0.17)
Line 67: Line 67:


=== o_transition ===
=== o_transition ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/Animation]]


=== o_transition_mask ===
=== o_transition_mask ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/Animation]]


=== o_transition_background ===
=== o_transition_background ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/Animation]]


=== water_patch ===
=== water_patch ===
Line 81: Line 81:
'''Type''': [[Types/uint8]]
'''Type''': [[Types/uint8]]


'''Default''': <code>layer</code> of the tile this is a property of.
=== background_layer_group ===
'''Type''': [[Types/string]]
 
One of "zero", "water", "water-overlay", "ground" and "top".  


=== background_layer_offset ===
=== background_layer_offset ===
Line 87: Line 90:


'''Default''': 0
'''Default''': 0
=== offset_background_layer_by_tile_layer ===
'''Type''': [[Types/bool]]
'''Default''': false

Revision as of 07:52, 15 April 2019

Basics

Used for tile graphics.

Mandatory properties

side

Type: Types/RotatedAnimation

This or side_mask needs to be specified.

side_mask

Type: Types/RotatedAnimation

This or side needs to be specified.

inner_corner

Type: Types/RotatedAnimation

This or inner_corner_mask needs to be specified.

inner_corner_mask

Type: Types/RotatedAnimation

This or inner_corner needs to be specified.

outer_corner

Type: Types/RotatedAnimation

This or outer_corner_mask needs to be specified.

outer_corner_mask

Type: Types/RotatedAnimation

This or outer_corner needs to be specified.

Optional properties

side_background

Type: Types/RotatedAnimation

side_weights

Type: Types/table of Types/float

inner_corner_background

Type: Types/RotatedAnimation

inner_corner_weights

Type: Types/table of Types/float

outer_corner_background

Type: Types/RotatedAnimation

outer_corner_weights

Type: Types/table of Types/float

u_transition

Type: Types/RotatedAnimation

u_transition_mask

Type: Types/RotatedAnimation

u_transition_background

Type: Types/RotatedAnimation

u_transition_weights

Type: Types/table of Types/float

o_transition

Type: Types/Animation

o_transition_mask

Type: Types/Animation

o_transition_background

Type: Types/Animation

water_patch

Type: Types/Sprite

layer

Type: Types/uint8

background_layer_group

Type: Types/string

One of "zero", "water", "water-overlay", "ground" and "top".

background_layer_offset

Type: Types/int8

Default: 0

offset_background_layer_by_tile_layer

Type: Types/bool

Default: false