Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Impossible Things I Want to Do

Bloodsong Termagant
Manic Artist
Join date: 22 Jan 2007
Posts: 615
01-25-2007 08:01
heyas;

have some ideas for scripts i want to make and stuff. and.... near as i can figure from reading the scripting wiki, they're impossible. but since half the stuff they're saying is beyond my poor brain... i'll just ask the experts around here.


can i get the object the avatar is currently editing? without having to throw a script on that object that says 'hey, im being edited!'


can i create an object? you know... rez something? like a sphere.


can i copy an object? my OWN object. there's a button for it in the interface, so theoretically, there should be a script for it.


can i make a freekin egg shape? i've been reading the prim torture article... and the instructions leave a lot to be desired. i tried making a cylinder, tapering it, then changing it to a sphere (in the editor), but that obviously didn't taper my sphere. and then there's something about old shapes, and new shapes, and default forced values....


thanks, guys!
Renee Roundfield
Registered User
Join date: 10 Mar 2006
Posts: 278
01-25-2007 08:10
I've not make a one prim egg, but when making my faberge egg, used half an elongated sphere (actually 2 quarters of an elongated sphere) linked to half a regular sphere of the same circumference.
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
01-25-2007 08:19
From: Bloodsong Termagant
can i get the object the avatar is currently editing? without having to throw a script on that object that says 'hey, im being edited!'


Unfortunately no.

From: someone

can i create an object? you know... rez something? like a sphere.


Yes, but the object you want to rez has to be in the inventory of the scripted object. Then you can rez it with a call to llRezObject.

From: someone

can i copy an object? my OWN object. there's a button for it in the interface, so theoretically, there should be a script for it.


Sort of - when an object rezzes another object, if you have copy permission the original object stays in the inventory so you can rez multiple copies. But you can't copy them in inventory.

From: someone
can i make a freekin egg shape? i've been reading the prim torture article... and the instructions leave a lot to be desired. i tried making a cylinder, tapering it, then changing it to a sphere (in the editor), but that obviously didn't taper my sphere. and then there's something about old shapes, and new shapes, and default forced values....


I think for an egg you need to use two half-spheres, with different sizes, stacked on top of each other - but I'm not such a great builder so there might be a better way :)
Checho Masukami
UnRez it or use a hammer
Join date: 6 Oct 2006
Posts: 191
01-25-2007 08:20
From: Bloodsong Termagant

can i get the object the avatar is currently editing? without having to throw a script on that object that says 'hey, im being edited!'


Without using a script in the object.... i don't think so..


From: someone
can i create an object? you know... rez something? like a sphere.


llRezObject

From: someone
can i copy an object? my OWN object. there's a button for it in the interface, so theoretically, there should be a script for it.


With some use of llRezObject you can generate copies of an object contained in another objects inventory.


From: someone
can i make a freekin egg shape? i've been reading the prim torture article... and the instructions leave a lot to be desired. i tried making a cylinder, tapering it, then changing it to a sphere (in the editor), but that obviously didn't taper my sphere. and then there's something about old shapes, and new shapes, and default forced values....


You can use a Torus with the hole closed and two spheres to cover the holes part in each side. If you want a sample, I cand send you one in about five hours.
Checho Masukami
UnRez it or use a hammer
Join date: 6 Oct 2006
Posts: 191
01-25-2007 08:22
lol! Yumi, maybe we are lost twins!
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
01-25-2007 15:50
you can also make an egg by twisting a torus slightly, so that it forms a semi spherical cone. Then use a sphere to round out the bottom.
_____________________

● Inworld Store: http://slurl.eclectic-randomness.com
● Website: http://www.eclectic-randomness.com
● Twitter: @WinterVentura
Hannah Shenley
Registered User
Join date: 25 Oct 2006
Posts: 21
01-25-2007 17:03
From: someone

can i get the object the avatar is currently editing? without having to throw a script on that object that says 'hey, im being edited!'


If you can get the script to read the name of the object the avatar is editing then you could fake it by re-naming an attached prim and having that say it.

I don't know how you'd workout if an object is being edited tho.
Bloodsong Termagant
Manic Artist
Join date: 22 Jan 2007
Posts: 615
01-29-2007 05:51
heyas;

so, to put it in a nutshell.... ain't no way in heck to build a hud attachment to enhance/replace the standard editing palette. right? gotcha.

as for the egg... i dont want "an egg"! :) i want a tapered sphere to build with, so i have an egg-shape with one prim, instead of having to build multiple spheres and torii and whatnot to get one shape.
what i meant was, can't i (or HOW can i, more helpfully) 'torture' a sphere to make it tapered?
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
01-29-2007 09:41
Prim torture requires carefully planned and executed calls to llSetPrimitiveParams to make shapes do the impossible. The old Wiki contains a LibraryPrimTorture entry which might help you:

http://rpgstats.com/wiki/index.php?title=LibraryPrimTorture

If you don't mind it being a tad inaccurate, just use an ellipsoid (sphere stretched in one direction).

Regarding making a prim editor HUD, it is possible, but would be very clunky compared to the viewer's build tool. Making a HUD which adds some nice extensions to the build tool might come in handy, though. :)
Doradiia Nuvolari
Registered User
Join date: 6 Aug 2006
Posts: 31
01-29-2007 11:56
I agree that replacing the build to = pht... but extending it with a hud would be very cool Like being able to easily set 100% transparency which you can do in a script but not the build tool. (Why don't they just remove such limits on the build tool?)

just to blather...

At a guess a hud could be used to rez a prim (from inventory) and then communicate with it to change it, and the script in the prim could autodelete it-self after recieving a command from the hud. The rezzed prim to be edited could name it-self and say it's name so that you could switch from editing one prim to another (the hud listening for the prims).

Perhaps the hud could be designed to send the sript to an object as well, so you could use it on things you have already built. Though as I recall you have to know the prim's PIN and I think you can only determine that via a script, so you'd have to manually put a script in each prim not rezzed by the hud anyway.

Nice goodies for this... automated prim tourcher, 100% tranparency, rotation tools (I dunno about you but sometimes getting a prim to rotate the direction you want is frustrating as hell for me), miniturizing techniques, 3 face and 5 face panels, ect...
Emma Nowhere
Registered User
Join date: 15 Aug 2006
Posts: 29
01-29-2007 15:49
For extending the building tools, it probably makes more sense to look at the types of things described here: http://jacek-antonelli.blogspot.com/search/label/xui

I'd have to guess that with the client source, it should now be possible to do a lot more of this sort of thing.