Advanced drawbridge
-------------------
IMPORTANT : once your bridge is fitted in its location, you'll need to reset all scripts to get it to work. (edit the 4 objects, menu Build - Scripts - Reset scripts)
Features :
- Fully automated, sensors detect boats and send opening requests
- Safe, checks for présence of avatar or physical vehicle crossing on the road before opening (with timeout) and tracks boats to stay open as long as required
- Manual request with touch panels
- Interruptible movement, if a new opening request is received while closing, bridge will reopen immediately
- Working gates and signal lights for road and waterway
Limitations :
- Boat tracker will not work if the sensor that requested the opening is not in the same region as the bridge
- If requested by boat sensor, the controller will first check the height of the boat to decide if opening is required or not. The size is the physical size of the boat, meaning that phantom parts (prims with PHYSICAL_SHAPE_NONE) are ignored. If the bridge does not open for your sailboat, it means your mast has no physical shape and can go through the bridge w/o blocking you but you can still open it manually if you like.
Disclaimer 1 : The bridge is composed of 4 separate linksets. Resizing it to fit your place requires advanced building/editing skills.
Tip for fitting it : Be sure you select the 4 parts before stretching it to the desired length (stretch with the white corner "handles") and then you'll need to edit linked parts if you need to adjust width.
Disclaimer 2 : This drawbridge has been heavily tested during several months and is working flawlessly in Second Norway estate during 7 years. I'm NOT going to modify the scripts to match you personal needs.
It has been built and scripted with realism as a priority (adapted to SL specificities) and the goal of making both waterways and roads enjoyable for their users. It is NOT a simple door script that will open immediately because the opening sequence is complex so there are delays that can not be avoided.
Opening request can be sent by 2 ways, automatically when a boat is detected by boat sensors or manually by touching one of the panels on each side of the bridge.
After receiving a request, the controller will check that no avatar or physical vehicle is on the bridge. If something is detected, the bridge will wait until it's clear before opening (with a timeout of 15 seconds because we don't want to block navigation for someone who is AFK).
Boat sensors (transparent objects, press Ctrl+Alt+T for editing) :
-----------------------------------------------------------------
Boat sensors are optional and you can add as many as you need. Boats detection is directional, be sure to have the sensors arrows pointing to the bridge.
They must be within a 100m range to the bridge.
Using several copies of the bridge :
-----------------------------------
All components of the bridge use an unique private channel but differentiation can be obtained with a prefix (the first word) in objects names.
If you need to put several bridges in the same region (or in a 100m range), you'll have to rename the following obejcts to avoid interaction between 2 bridges :
(root prim) Drawbridge - Pier (main)
(child prim) Drawbridge - Bridge controller
(child prim) Drawbridge - Signal light (x3)
(child prim) Drawbridge - Touch panel (x2)
(child prim) Drawbridge - Gate
(root prim) Drawbridge - Pier (secondary)
(child prim) Drawbridge - Signal light (x3)
(child prim) Drawbridge - Touch panel (x2)
(child prim) Drawbridge - Gate
(root prim) Drawbridge - Drawbridge V2 (x2)
(root prim) Drawbridge - Boat sensor(s)
You can simple add a number (Drawbridge1, Drawbridge2, ...) or replace "Drawbridge" by a more meaningful word.
If you want to be sure it will fit in your place, contact me in world, I can rez it and fit it for a preview.
See item in Second LifeBest Drawbridge!
I'd been looking for a drawbridge for over a month that I could texture and make it my own. one that was realistic and very functional...I bought a couple, but this one is the best...great LOD, very well made and most importantly, Uggo provides amazing customer service, even when it's a USER error ;)! Keep up the great work, Uggo!!!