HUD of Buttons
HUD of Buttons - Multi Cam, 1 Script, Many Buttons HUD, Fast Cam View Switcher.
This "1 Script, Many Buttons Script" was created by Tig (tigerr.eyre) on 23-24 Nov 2014, when we spoke about driver cams and the Multi Cam, 1 Script, Many Buttons HUD, Fast Cam View Switcher. that I was working on and needed help with. Tig mentioned UDFs, User Defined Functions, for such a Cam HUD and then created it.
I added my Multi Cam, 1 Script, Many Buttons HUD, Fast Cam View Switcher's Camera parameters to it, with the icons too.
NOTE!!!: Some of the views may seem not to work correctly but that is because peeps are different sizes and the root prim or the particular pose scripts prim is in different places in different vehicles, so you must just edit the particular position info for the particular view, in the script, in small increments, to get the view to display correctly for you.
For example, you simply change the coordinates of the particular view: in the script, as shown below, when dealing with Driver POV, by editing the CAMERA_FOCUS_OFFSET:
_____________________________________________________________
button9_UDF()
{llOwnerSay("driver_pov"); // say function name for debugging
if (PERMISSION_CONTROL_CAMERA)
{
llSetCameraParams([
CAMERA_ACTIVE, 1, // 1 is active, 0 is inactive
CAMERA_BEHINDNESS_ANGLE, 0.0, // (0 to 180) degrees
CAMERA_BEHINDNESS_LAG, 0.0, // (0 to 3) seconds
CAMERA_DISTANCE, 0.5, // ( 0.5 to 10) meters
//CAMERA_FOCUS, <0.0,0.0,5.0>, // region relative position
CAMERA_FOCUS_LAG, 0.0, // (0 to 3) seconds
CAMERA_FOCUS_LOCKED, FALSE, // (TRUE or FALSE)
CAMERA_FOCUS_THRESHOLD, 0.0, // (0 to 4) meters
CAMERA_PITCH, 5.0, // (-45 to 80) degrees
//CAMERA_POSITION, <0.0,0.0,0.0>, // region relative position
CAMERA_POSITION_LAG, 0.0, // (0 to 3) seconds
CAMERA_POSITION_LOCKED, FALSE,// (TRUE or FALSE)
CAMERA_POSITION_THRESHOLD, 0.0, // (0 to 4) meters
CAMERA_FOCUS_OFFSET, <2.50,0.40,-0.49> // <-10,-10,-10> to <10,10,10> meters
_____________________________________________________________
Buttons order, from Left to Right, along the HUD::
1) On/Off Button
2) Default Cam
3) Focus on me
4) Left Cam
5) Right Cam
6) Side Cam
7) Overhead Cam
8) Spin Cam
9) Driving Cam (Helicopter Cam)
10) Rearview Cam
11) Driver POV Cam
Add more camera positions in the script, buttons on the HUD and icons from the contents, or from the link provided, as needed, if you have the experience, or if not, make a backup copy first, then practice and learn LSL by playing around with the code and options and prims while reading more on LSL and creating in SL.
The Button icon Textures on and in the HUD are NOT full perm but you can just download them from the site mentioned below and then upload them to SL. if you want them full perm.
Button Icons are from: http://icons.mysitemyway.com/category/3d-glossy-blue-orbs-icons/
Change them from the icon textures inside the HUD contents.
Change the HUD colors to suit you, in the script, with code from here: http://realmsintime.com/index.php/tools/335-color-codes-for-second-life
DO NOT SELL THIS HUD OR THE CONTENTS. THE FULL PERM PARTS OF THIS HUD SYSTEM ARE TO REMAIN FULL PERMS, FREE AND SHARED FREELY, FOR PERSONAL USE AND TO LEARN FROM.
Have fun!
Wilde Destiny
very useful small gadget
i love being able to switch camera view quickly- there are several settings included that are immediately useful to me
thank you very much
small gripe about the textures in the HUD making it no copy / no mod but thanks for the download link
L$ 0
Use It Now
This item will be delivered directly to you or a friend in Second Life, unpacked and ready to use. No land or sandbox required.
- Copy
- Modify
- Transfer
- User Licensed