Get 1Click Maker

Demo Mode 1.2.4 โ€‹

Demo Mode is a switch on the project. While it is on, the HUD only works on items whose name contains the word DEMO (or DEMONSTRATION). Everything else in the project stays exactly as you built it.

It is the fastest way to ship a demo: your demo item is simply a copy of your product with DEMO in its name. No new target, no scan, no Bulk Edit.

The short version

  1. Clone your HUD, press Demo in the header of the clone's panel, confirm, Build.
  2. Copy your product and rename the copy โ€ฆ DEMO. Make it no-modify.
  3. Box the demo HUD with the demo item. Done.

The full recipe, with trimming and boxing, is in Demo Version.

Turning it on โ€‹

The Demo button is in the panel header, in both looks.

New look: Demo is a switch in the header. When it is on, it turns into a red DEMO ON badge.
New look: Demo is a switch in the header. When it is on, it turns into a red DEMO ON badge.
Classic look: the Demo button sits next to Targets and Assets.
Classic look: the Demo button sits next to Targets and Assets.
  1. Press Demo. A confirmation opens with the targets this project uses: a โœ… next to the ones already named for a demo, a โš ๏ธ and the suggested new name next to the others.

    The confirmation lists your targets and tells you which ones still need DEMO in the name.
    The confirmation lists your targets and tells you which ones still need DEMO in the name.
  2. Press YES, THIS HUD IS A DEMO. The button turns into a red DEMO ON.

  3. Save and Build. Demo Mode starts working with this build.

No action is changed or deleted. To turn it off, press the button again, confirm, and Build: the HUD works with any item again.

The name rule โ€‹

The item obeys the HUD only when DEMO or DEMONSTRATION appears in its name as a word on its own. Upper or lower case does not matter. Spaces and the characters - _ / ( ) [ ] . , + * : separate words.

Item nameWorks?
Mila Dress DEMOโœ…
Mila Dress (DEMO)โœ…
Mila Dress v2-demoโœ…
[DEMO] Mila Dressโœ…
Mila Dress Demonstrationโœ…
Mila DressDEMOโŒ the word is glued to another one
Demonic DressโŒ demonic is not demo
Mila DressโŒ

Renaming is enough. The item checks its own name at the moment it receives the click. After you rename it in Second Life you do not need to scan again, and you do not need to Build again.

What Demo Mode limits, and what it does not โ€‹

Demo Mode protects the items your HUD controls. It does not change what the HUD does to itself or to the person wearing it.

Limited โ€” only reaches items named DEMO: every action whose Target is a scanned target. That covers Blinn-Phong, PBR Custom, Material PBR, Color, Transparency, Glow, Resizer, Ghost Object, Send Command and every other action sent to a target.

Not limited โ€” runs as usual:

When someone clicks a demo HUD while wearing an item without DEMO in the name, nothing changes on the item and its owner reads, in local chat:

text
This HUD is a demo and only works on items with DEMO in the name. This one is called "Mila Dress".

The message shows at most once every 30 seconds, so a customer clicking around does not get spammed.

A product that controls itself

If your product has no separate target (everything uses $THIS), Demo Mode has nothing to limit. Build the demo as its own project with fewer options, or make it expire or delete itself.

Requirements โ€‹

  • Scripts 1.2.4 or newer, in the HUD (*BUILD and *FUNCTIONS) and in every demo item (*TARGETS). Get a redelivery and replace the scripts.
  • An item with older *TARGETS ignores a demo HUD completely: nothing happens and no message appears. If a demo "does nothing", check the scripts in the item first.
  • A HUD with an older *BUILD builds normally but never receives the switch, so it keeps working as a full HUD. Update *BUILD and *FUNCTIONS together.

Protect the demo item โ€‹

Make the demo item no-modify

Anyone who can rename an item can make it pass as a demo. Set the demo item to no-modify before you give it away. A no-modify item cannot be renamed by its owner.

The full HUD also works on demo items. That is on purpose: a customer who buys the full version can keep using the demo item they already have.

Demo Mode or a separate demo target? โ€‹

Demo ModeSeparate demo target
Demo itemA copy of the product, renamed โ€ฆ DEMOA new object with *TARGETS โ†’ NEW, scanned into the project
Panel workOne switchScan targets, then Bulk Edit every action
Rename or add demo items laterRename in Second Life, nothing elseScan and edit again
Several bodiesEvery body copy just needs DEMO in the nameSync every demo body to the demo target
Scripts needed1.2.4 or newerAny version

Use Demo Mode whenever you can. The separate target is only worth it when you cannot update the scripts, or when your product controls itself. Both are described in Demo Version.