Get 1Click Maker

The Scripts ​

The 1Click Maker folder contains three main scripts and a set of add-ons. You only ever drag them into an object's Content tab; you never edit them.

Main scripts ​

*BUILD development only ​

The bridge between your HUD and the creation panel.

  • Prints the project link in chat when dropped into a new object.
  • Receives everything you Build from the panel.
  • Answers the panel's scans (buttons, assets, targets).
  • Opens the NEW / CLONE / EDIT menu when you hold your click on the object.
  • Removes itself when you press Finish.

It only works while the object is rezzed on the ground.

*FUNCTIONS always required ​

The engine. It stores the built project and runs every action when a button is clicked or an event fires. It stays inside the finished product forever. Without it, nothing happens.

*TARGETS one per controlled object ​

Goes inside every object you want to control from a HUD (clothing, furniture, accessories). It listens to the HUD on a private channel and applies the commands: textures, colors, rotation, and so on. Details in Targets.

Add-ons ​

Add-ons unlock specific features. Drop each one into the object that will run the feature: usually the HUD, but for some actions the target itself.

Add-on scriptNeeded forWhere to drop it
[add-on] - Events - 1ClickAny event (attach, walk, run, water, receive command…)The object whose events you registered (HUD or item)
[add-on] - PBR ManagerPBR Custom, Material PBR, PBR On/Off, PBR Alpha ModeEvery target that receives PBR actions (and the HUD, if it targets itself)
[add-on] - TimersThe Timer actionThe object running the function that contains the timer
[add-on] - Resizer - 1ClickThe Resizer actionThe object being resized: the target, or the HUD itself
[add-on] - Conditions & Variables - 1ClickCondition and Change Variable actionsThe object running the logic (usually the HUD)
[add-on] - UI Buttons - 1ClickUI Mode buttonsThe HUD
[add-on] - Color Picker - 1ClickThe Color Picker objectInside the Color Picker object (it ships with it)
[add-on] - Give Items - 1ClickThe Give Items actionThe HUD (the object holding the items)

Missing add-on

If a project uses a feature and its add-on is not inside the object, *FUNCTIONS prints a warning like ATTENTION: This project needs the '[add-on] - Events - 1Click' script in the CONTENT tab of this object. Drop the script in and press Build once more so everything starts in the right order.

Why add-ons instead of one big script?

Second Life scripts have a hard 64 KB memory limit. The core scripts already use most of it. Splitting rarely-used features into add-ons keeps the main scripts stable and your HUD light: you only pay for what you use.

Where each script goes: a cheat sheet ​

text
HUD (rezzed on the ground)
β”œβ”€β”€ *BUILD                      ← removed by Finish
β”œβ”€β”€ *FUNCTIONS
β”œβ”€β”€ [add-on] - Events           ← if the HUD has events
β”œβ”€β”€ [add-on] - Timers           ← if any function uses Timer
β”œβ”€β”€ [add-on] - Conditions & Variables
β”œβ”€β”€ [add-on] - UI Buttons       ← if you use UI Mode
β”œβ”€β”€ [add-on] - Give Items       ← if you deliver items
β”œβ”€β”€ [add-on] - PBR Manager      ← only if the HUD applies PBR to itself
└── textures / sounds / anims   ← assets, removed by Finish

Shirt (a target)
β”œβ”€β”€ *TARGETS
β”œβ”€β”€ [add-on] - PBR Manager      ← if the shirt receives PBR actions
β”œβ”€β”€ [add-on] - Resizer          ← if the shirt is resized
β”œβ”€β”€ [add-on] - Events           ← if the shirt has its own events (needs its own project)
└── animations                  ← if the shirt runs animations (needs its own project)

Updating scripts ​

New versions of 1Click Maker are delivered as a redelivery on the Marketplace. To update an existing product:

  1. Rez the object on the ground.
  2. Delete the old scripts from Content and drop in the new ones.
  3. If the object had been finished, *BUILD opens its menu: choose EDIT to reconnect it to the saved project.
  4. Build again.

Release notes always say when a script update is required. See the Changelog.