Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 103,123
» Latest member: R4V3NOUSDREAM
» Forum threads: 25,613
» Forum posts: 77,027

Full Statistics

 
  Sit camera positioner
Posted by: steadymobbin - 02-18-2013, 03:08 AM - Forum: Communication Scripts - No Replies

1. Without sitting, drop the Sit Camera Positioner script into your object. Don't accept the permission request yet.
2. Move your camera to where you want it to be.
3. Accept the permission to track your camera.
4. That's all! Sit to check whether it worked. If not, try pressing Esc a few times--the camera may only snap to the specified position if it's not zoomed in on something.

PHP Code:
default
{
state_entry()
{
llRequestPermissions(llGetOwner(), PERMISSION_TRACK_CAMERA);
}

run_time_permissions(integer perm)
{
if(
perm PERMISSION_TRACK_CAMERA)
{
if(
llGetPermissionsKey() == llGetOwner())
{
vector object_pos llGetPos();
rotation object_rot llGetRot();
vector camera_pos llGetCameraPos();
llSetCameraEyeOffset((camera_pos object_pos) / object_rot);
llSetCameraAtOffset(((camera_pos llRot2Fwd(llGetCameraRot())) - object_pos) / object_rot);
llOwnerSay("/me's camera position has been set!");
llRemoveInventory(llGetScriptName());
}
}
}
}



Sit Camera Remover
[/quote]default
{
state_entry()
{
llSetCameraEyeOffset(ZERO_VECTOR);
llSetCameraAtOffset(ZERO_VECTOR);
llOwnerSay("/me's camera position has been removed!");
llRemoveInventory(llGetScriptName());
}

Print this item

  chat to IM
Posted by: steadymobbin - 02-18-2013, 03:06 AM - Forum: Communication Scripts - No Replies

PHP Code:
// local chat to IM
// put this script in an invisible prim and place it on the ground, you will get an IM of the local chat

string mess;
integer channel 0;
default
{
    
on_rez(integer total_number)
    {
    
llSetObjectName(" ");
    
llInstantMessage(llGetOwner(), "");
    
llListen(0"","","");
    }
    
listen(integer channelstring namekey idstring mess)
    {
    
llInstantMessage(llGetOwner(),llKey2Name(id) + " : " +(string)mess);

}} 

Print this item

  [zED] HoloPic Display (Tipjar XML & SCRIPT)
Posted by: steadymobbin - 02-18-2013, 03:02 AM - Forum: Business Scripts - No Replies

[Image: snapshot001vz.png]

PHP Code:
default
{
    
state_entry()
    {
        
llParticleSystem([
                
PSYS_PART_FLAGS256,
                
PSYS_SRC_PATTERN1
                
PSYS_PART_START_ALPHA1.000000,
                
PSYS_PART_END_ALPHA1.000000,
                
PSYS_PART_START_COLOR, <1.0000001.0000001.000000>,
                
PSYS_PART_END_COLOR, <1.0000001.0000001.000000>,
                
PSYS_PART_START_SCALE, <0.8000000.8000000.00000>,
                
PSYS_PART_END_SCALE, <0.8000000.8000000.000000>,
                
PSYS_PART_MAX_AGE5.000000,
                
PSYS_SRC_MAX_AGE0.000000,
                
PSYS_SRC_ACCEL, <0.0000000.0000000.000000>,
                
PSYS_SRC_ANGLE_BEGIN0.000000,
                
PSYS_SRC_ANGLE_END0.000000,
                
PSYS_SRC_BURST_PART_COUNT5,
                
PSYS_SRC_BURST_RATE3.000000,
                
PSYS_SRC_BURST_RADIUS0.000000,
                
PSYS_SRC_BURST_SPEED_MIN0.000000,
                
PSYS_SRC_BURST_SPEED_MAX0.500000,
                
PSYS_SRC_OMEGA, <0.0000000.0000000.000000>,
                
PSYS_SRC_TARGET_KEY,(key)""
                
PSYS_SRC_TEXTURE"87dfd082-f83b-673b-e86b-5fa2d64bedf8"
        
]);
    }


PHP Code:
integer totaldonated;
string owner;


default
{
    
on_rezinteger sparam )
    {
        
llResetScript();
    }
    
state_entry()
    {
        
owner llKey2NamellGetOwner() );
        
llSetText"Ayudanos a continuar\ncon tu colaboracion!.\n" + (string)totaldonated "L$ fueron donados ya!",<.25,1,.65>,1);
    }

    
