Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Need A Auto Build Script

Synergy Belvedere
Prim Reaper
Join date: 7 Jul 2004
Posts: 253
09-07-2004 15:49
Hi Gurus,

As most of you know, 9/11 is coming up & I would like to build a fitting tribute for that tragic day. I would like to make a lifesize replica of the twin towers but am not looking forward to making a cube & replicating it 110 times (one for each story) and then linking them all together.

Any chance someone can make an auto copy script where it would take a base prim (the first cube) and read off or heck, just hard code a loop that runs 109 times, putting each successive block 5m above the one below it ?

I'd like all the prims to be linked but I just remembered that it would run into that "objects to far apart to link" crap (and i do mean crap), so maybe every 5-10 cube prims could be linked?

Or would this all just be easier by making 5 cubes and dragging them out 22 times?

Thanks in advance!
-Syn
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
09-07-2004 16:10
Easy peasy...

default
{
state_entry()
{
integer i;
for (i=0;i<110;i++)
{
llRezObject("prim",llGetPos(), ZERO_VECTOR, ZERO_ROTATION,0);
llSetPos(llGetPos()+<0,0,5>;);
}

}

}

or something like that... :)
Carnildo Greenacre
Flight Engineer
Join date: 15 Nov 2003
Posts: 1,044
09-07-2004 20:46
You might run into a problem here: one of the height limits is 512 meters. Above that height, llPushObject doesn't work, and I think a few other script calls don't work.
_____________________
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++;'
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
09-08-2004 07:33
I think they changed it to 768 though. I can now sit on a cube and set its position to 768. Autorezzing works even higher than that though. I've seen people rezzing stuff at 4096 meters.
Synergy Belvedere
Prim Reaper
Join date: 7 Jul 2004
Posts: 253
09-08-2004 09:49
Thanks guys, I actually realized the land wouldnt support that many prims so I made a 70m high set of towers (not sure of the exact x,y coords but it's in Meribel if you want to see them).

They actually look really tall and the texture gives the impression of alot of floors, so it's all good.

You guys still amaze me though :)
Cheers!
-Syn
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
09-08-2004 09:54
llSetPos is limited to 512, the client build tools are limited to 768, you can rez upto the sim ceiling which is 4096.

*cough* there are other ways of moving prims that have higher limits...
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Siro Mfume
XD
Join date: 5 Aug 2004
Posts: 747
09-08-2004 10:17
do tell?
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
09-08-2004 11:00
none higher then the 4096 limit but who wants to build over 2.5 miles (2.54511) anyway?

If i told you they might fix it; alot like how dogs get fixed. So i'd rather not. And it's not like they can't be figured out; just check the wiki for what commands move prims.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Carnildo Greenacre
Flight Engineer
Join date: 15 Nov 2003
Posts: 1,044
09-08-2004 23:00
Aren't prims other than vehicles and attachments auto-deleted above 4096 meters?
_____________________
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++;'
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
09-08-2004 23:19
if it's not attached it's deleted. And honestly SL gets a little flaky above 4k. consider that 4k is half the precision of the floats that make up the vectors... I once flew up to 100 miles up with a set of good high speed wings. I should make a better set...
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey