Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Extremly noob question for fish script

Sahari Marjeta
Registered User
Join date: 26 Mar 2008
Posts: 7
05-25-2008 14:21
Hi, I am trying to build an aquarium for fun and actually make it as detailed as possible.
I tried the attactching fish to a rotating object, but it did look sort of well.. ok you catch my drift.

I have been by some tanks that others have made that appear to have a texture rotating script.
So I tried finding a full perm one that I could take apart and maybe learn from... I did find one. but alas my eyes water when looking at code or script...my mind is too small and perhaps I am too old of a woman to ever learn.

The script itself seemed to make the texture spiral upward like a barber shop pole.. wich didnt do the trick at all.

I was wondering if anyone could help point me in the right direction, to look for a small script that would add a little more life to the aquarium fish....IE: cylander rotate or suggest something else.

Thanks

Sahari
Mrc Homewood
Mentor of Randomness
Join date: 24 Feb 2007
Posts: 779
05-25-2008 16:02
i belive i get what you mean

CODE

default
{
state_entry()
{
llSetTextureAnim(ANIM_ON|LOOP|SMOOTH,ALL_SIDES,1,1,0,1,0.4);
}

}


try playing arouns with that funtion, wiki.secondlife.com is your friend use it to your advantage if you havent already, with that funtion you can also creat a type of gif animation
Sahari Marjeta
Registered User
Join date: 26 Mar 2008
Posts: 7
05-27-2008 16:02
thanks for the help and advice.. I been surving the college of scripting and music too...
Lightwave Valkyrie
Registered User
Join date: 30 Jan 2004
Posts: 666
05-28-2008 23:25
try the swarm script works best with 3 or more fish and if its an aquarium set it for air and set the distance so they stay inside.
/54/0c/9803/1.html
-LW
_____________________
L$ is the root of all evil
videos work! thanks SL :)