Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Swayin' in the breeze

Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
07-04-2004 11:11
Hi, I recently got into SecondLife, and have what's hopefully a simple question about building...

I create cube with dimensions of <.01,.01,8> that's supposed to look like a rope (yes, bear with me), and I put it in between 2 trees, to look like a piece of rope is tied between the 2 trees. I then put 2 copies of a chinese paper lantern I made on the rope...

Well, as you may have guessed, the rope and lanterns stay perfectly still, but the trees sway in the wind... At first this wasn't a real problem, but no matter how I align my rope, every time the wind changes and the rope is no longer touching the trunk of the tree...

So, is there a way to fix this? I tried linking the rope to the trees with no luck, is there any way to make objects sway with the wind, or solve this problem? :)
Buck Weaver
Unsolicited Onterator
Join date: 18 May 2003
Posts: 251
07-04-2004 11:57
You are using Linden trees that are set to sway in the breeze. One (the easiest) solution is to use trees that were made in world, by individuals, not by Lindens. They are avaialable numerous places, many for free, but if you can't find them, IM me and I'll drop you some.
_____________________
My karma ran over your dogma.

Thoughts become things.
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
Can't... move...
07-04-2004 22:34
Yeah, I like how they sway in the breeze, tho... Would look even cooler if I could make other things sway in the breeze, but thankyou for the suggestion, I might end up doing just that! ^_^
Buck Blanc
Master Mechanic
Join date: 11 May 2004
Posts: 50
07-05-2004 11:04
I also have a huge folder full of trees and plants that would work for you, Im me in game and I will give you a copy :)
Ryen Jade
This is a takeover!
Join date: 21 Jun 2003
Posts: 1,329
07-05-2004 11:07
You could always script the ropes and fake it, its possible to get the wind speed and direction and then script the ropes to 'sway' according to that information. I cant script it (dont know the commands) but ask around and im sure someone could.
_____________________
From: Korg Stygian
Between you, Ryen the twerp and Ardith, there's little to change my opinion here.. rather you have reinforced it each in your own ways


IM A TWERP, IM A TWERP! :D

Whats a twerp? :confused:
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
Ahh!
07-05-2004 19:36
Awesome, Ryen, that's what I was looking for. If I can't find someone who knows how to script it or get something set up in a bit I'll post in the script forum then, thanks! :D
Snakekiss Noir
japanese designer
Join date: 9 Dec 2003
Posts: 334
also seeking wind sway script
07-10-2004 04:02
based on the linden trees and bushes sway in wind I am also seeking a wind sway script to apply to other objects, if anyone has this for gift or sale or commission, pls contact me.
Moriash Moreau
Registered User
Join date: 1 Jan 2005
Posts: 39
Wind speed magnitudes?
01-05-2005 08:38
I'm in the process of making a couple of scripts that pull data from the wind vector, but I'm not sure of the range of the values in the resulting components. Does anyone know the maximum in-game values of the wind vector components, or the maximum in-game wind speed? (It'd also be handy to know if those numbers correspond to any real-world velocity units.) In a quick sample of total magnitude, speeds returned a value around 1 to a value of around 15, but I have no way of knowing if those speeds could get higher under some circumstances.

Thanks,
Moriash
Khamon Fate
fategardens.net
Join date: 21 Nov 2003
Posts: 4,177
01-05-2005 08:43
i've experimented with translating wind vectors to object rotations.

i found it to be a very efficient way to bring a sim crashing down around oneself.
_____________________
Visit the Fate Gardens Website @ fategardens.net
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
Oh yah, I did post asking this. :P
01-05-2005 09:35
Oh! I forgot I posted this! I got a basic version worked out, at (Swain 170,70)... They don't sway the same as the Linden trees, I actually made them move a bit more... I had to put a prim under the ground to "balance" the rotation and make it look right, but it works for trees and bushes. :)

Moriash, I've seen the windspeed get up to 30, but don't know if there's a "max", would be nice to know...

Buck Blanc, if you still exist, IM me in the game or let me know what your new name is because I don't see an existing player named "Buck Blanc" here, half a year later when I stumbled back across my post.
Khamon Fate
fategardens.net
Join date: 21 Nov 2003
Posts: 4,177
01-05-2005 10:34
this is nice. the description says MODIFY, but they are no mod. i bought one to play with and test the stats. i might end up needing more though.

is the script itself for sale?
_____________________
Visit the Fate Gardens Website @ fategardens.net
Spider Mandala
Photshop Ninja
Join date: 29 Aug 2003
Posts: 194
01-06-2005 11:14
making the rope sway smoothly with the trees would be a pretty impressive trick, believe I'd like to see this. I think the way I'd go about it (the lame semi-cheating way) would be to make static prim trees, and static prim rope... but to script up some lanterns to fetch the windspeed and "sway" by turning on/off invis textures, i.e. three models per individual lantern that would switch off and on at high enough wind speeds. It doesn't really do exactly what you want but it gives the feeling of swaying in the breeze. Just a thought.
_____________________
"There's an old saying in Tennessee, I know it's in Texas, probably in Tennessee, that says, fool me once... shame on... shame on you. You fool me, you can't get fooled again."
-George W. Bush
East Literature Magnet School, Nashville, Tennessee, Sep. 17, 2002
Ardith Mifflin
Mecha Fiend
Join date: 5 Jun 2004
Posts: 1,416
01-07-2005 19:51
This reply isn't going to be constructive, so you've got my apologies up-front.

I wish that SL were as technologically mature as Half-Life 2. Not only we would we be able to string a real rope between the two trees, but that rope would be pulled to and fro by the trees as they swayed in the breeze, and the lantern would very realistically move about. God, I love HL2's Havok 2 implementation.
Alan Palmerstone
Payment Info Used
Join date: 4 Jun 2004
Posts: 659
01-09-2005 00:19
From: Ardith Mifflin
This reply isn't going to be constructive, so you've got my apologies up-front.

I wish that SL were as technologically mature as Half-Life 2. Not only we would we be able to string a real rope between the two trees, but that rope would be pulled to and fro by the trees as they swayed in the breeze, and the lantern would very realistically move about. God, I love HL2's Havok 2 implementation.


Along the same lines, when I was about finished with the Water Hazard level in HL2 , I found myself spending quite a bit of time wandering around looking at the plants and other environmental details. I wonder how much of that we are going to get.
_____________________
Visit Parrot Island - relax on the beach, snuggle at the waterfall, ride the jetskis, make a movie and buy a pool!