Commands:Diffusing commands
From SMTheming Wiki
Diffusing commands specify how an Actor is colorized.
Version Differences
- See RageColor for more detailed information.
Different versions of StepMania require colors to be entered differently. Everything up until later SM4.0 versions (starting with those marked as "CVS" and up) use the same format: diffuse,1,1,1,1 or diffuse,#FFFFFF.
SM4 requires colors to be wrapped in color(), like so: diffuse,color("1,1,1,1") or diffuse,("#FFFFFF").
the table below lists commands for 3.9, so if you are using SM4, substitute color("1,1,1,1") for 1,1,1,1 in the Example column.
Shared commands
These commands are available in all StepMania versions since StepMania 3.9.
| Command | Arguments | Example | Effect |
|---|---|---|---|
diffuse
| RageColor | diffuse,1,1,1,1 | Diffuses (takes color out of) an object to meet this color. Diffusing to 1,1,1,1 will make an object its normal color, whereas 0,0,0,1 would make it black. |
diffuseleftedge
| RageColor | diffuseleftedge,1,1,1,1 | Diffuses an object to meet this color on the left side. |
diffuserightedge
| RageColor | diffuserightedge,1,1,1,1 | Diffuses an object to meet this color on the right side. |
diffusebottomedge
| RageColor | diffusebottomedge,1,1,1,1 | diffuses an object to meet this color on the bottom. |
diffusetopedge
| RageColor | diffusetopedge,1,1,1,1 | diffuses an object to meet this color on the top. |
diffusealpha
| Float | diffusealpha,1 | Makes an object transparent to this percentage. 1 would make an object completely opaque, 0 would make an object completely invisible. |
diffusecolor
| Float(Red), Float(Green), Float(Blue) | diffusecolor,1,0.5,0.25 | Makes an object diffuse to a color, ignoring the alpha value. |
glow
| RageColor | glow,1,1,1,1 | Adds this value to the current diffusion. making a glow of 1,1,1,1 would make an object completely white while making a glow of 1,1,1,0.25 would make the object slightly brighter |
fadeleft
| Float | fadeleft,0.25 | Gradually diffuse a percentage of an object, starting from the left. |
faderight
| Float | faderight,0.25 | Gradually diffuse a percentage of an object, starting from the right. |
fadetop
| Float | fadetop,0.25 | Gradually diffuse a percentage of an object, starting from the top. |
fadebottom
| Float | fadebottom,0.25 | Gradually diffuse a percentage of an object, starting from the bottom. |
glowmode
| 3.9: String
4.0: Enum | 3.9: glowmode,brighten
4.0: glowmode,"GlowMode_Modulate" | Define which glowing method will affect the base diffusion applied on an object. |
StepMania 3.9 Commands
These commands are available in StepMania 3.9 only.
| Command | Arguments | Example | Effect |
|---|---|---|---|
fadecolor
| RageColor | fadecolor,1,1,1,1 | Sets the object's fade color. |

