Jump to content
  • 0

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


Adam Spark
 Share

You are about to reply to a thread that has been inactive for 3752 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 comment
Share on other sites

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...