Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

The Ridiculously Simple Method to a Phantom Av

Beatfox Xevious
is THOUSANDS OF PEOPLE
Join date: 1 Jun 2004
Posts: 879
05-31-2005 18:59
Here is the bare-bones method for making your av phantom. If you've ever gotten sick of trying to navigate around rezzing buildings, and you wish you could just fly right through them, this is all you need to use to achieve it.

The first step is setting up the prim. Rez two spheres side-by-side and link them. Using "Edit linked parts", select the child prim and put the following script in it:

CODE
default
{
state_entry()
{
llVolumeDetect(TRUE);
}
}


After saving the script, unlink the prims and delete the one you put the script in. The remaining prim should now act like a phantom prim, even though it's not set to phantom. Next, place the following script in it:

CODE
default
{
state_entry()
{
llListen(1, "", llGetOwner(), "");
}

listen(integer channel, string name, key id, string message)
{
if (message == "phantom on")
{
llSetScale(<.4, .4, .4>);
llSetScale(<.5, .5, .5>);
}
else if (message == "phantom off")
{
llResetScript();
}
}
}


Finally, attach the prim. Type "/1 phantom on" to turn on phantom mode, and "/1 phantom off" to turn it off. That's all there is to it! Note that this is intended for flying only; it can do some pretty funky stuff in walk mode. :p

Feel free to add your own bugfixes & embellishments to this.
_____________________
My Beatworks: Zephyr Chimes wind chimes, the KanaMaster Japanese kana tutor, and the FREE Invisibility Prim Public. Look for them at the Luskwood General Store in Lusk (144, 165).

"You have been frozen. You cannot move or chat. A pony will contact you via instant message (IM)."
- mysterious system message I received after making off with Pony Linden
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
Discussion Thread:
06-02-2005 22:03
/54/92/48925/1.html
_____________________
i've got nothing. ;)
Beatfox Xevious
is THOUSANDS OF PEOPLE
Join date: 1 Jun 2004
Posts: 879
06-02-2005 23:53
Note that this method does NOT support sim crossings. You would need to use llSetScale whenever crossing a sim border.
_____________________
My Beatworks: Zephyr Chimes wind chimes, the KanaMaster Japanese kana tutor, and the FREE Invisibility Prim Public. Look for them at the Luskwood General Store in Lusk (144, 165).

"You have been frozen. You cannot move or chat. A pony will contact you via instant message (IM)."
- mysterious system message I received after making off with Pony Linden