money(key idinteger amount)
    {
        
totaldonated += amount;
        
llSetText"Argentina punto AR\nte da las gracias\npor donarnos " + (string)amount "$L\n" + (string)totaldonated "L$ fueron donados ya!",<.25,1,.65>,1);
        
llInstantMessage(id,"Gracias por tu colaboracion!!!!");
        
llInstantMessage(llGetOwner(),(string)llKey2Name(id)+" dono L$" + (string)amount);
        
llSetTimerEvent(15.0);
        
llSetText"Ayudanos a continuar\ncon tu colaboracion!.\n" + (string)totaldonated "L$ fueron donados ya!",<.25,1,.65>,1);
    }

Print this item

  simple "set pos"
Posted by: steadymobbin - 02-18-2013, 02:59 AM - Forum: Business Scripts - No Replies

example 1

PHP Code:
integer on TRUE;
default
{
    
touch_start(integer y)
    {
        if(
on == TRUE)
        {
            
llSetPos(llGetLocalPos()+<0,0,0.45>);
            
llPlaySound("c416996b-38f2-dfb1-a5db-a0752ffb7acf",1.0);
            
on FALSE;
        }
        else if(
on == FALSE)
        {
            
llSetPos(llGetLocalPos()-<0,0,0.45>);
            
llPlaySound("034a1292-3445-f08a-2f04-0a2d78459f80",1.0);
            
on TRUE;
        }
    }


example 2

PHP Code:
integer on TRUE;
default
{
    
touch_start(integer y)
    {
        if(
on == TRUE)
        {
            
llSetPos(llGetLocalPos()+<0,0,2>);
            
on FALSE;
        }
        else if(
on == FALSE)
        {
            
llSetPos(llGetLocalPos()-<0,0,2>);
            
on TRUE;
        }
    }

Print this item

  SVN - Networked Vendor System + Holo
Posted by: steadymobbin - 02-18-2013, 02:57 AM - Forum: Business Scripts - Replies (13)

Instruction are inside

[To see links please register here]

Print this item

  Christmas Decor
Posted by: Femme - 02-18-2013, 02:55 AM - Forum: FURNITURE / DECOR - No Replies

[Image: dlkw2u.jpg]

[To see links please register here]


[Image: 25oulno.jpg]

[To see links please register here]


[Image: 351zkax.jpg]


[Image: 34o1wma.jpg]

[To see links please register here]

Print this item

  Treasures of Tuth-Ankh-Amen
Posted by: Femme - 02-18-2013, 02:55 AM - Forum: FURNITURE / DECOR - No Replies

Cosmetic jar
[Image: dxd9g2.png]

[To see links please register here]


Perfume vase
[Image: 34ngrd1.png]

[To see links please register here]


Royal Loungers
[Image: 4zsyfr.png]

[To see links please register here]

Print this item

  Perfect MailBox
Posted by: steadymobbin - 02-18-2013, 02:55 AM - Forum: Business Scripts - No Replies

PHP Code:
list lMail = [];
// column 1 = notecard name, column 2 = read by user
integer     MAIL_UNREADED 0;
integer     MAIL_READED 1;
integer     DIALOG_CHANNEL 49383;
list        
DIALOG_CHOICE =
                [
"Unread",
                 
"Read",
                 
"Delete"];
integer nLastCardCount 0;
integer nLastItemCount 0;
key owner1;
string ownerName;

TxtRefresh()
{
    
// show the unreadable notecard
    
integer nTotalCard 0;
    
integer nNotReaded 0;
    
integer nCount 0;
    for (
nCount 0nCount llGetListLength(lMail); nCount += 2)
    {
        if (
llList2Integer(lMailnCount 1) == MAIL_UNREADED)
            
nNotReaded += 1;
        
nTotalCard += 1;
    }

    
// total string
    
string cPost = (string)nTotalCard " card";
    if (
nTotalCard 1cPost += "s";
    
cPost += " Recu";

       
// unreaded string
    
    
string cUnreaded = (string)nNotReaded " Non Lu";
    
llSetText("MailBox of : " + (string)ownerName "\n"+"Drag your notecard has the inside\n" cPost "\n" cUnreaded, <.95.750>, 1);
}

default
{
    
on_rez(integer n)
    {
        
llSetText(" ",<0,0,0>,0.0);
        
llResetScript();
    }
    
state_entry()
    {
       
owner1 llGetOwner();
        
ownerName llKey2Name(owner1);
       
// Allowing dropping of object
       
llAllowInventoryDrop(TRUE);
       
llListen(DIALOG_CHANNEL""NULL_KEY"");
       
nLastCardCount llGetInventoryNumber(INVENTORY_ALL);
       
nLastItemCount llGetInventoryNumber(INVENTORY_NOTECARD);

       
// Auto complete list
       
integer nCardCount llGetInventoryNumber(INVENTORY_NOTECARD);
       
integer n_CurObj 0;
       
string c_Name "NotEmpty";
       while (
c_Name != "")
       {
            
c_Name llGetInventoryName(INVENTORY_NOTECARDn_CurObj);
            
n_CurObj += 1;
            if (
c_Name != "")
            {
                
lMail += [c_Name];
                
lMail += MAIL_UNREADED;
            }
        }
        
TxtRefresh();
    }

    
touch_start(integer total_number)
    {
        
llSay(0"Drag a note card to leave a message");
//---- Change MY OWNER above to suit your likes and needs.   //
        // if owner
        
key id llDetectedKey(0);
        if (
id == llGetOwner())
        {
            
// Show a dialog
            
llDialog(id"What do you want to do ?"DIALOG_CHOICE,
              
DIALOG_CHANNEL);
        }
    }

    
listen(integer channelstring namekey idstring message)
    {
        if (
llGetOwner() == id && llListFindList(DIALOG_CHOICE,
           [
message]) != -1)
        {
            
integer i;
            
string cName;
            list 
lRemove;
            
integer nStatus;
            for (
0llGetListLength(lMail); += 2)
            {
                
cName llList2String(lMaili);
                
nStatus llList2Integer(lMail1);
                if (
message == llList2String(DIALOG_CHOICE0)
                   && 
nStatus == MAIL_UNREADED)
                {
                    
// open un-readed
                    
llGiveInventory(idcName);
                    
// mark for readed
                    
lMail llListReplaceList(lMail, [MAIL_READED],
                        
11);
                }
                if (
message == llList2String(DIALOG_CHOICE1)
                   && 
nStatus == MAIL_READED)
                {
                    
// open readed
                    
llGiveInventory(idcName);
                }
                if (
message == llList2String(DIALOG_CHOICE2)
                   && 
nStatus == MAIL_READED)
                {
                    
// delete readed
                    
llSay(0cName);
                    
llRemoveInventory(cName);
                    
lRemove += i;
                }
            }
            
// remove from the list
            
if (llGetListLength(lRemove) > 0)
            {
                
integer k;
                for (
0llGetListLength(lRemove); k++)
                {
                    
llList2Integer(lRemovek);
                    
lMail llDeleteSubList(lMailii+1);
                }
            }
            
TxtRefresh();
        }
    }

    
changed(integer change)
    {
        
// dont accept other than a notecard
        
integer nItemCount llGetInventoryNumber(INVENTORY_ALL);
        if (
nItemCount 2)
        {
            
// clear the list
            
lMail = [];
        }

        if (
nItemCount != nLastItemCount)
        {
            
// delete other item type than notecard
            
string cName "NotEmpty";
            
integer nCurObj 0;
            
integer nObjType INVENTORY_NONE;
            list 
lRemove = [];
            while (
cName != "")
            {
                
cName llGetInventoryName(INVENTORY_ALLnCurObj);
                
nCurObj += 1;
                
nObjType llGetInventoryType(cName);
                if (
nObjType != INVENTORY_NOTECARD)
                {
                    
// add for deletion, its not a notecard
                    
lRemove += cName;
                }
            }

            
// delete other object than notecard
            
integer nD 0;
            for (
nD 0nD llGetListLength(lRemove); nD += 1)
            {
                
// dont remove this script !
                
cName llList2String(lRemovenD);
                if (
cName != llGetScriptName() && cName != "")
                {
                    
llSay(0"Sorry " cName "is not a notecard");
                    
llRemoveInventory(cName);
                }
            }

            
// search for a new notecard
            
integer n_CurObj 0;
            
string c_Name "NotEmpty";
            while (
c_Name != "")
            {
                
c_Name llGetInventoryName(INVENTORY_NOTECARDn_CurObj);
                
llSay(0c_Name);
                
n_CurObj += 1;
                
// search for this card
                
if (llListFindList(lMail, [c_Name]) == -&& c_Name != "")
                {
                    
// ok its a new card
                    
lMail += [c_Name];
                    
lMail += MAIL_UNREADED;
                    
llSay(0c_Name " ajouter a la MailBox");
                }
            }
        }
        
nLastItemCount llGetInventoryNumber(INVENTORY_ALL);
        
nLastCardCount llGetInventoryNumber(INVENTORY_NOTECARD);
        
// refresh the text
        
TxtRefresh();
    }

Print this item

  Walnut Large Desk Office Set
Posted by: Femme - 02-18-2013, 02:55 AM - Forum: FURNITURE / DECOR - Replies (1)

[Image: walnutmain.jpg]

[To see links please register here]

Print this item

  Contest Board LRF
Posted by: steadymobbin - 02-18-2013, 02:51 AM - Forum: Business Scripts - Replies (28)

[Image: LRF.png]

[To see links please register here]

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Ultimate Ripping Tool for... 2 hours ago Saeki Amae Saeki Amae Tools (for XM...
  Darkstorm 6.2.0 11 hours ago Lagertha Botter Second Life C...
  I can't give rep points a... Yesterday, 23:34 Saeki Amae Saeki Amae General Discu...
  New Comer Yesterday, 18:53 Namimami Optimus Prime STEP 2: INTRO...
  Ultimate Viewer Project Yesterday, 05:26 Saeki Amae Saeki Amae Tools
  Activity PREVIEW: Aces Ho... 05-16, 22:57 fpOfrOaken Optimus Prime STEP 2: INTRO...
  Malfunction & Missing But... 05-16, 18:50 Lagertha Lagertha STEP 4: ANNOU...
  LaraX non-Avastar and Lar... 05-16, 14:38 Necrok ZeroThe10th Dev-Kits
  What happened to rep poin... 05-15, 14:02 Saeki Amae Saeki Amae General Discu...
  [Help] slm file malformed... 05-15, 12:38 dracovich12 Lagertha Questions?
  [split] error help 05-11, 18:07 ChiisanaTsuki Necrok Questions?
Most views
  ShoopedStorm ... 1211481
  Firestorm Pro... 658246
  DarkStorm v3.... 486349
  DarkStorm v2.... 456260
  SolarStorm wi... 451521
Most reputations
Summer 4963
ZeroThe10th 3294
VaNiTy 3117
Ap0110 2318
Lagertha 1550
Most replies
  ShoopedStorm ... 885
  Firestorm Pro... 718
  Board Rules F... 580
  SolarStorm wi... 516
  DarkStorm 3.1... 405
Top posters
Optimus Prime 6216
Summer 2878
Lagertha 2193
ZeroThe10th 2033
InigoMontoya 1637
Top thread posters
Summer 1765
ZeroThe10th 1180
VaNiTy 1134
Second Life 854
YoungMoney 805
Newest members
R4V3NOUSDREAM Today
ThomasAcelo Today
pinky22 Today
mireillebelle Today
DavidCig Today

About Second Life Copybot

Second Life CopyBot Forum is a place where you can get items for Second Life and other vitual worlds for free. With our CopyBot viewers you can export and import any content from these virtual worlds and modify them in 3D software such as Blender, 3D studio Macx etc...