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...")
 
(→‎Mandatory properties: empty_transitions was listed inverted)
 
(5 intermediate revisions by one other user not shown)
Line 5: Line 5:


=== side ===
=== side ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/TileTransitionSprite]]


This or side_mask needs to be specified.
This or side_mask needs to be specified if <code>empty_transitions</code> is not true.


=== side_mask ===
=== side_mask ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/TileTransitionSprite]]


This or side needs to be specified.
This or side needs to be specified if <code>empty_transitions</code> is not true.


=== inner_corner ===
=== inner_corner ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/TileTransitionSprite]]


This or inner_corner_mask needs to be specified.
This or inner_corner_mask needs to be specified if <code>empty_transitions</code> is not true.


=== inner_corner_mask ===
=== inner_corner_mask ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/TileTransitionSprite]]


This or inner_corner needs to be specified.
This or inner_corner needs to be specified if <code>empty_transitions</code> is not true.


=== outer_corner ===
=== outer_corner ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/TileTransitionSprite]]


This or outer_corner_mask needs to be specified.
This or outer_corner_mask needs to be specified if <code>empty_transitions</code> is not true.


=== outer_corner_mask ===
=== outer_corner_mask ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/TileTransitionSprite]]


This or outer_corner needs to be specified.
This or outer_corner needs to be specified if <code>empty_transitions</code> is not true.


== Optional properties ==
== Optional properties ==
=== empty_transitions ===
'''Type''': [[Types/bool]]
'''Default''': false


=== side_background ===
=== side_background ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/TileTransitionSprite]]
 
=== side_background_mask ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== side_effect_map ===
'''Type''': [[Types/TileTransitionSprite]]


=== side_weights ===
=== side_weights ===
Line 43: Line 54:


=== inner_corner_background ===
=== inner_corner_background ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/TileTransitionSprite]]
 
=== inner_corner_background_mask ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== inner_corner_effect_map ===
'''Type''': [[Types/TileTransitionSprite]]


=== inner_corner_weights ===
=== inner_corner_weights ===
Line 49: Line 66:


=== outer_corner_background ===
=== outer_corner_background ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/TileTransitionSprite]]
 
=== outer_corner_background_mask ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== outer_corner_effect_map ===
'''Type''': [[Types/TileTransitionSprite]]


=== outer_corner_weights ===
=== outer_corner_weights ===
Line 55: Line 78:


=== u_transition ===
=== u_transition ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/TileTransitionSprite]]


=== u_transition_mask ===
=== u_transition_mask ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/TileTransitionSprite]]


=== u_transition_background ===
=== u_transition_background ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/TileTransitionSprite]]
 
=== u_transition_background_mask ===
'''Type''': [[Types/TileTransitionSprite]]
 
=== u_transition_effect_map ===
'''Type''': [[Types/TileTransitionSprite]]


=== u_transition_weights ===
=== u_transition_weights ===
Line 67: Line 96:


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


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


=== o_transition_background ===
=== o_transition_background ===
'''Type''': [[Types/RotatedAnimation]]
'''Type''': [[Types/TileSprite]]
 
=== o_transition_background_mask ===
'''Type''': [[Types/TileSprite]]
 
=== o_transition_effect_map ===
'''Type''': [[Types/TileSprite]]


=== water_patch ===
=== water_patch ===
'''Type''': [[Types/Sprite]]
'''Type''': [[Types/Sprite]]
=== effect_mask ===
'''Type''': [[Types/Animation]]


=== layer ===
=== layer ===
'''Type''': [[Types/uint8]]
'''Type''': [[Types/uint8]]


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


=== background_layer_offset ===
=== background_layer_offset ===
Line 87: Line 141:


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

Latest revision as of 04:55, 29 May 2020

Basics

Used for tile graphics.

Mandatory properties

side

Type: Types/TileTransitionSprite

This or side_mask needs to be specified if empty_transitions is not true.

side_mask

Type: Types/TileTransitionSprite

This or side needs to be specified if empty_transitions is not true.

inner_corner

Type: Types/TileTransitionSprite

This or inner_corner_mask needs to be specified if empty_transitions is not true.

inner_corner_mask

Type: Types/TileTransitionSprite

This or inner_corner needs to be specified if empty_transitions is not true.

outer_corner

Type: Types/TileTransitionSprite

This or outer_corner_mask needs to be specified if empty_transitions is not true.

outer_corner_mask

Type: Types/TileTransitionSprite

This or outer_corner needs to be specified if empty_transitions is not true.

Optional properties

empty_transitions

Type: Types/bool

Default: false

side_background

Type: Types/TileTransitionSprite

side_background_mask

Type: Types/TileTransitionSprite

side_effect_map

Type: Types/TileTransitionSprite

side_weights

Type: Types/table of Types/float

inner_corner_background

Type: Types/TileTransitionSprite

inner_corner_background_mask

Type: Types/TileTransitionSprite

inner_corner_effect_map

Type: Types/TileTransitionSprite

inner_corner_weights

Type: Types/table of Types/float

outer_corner_background

Type: Types/TileTransitionSprite

outer_corner_background_mask

Type: Types/TileTransitionSprite

outer_corner_effect_map

Type: Types/TileTransitionSprite

outer_corner_weights

Type: Types/table of Types/float

u_transition

Type: Types/TileTransitionSprite

u_transition_mask

Type: Types/TileTransitionSprite

u_transition_background

Type: Types/TileTransitionSprite

u_transition_background_mask

Type: Types/TileTransitionSprite

u_transition_effect_map

Type: Types/TileTransitionSprite

u_transition_weights

Type: Types/table of Types/float

o_transition

Type: Types/TileSprite

o_transition_mask

Type: Types/TileSprite

o_transition_background

Type: Types/TileSprite

o_transition_background_mask

Type: Types/TileSprite

o_transition_effect_map

Type: Types/TileSprite

water_patch

Type: Types/Sprite

effect_mask

Type: Types/Animation

layer

Type: Types/uint8

overlay_layer_group

Type: Types/string

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

background_layer_group

Type: Types/string

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

overlay_layer_offset

Type: Types/int8

masked_overlay_layer_offset

Type: Types/int8

Default: 0

background_layer_offset

Type: Types/int8

Default: 0

masked_background_layer_offset

Type: Types/int8

apply_effect_color_to_overlay

Type: Types/bool

Default: false

offset_background_layer_by_tile_layer

Type: Types/bool

Default: false