builders:repainter
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| builders:repainter [2021/11/05 22:01] – amanda | builders:repainter [2024/12/20 21:32] (current) – clyde | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| This is a special device that can repaint some or all objects in a room. | This is a special device that can repaint some or all objects in a room. | ||
| - | Create an object of type 31, " | + | Create an object of type 31, [[builders: |
| - | Set action_type to 3.\\ | + | **Set action_type to 3**.\\ |
| action_menu can be any suitable value to get the menu prompt you want. The default of 0 gives " | action_menu can be any suitable value to get the menu prompt you want. The default of 0 gives " | ||
| Set colorMap to the colors you wish to apply. | Set colorMap to the colors you wish to apply. | ||
| + | **Set action_type to 4**.\\ | ||
| + | action_menu can be any suitable value to get the menu prompt you want. The default of 0 gives " | ||
| + | |||
| + | The user must be holding a spray can of the color they want to apply to all objects. | ||
| + | |||
| + | **Objects**\\ | ||
| Within the locale, you can place items as normal. | Within the locale, you can place items as normal. | ||
| - | Set common_flags on the item to the usual values, plus 4096. The " | + | Set [[builders:common_flags|common_flags]] |
| When the active object is Used:\\ | When the active object is Used:\\ | ||
| - Any objects, with the appropriate flags, in vendos will be repainted. | - Any objects, with the appropriate flags, in vendos will be repainted. | ||
| - If the vendo it is in has the same imageURL/ | - If the vendo it is in has the same imageURL/ | ||
| - | - Any other objects with the appropriate flags that are glued down/ | + | - //Any other objects with the appropriate flags that are glued down/ |
| This allows you to change colors of things available to buy, and objects glued in the room, but not items being held or dropped on the floor. | This allows you to change colors of things available to buy, and objects glued in the room, but not items being held or dropped on the floor. | ||
| Line 24: | Line 30: | ||
| - | You can also create a loose object with a ' | + | You can also create a loose object with a ' |
builders/repainter.1636149694.txt.gz · Last modified: by amanda
