RLVa RFC setsphere
Revision as of 22:28, 8 January 2021 by Kitty Barnett (talk | contribs)
Mode: Pixelate
Command | Value(s) | Description |
---|---|---|
setsphere_mode | 4 | Switches @setsphere to pixelate mode |
setsphere_param | <width>/<height>/0/0 | Specifies the pixelate block size (in pixels) - last 2 params are unused by this mode |
setsphere_distmin | <distance> | Sets the distance (in m) at which the effect should start |
setsphere_distmax | <distance> | Sets the distance (in m) at which the effect should end |
setsphere_distextend | 1 or 0 | Specify 1 (default) to extend the effect past the maximum distance or 0 to end it |
setsphere_valuemin | - | Unused |
setsphere_valuemax | - | Unused |
Notes
- don't use @setsphere_distextend:1=force with a min/max distance value in this mode; just setting distmin will suffice (see examples)
Example
- Clear all modifiers and switch @setsphere to 'pixelate' mode
@clear,setsphere=n,setsphere_mode:4=force
- Set the block size to 10x10 (everything is pixelated)
@setsphere_param:10/10/0/0=force
- Enforce the effect only when >=10m away (only objects >10m away appear pixelated)
@setsphere_distmin:10=force
- Tween to a block size of 25x25 in 15 seconds (and then reset the tween duration for following commands)
@setsphere_tween:15=force,setsphere_param:25/25/0/0=force,setsphere_tween=force