KINETICS by Mary

KINETICS Hover HUD – guide for shoe creators (kit v2)

Make your shoes set the wearer's hover height automatically with the KINETICS Hover HUD. It takes one minute, adds no lag, and your value is protected: only the KINETICS HUD can read it.

Step 1 – Get your code (free KINETICS Code Maker)

  1. Ask KINETICS for the free KINETICS Code Maker, wear it or rez it.
  2. Type in local chat the hover height of your shoes, in meters: /73 0.130
  3. You get a code like KH1:39c6fc2a171318. Every code is different, even for the same height: that is normal.

The height is the number you would type in the viewer's Set Hover Height window (between -1.000 and 1.000).

Step 2 – Put the code in your shoes (choose one)

Option A – Script (recommended)

Put the script Kinetics_creator_kit in the root prim of your shoes and paste your code:

string CODE = "KH1:39c6fc2a171318";   // from the KINETICS Code Maker

The script is open (modify): you can read everything it does. It holds no secret, it only repeats your code:

  • when the shoes are worn, to the wearer's own attachments only (llRegionSayTo);
  • when the wearer's HUD asks HOVER? (e.g. at login). The listener only reacts to that exact message.

You can also paste these lines into your own shoe script:

integer HOVER_CH = -7358001;
string  CODE = "KH1:39c6fc2a171318";
// in state_entry():
llListen(HOVER_CH, "", NULL_KEY, "HOVER?");
// in attach(key id):
if (id != NULL_KEY) llRegionSayTo(id, HOVER_CH, CODE);
// in listen():
if (channel == HOVER_CH && llGetAttached() && llGetOwnerKey(id) == llGetOwner())
    llRegionSayTo(llGetOwner(), HOVER_CH, CODE);

Option B – No script

Add your code anywhere in the description of the root prim of your shoes, before you set them no-modify. The rest of the description can stay as it is.

Notes