Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Resizing tortured prims

Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
10-19-2009 00:43
I've been asked to make some resizer scripts. The potential customer was worried that the fact the items include sculpted nano-prims might cause some problems; apparently some people had told her it could, though she also said that she'd seen items made with them that use resizers, so it must be doable.

I said that I couldn't offhand think what the issue might be, but I'd check. Is there anything of which I should be aware? I know changing some of the constants with llSetPrimitiveParams breaks nano-prims, but is this an issue with PRIM_POSITION and PRIM_SIZE?

And, before everyone starts shouting at me, if I do this, I'm planning on making the scripts -- which I will compile in lsl and not mono -- nag you every time you try to tp, and have them delete themselves anyway after the item's been rezzed for an hour or so.
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
10-19-2009 01:04
LSL is unable to get/set some of the primitive parameters depending on the prim type:
http://jira.secondlife.com/browse/SVC-4418
http://jira.secondlife.com/browse/MISC-2847
llGetPrimitiveParams also fails and throws an error on some unsupported profile/path types:
http://wiki.secondlife.com/wiki/Prims
_____________________
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
10-19-2009 01:05
Don't worry, there is no way to revert accidentally nano-sculpts to regular sculpts... unless you change their map with PRIM_TYPE. This also applies to nano-prims. If you stay away from PRIM_TYPE, you can't break them. All the rest is safe... until we get PRIM_SLICE. ETA: 2025, I heard. </sarcastic>