Types/TreePrototypeVariation: Difference between revisions
Jump to navigation
Jump to search
(0.17) |
(0.18.17) |
||
Line 7: | Line 7: | ||
Has to have one more frame than <code>leaves</code>. | Has to have one more frame than <code>leaves</code>. | ||
=== leaves === | === leaves === | ||
Line 16: | Line 13: | ||
=== leaf_generation === | === leaf_generation === | ||
'''Type''': [[Types/CreateParticleTriggerEffectItem]] | '''Type''': [[Types/CreateParticleTriggerEffectItem]] | ||
=== branch_generation === | === branch_generation === | ||
'''Type''': [[Types/CreateParticleTriggerEffectItem]] | '''Type''': [[Types/CreateParticleTriggerEffectItem]] | ||
== Optional properties == | |||
=== shadow === | |||
'''Type''': [[Types/Animation]] | |||
Shadow must have 1 less frame_count than <code>leaves</code> (shadow.frame_count = leaves.frame_count + 1). | |||
=== disable_shadow_distortion_beginning_at_frame === | |||
'''Type''': [[Types/uint32]] | |||
Only loaded if <code>shadow</code> is present. Defaults to shadow.frame_count - 1. | |||
=== normal === | |||
'''Type''': [[Types/Animation]] | |||
Normal must have the same frame_count as <code>leaves</code> (normal.frame_count = leaves.frame_count). | |||
=== water_reflection === | |||
'''Type''': [[Types/WaterReflectionDefinition]] |
Revision as of 13:43, 2 April 2020
Basics
Graphics definition for a Prototype/Tree.
Mandatory properties
trunk
Type: Types/Animation
Has to have one more frame than leaves
.
leaves
Type: Types/Animation
leaf_generation
Type: Types/CreateParticleTriggerEffectItem
branch_generation
Type: Types/CreateParticleTriggerEffectItem
Optional properties
shadow
Type: Types/Animation
Shadow must have 1 less frame_count than leaves
(shadow.frame_count = leaves.frame_count + 1).
disable_shadow_distortion_beginning_at_frame
Type: Types/uint32
Only loaded if shadow
is present. Defaults to shadow.frame_count - 1.
normal
Type: Types/Animation
Normal must have the same frame_count as leaves
(normal.frame_count = leaves.frame_count).