Ceci est une ancienne révision du document !
Table des matières
BT distributable teleport hud
A graphic teleport hud that you can freely give out and you configure with a notecard you put in a server.
Owners of your HUD will reload informations from that notecard every time they wear it or relog while wearing it. So they always have up to date destinations.
**Configure your HUD**
All you need to do on the HUD is to replace it's description field with your avatar key.
- Open your own profile to copy the key
- Right-click on HUD in inventory and select Properties
- Paste your key into Description field and press Enter (some viewers forget your changes if you don't press Enter)
while you're in properties you might want to set next owner no-modify to be sure that key is not changed.
Set your server Rez a “BT distributable Teleport HUD server” It contains an example notecard
In your notecard you will define menu, submenus and teleports
- For each menu or submenu you will provide a texture UUID and a name
- For each teleport you will provide a texture UUID and a SLurl or kind of
Here is the example notecard you find in the server:
MENU|e96bfa5d-424e-3d92-7bdb-2782520caf0b|BT Teleporter|
SHAPE|SQUARE|
TP|0fe34d10-1110-ec5f-d718-ad75e0990469|Svarga/7/124/22@45|
TP|69af43ef-585e-2b55-b81e-80013d521266|Lost Gardens of Apollo/77/199/25|
MENU|8d1a7ddf-ddf6-0496-67b5-42bce481a838|Akipelago|
TP|dec9ecfe-4845-e793-ca1b-76e21f02ddf5|Nexus/Akimori/128/128/1182|
MENU|c6f9868a-1b9f-b61a-c4e3-6e61543f3be4|Akimori
TP|ff5d0875-ab07-3f8d-49b9-07ce51373e19|Fractal Earth/Akimori/236/148/2959|
TP|3dbe53b6-706a-0da3-229c-a547acd218ce|Day Gallery/Akimori/101/134/1461|
TP|3cba101d-8d4b-dc9c-1cd7-17711d25ef31|Night Gallery/Akimori/159/98/1301|
TP|63b33557-8d13-9707-a2c3-dc4efa186209|Rooms/Akimori/102/92/3257|
TP|590e1fb0-67a7-e23a-2d8a-3c3f0d803998|Skyscrapers/Akimori/246/96/2952|
ENDMENU
MENU|d692de5a-c693-34aa-1fbb-b27f35745c4d|Akiniwa
TP|55778899-87b8-ceed-7cc9-8a6051e16d4a|African Sun/Akiniwa/105/47/3602|
TP|dc4eed38-bdc2-0846-082f-0be40fd64bd3|Bamboo 2/Akiniwa/65/43/3452|
TP|1e36d388-a450-e592-01ca-f338e54981bf|bBamboo 1/Akiniwa/162/161/3177|
TP|ee8a09d0-0b47-c481-f4fe-b6690e4c66d3|Carelyna/Akiniwa/62/62/22|
TP|d6a51a9f-9ce9-2f13-128e-9a88776bb521|Kokia Gallery/Akiniwa/128/128/3177|
TP|56fa7211-3354-82b0-e941-931501fd4a0d|Qing Gallery/Akiniwa/105/113/3453|
TP|e78fe558-5277-0b71-8607-87a84cc7b06e|WildXia/Akiniwa/128/126/2516|
ENDMENU
MENU|eb6fd83a-68c5-35ca-d451-bdbd0f3706c9|Akijima
TP|b872ff5b-fa8c-f24a-4217-1107c949e251|Aurora/Akijima/141/179/3187|
TP|2e712f48-7369-4f4c-87ea-8a5fe861a2ba|Pearls/Akijima/15/152/3934|
TP|5d75ed8d-0563-f0e3-8ad4-d0d35ae83b46|Kinkakuji/Akijima/72/218/22|
ENDMENU
ENDMENU
ABOUT|You can buy the dev kit and make your own tp hud for yourself or to give away § [https://marketplace.secondlife.com/p/BT-distributable-Teleport-HUD/19950033 Marketplace]
ENDMENU
We have here a first level menu that contains two teleports then three submenus then an “About”
Syntax
Let's detail every command's syntax
MENU|e96bfa5d-424e-3d92-7bdb-2782520caf0b|BT Teleporter|
MENU | a texture UUID* | the name to display over the menu button
TP|0fe34d10-1110-ec5f-d718-ad75e0990469|Svarga/7/124/22@45|
TP | a texture UUID* | sim name/x/y/z@angle | @angle is optional and defines direction avatar will be facing on arrival. 0 is East 90 is North.
ENDMENU
Closes a menu and continues description of the superior menu
ABOUT|text
Adds a [i] button that will give text in a dialog when clicked. You can't use line breaks in text, use § instead
SHAPE|SQUARE|
Tells the HUD to use square buttons. replace SQUARE with CIRCLE if you prefer round ones.
LINEUP|CIRCLE|
Tells the HUD how to align buttons. replace CIRCLE with LINE or COLUMN.
LIMIT|10|
Tells the HUD to limit to 10 buttons. 10 fits circle lineup
RATIO|0.5|
Tells the HUD size of reduced hud relative to open. 0.2 to 1.0 prefer values where 1/value is not irrational or hud may slowly change size after many open/close.
* in vers 2.1 you can also put several textures UUIDs separated by , they will change every 10 sec
Every time you change your notecard in the Server object it will be checked then updated for all HUDs to load it on next wear. You do not need to keep your server rezzed all time.
