This shows you the differences between two versions of the page.
| — | ded:group [2017-03-16 07:16] (current) – skyjake | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Texture animation group (DED) ====== | ||
| + | |||
| + | //Group// definitions can be used to define texture animations such as the animated water in [[games: | ||
| + | |||
| + | |||
| + | ===== Limitations ===== | ||
| + | |||
| + | |||
| + | One Group definition can only include Flat blocks or Texture blocks only. | ||
| + | |||
| + | |||
| + | ===== Syntax ===== | ||
| + | |||
| + |  | ||
| + | < | ||
| + | { | ||
| + | Flags = flaga | flagb | flagc etc... | ||
| + | # smooth: Interpolate/ | ||
| + | # | ||
| + | # first_only: Only animate if the texture used in the map is the first | ||
| + | # | ||
| + | # | ||
| + | # precache: Cache all textures in this sequence at once. | ||
| + |  | ||
| + | Flat | ||
| + | { | ||
| + | ID = "" | ||
| + | # Name of the Flat lump eg FWATER1 | ||
| + |  | ||
| + | Tics = integer | ||
| + | # How many tics to wait before moving onto the next Flat in the group | ||
| + | # One second is equal to 35 Tics. | ||
| + |  | ||
| + | Random = integer | ||
| + | # How many additional randomized tics to wait before moving onto the | ||
| + | # next Flat in the group | ||
| + | # One second is equal to 35 Tics. | ||
| + | } | ||
| + |  | ||
| + | Texture | ||
| + | { | ||
| + | ID = "" | ||
| + | # Name of the Texture lump eg SLADRIP1 | ||
| + |  | ||
| + | Tics = integer | ||
| + | # How many tics to wait before moving onto the next Texture in the group | ||
| + | # One second is equal to 35 Tics. | ||
| + |  | ||
| + | Random = integer | ||
| + | # How many additional randomized tics to wait before moving onto the | ||
| + | # next Flat in the group | ||
| + | # One second is equal to 35 Tics. | ||
| + | } | ||
| + | } | ||
| + | |||
| + | |||
| + | |||
| + | ===== Examples ===== | ||
| + | |||
| + | ==== Animated Flat ==== | ||
| + | |||
| + | Group { | ||
| + | Flags = smooth | ||
| + | Flat { ID = " | ||
| + | Flat { ID = " | ||
| + | Flat { ID = " | ||
| + | Flat { ID = " | ||
| + | } | ||
| + | |||
| + | |||
| + | ==== Animated Texture ==== | ||
| + | |||
| + | Group { | ||
| + | Flags = smooth | ||
| + | Texture { ID = " | ||
| + | Texture { ID = " | ||
| + | Texture { ID = " | ||
| + | Texture { ID = " | ||
| + | } | ||
| + | |||
| + | |||