Jump to content
  • 0

Does the new 64m prim limit only affect mesh-enabled Viewers?


You are about to reply to a thread that has been inactive for 3316 days.

Please take a moment to consider if this thread is worth bumping.

Question

2 answers to this question

Recommended Posts

  • 0

You don't need a mesh-enabled viewer.  If you use Phoenix, you just need to go into Preferences and enable the 64m-prim option.  Some other viewers may also have that option built in. Regardless of which viewer you are using, however, you can also change prim sizes with a script like this one ....

vector gSize;default{    state_entry()    {        gSize = llGetScale();        llListen(34,"",llGetOwner(),"");    }    listen(integer channel, string name, key id, string msg)    {        integer idx = llSubStringIndex(msg,"=");        if (~idx)        {            string Axis = llToLower(llStringTrim(llGetSubString(msg,0,idx-1),STRING_TRIM));            integer ChAxis = llListFindList(["x","y","z"],[Axis]);            float Dim = (float)llStringTrim(llGetSubString(msg,idx+1,-1),STRING_TRIM);            if(ChAxis == 0)            {                gSize.x = Dim;            }            else if (ChAxis == 1)            {                gSize.y = Dim;            }            else if (ChAxis == 2)            {                gSize.z = Dim;            }            else            {                llOwnerSay("Error: Axis not recognized. Your message must be in the format \"X = 50.0\".");            }        }        else        {            llOwnerSay("Error: There must be a \"=\" sign between the axis label and the dimension.");        }    }        touch_start(integer total_number)    {        llSetScale(gSize);        llOwnerSay("The prim's size has been reset to " + (string) gSize);        llSetTimerEvent(300.0);    }        timer()    {        llOwnerSay("Resizing is complete. Cleaning up now.");        llRemoveInventory(llGetScriptName());    }        changed (integer change)    {        if(change & CHANGED_OWNER)        {            llResetScript();        }    }}

 Just drop it into a single prim that you want to resize.  Then type new dimensions in chat in the form /34 X = 50.2 or /34 Y = 22.9 or /34 Z = 38.7.  Click on the prim to resize it to your chosen dimensions, up to 64m in any direction.  The script will remove itself after 5 minutes.

 

 

  • Like 1
Link to post
Share on other sites
You are about to reply to a thread that has been inactive for 3316 days.

Please take a moment to consider if this thread is worth bumping.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...