Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Slides

Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
05-03-2006 12:56
How on Linden can I get a playground slide to work?

I assume it would take a script, but I dunno. I have no experience here with scripts.

Does anyone have a slide sit script for a slide in a park? Not a water slide, just a straight, small, kid-style slide.

Mari
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
05-04-2006 09:40
From: Marianne McCann
How on Linden can I get a playground slide to work?

I assume it would take a script, but I dunno. I have no experience here with scripts.

Does anyone have a slide sit script for a slide in a park? Not a water slide, just a straight, small, kid-style slide.


More on this, after another bounce though the scripting wiki. Please, someone tell me if I know what I'm doing at all?

It would seem that a script for such would require three functions:

llStartAnimation (to actually put the avatar into a seated position using an animation)
llMoveToTarget (to move the avatar from the top to the bottom of the slide - or should that be llSetPos ? Can this be a relative number?)
llStopAnimation (to end the seated animation, assuming the animation doesn't do it already)

Any help would be required. I'd also be keen on having a custom script done, 'cuz this is getting frustrating.

Mari
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
05-04-2006 10:00
Wouldn't it be easier to have them sit on a prim that turns physical and slides down the slide? Kinda like the inner tube in the water slides, or a mini vehicle, depending on how you want to look at it. It will be more difficult to have someone sit on a fixed prim that's part of the slide, and then move that prim, I think. And since you don't want an inner tube, you could have this 'vehicle' prim go invisible once the person sits on it, so it looks like they're sliding on the slide itself.

Just an idea.
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
05-04-2006 10:37
From: Ziggy Puff
Wouldn't it be easier to have them sit on a prim that turns physical and slides down the slide? Kinda like the inner tube in the water slides, or a mini vehicle, depending on how you want to look at it. It will be more difficult to have someone sit on a fixed prim that's part of the slide, and then move that prim, I think. And since you don't want an inner tube, you could have this 'vehicle' prim go invisible once the person sits on it, so it looks like they're sliding on the slide itself.

Just an idea.


Would it be easier? I dunno. This is *totally* new ground for me.

Mari
Baron Hauptmann
Just Designs / Scripter
Join date: 29 Oct 2005
Posts: 358
05-04-2006 10:43
I think Ziggy has got the right solution . . . as far as I know, llMoveToTarget and llSetPos are for prims, not for avatars. So have someone sit on the top of the slide, start animation, make prim invisible, and move the prim she is sitting on . . . either by physics or by using llMoveToTarget or llSetPos. I'm not sure which would work better for that. Then, when movement stops or when the invisible prim reaches a certain point, have the avatar forced to unsit, maybe.


Baron Hauptmann
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
05-04-2006 10:47
From: Baron Hauptmann
I think Ziggy has got the right solution . . . as far as I know, llMoveToTarget and llSetPos are for prims, not for avatars. So have someone sit on the top of the slide, start animation, make prim invisible, and move the prim she is sitting on . . . either by physics or by using llMoveToTarget or llSetPos. I'm not sure which would work better for that. Then, when movement stops or when the invisible prim reaches a certain point, have the avatar forced to unsit, maybe.


Baron Hauptmann


That sounds *basically* like what I'm looking for, yes. I mean, it could just be something in something that looks like a poseball, for that matter, couldn't it? I just don't know enough to make it work.

Mari
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
05-04-2006 11:08
Right, it would be like an invisible moving poseball. Once the person sits, go invisible, start the animation, and figure out some way to get to the bottom of the slide :) One way might be to turn physics on, and give it a gentle push in the direction needed, and hopefully if the slide is built right, the prim (with the person on it) will just slide down to the bottom. Then unsit the avatar and kill the prim (if a new prim is rezzed for each slider), or make the prim visible again, turn physics off, and move it back too the top of the slide.

You should be able to find a free poseball script in the forum that'll take care of all the "figure out when a person sits on me and start an animation" part. Maybe even the hide/unhide stuff. Some other functions you might need:

llSetStatus for turning physics on/off
llPushObject or llMoveToTarget to get the prim moving
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
05-04-2006 11:25
From: Ziggy Puff
You should be able to find a free poseball script in the forum that'll take care of all the "figure out when a person sits on me and start an animation" part. Maybe even the hide/unhide stuff. Some other functions you might need:

llSetStatus for turning physics on/off
llPushObject or llMoveToTarget to get the prim moving


I've done poseballs, and have a pretty basic poseball script, so that part I know. It's the SetStatus and Puch / MoveToTarget I dunno.

Mari
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
05-04-2006 12:45
Maybe try finding gun/bullet scripts? There are a few free ones floating around, I think, and they should have some of the functionality you need.

Or maybe someone will come along and write this script for you :)
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
05-04-2006 13:15
From: Ziggy Puff
Maybe try finding gun/bullet scripts? There are a few free ones floating around, I think, and they should have some of the functionality you need.

Or maybe someone will come along and write this script for you :)


Hmn... I had not thought about the guns (I have never been around guns in-game). That is a thought.

Ya... I'm a dunce. That's why I've asked in the wanted forum for someone to do the script. :-(

Mari
Les White
sombish
Join date: 7 Oct 2004
Posts: 163
05-04-2006 13:28
You could do this all with an animation depending on the size of the slide. No need for any moving parts.
_____________________
Siggy Romulus
DILLIGAF
Join date: 22 Sep 2003
Posts: 5,711
05-04-2006 14:02
Contact me in world - I'm sure I could get one of my smaller waterslides modified as a playground slide - wouldn't be that difficult.

If you do a 'find' for waterworks you can see the ones I've done - wouldn't be that much of a task to get the smallest one modified.
_____________________
The Second Life forums are living proof as to why it's illegal for people to have sex with farm animals.

From: Jesse Linden
I, for one, am highly un-helped by this thread
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
05-04-2006 14:03
From: Les White
You could do this all with an animation depending on the size of the slide. No need for any moving parts.


I could?

It is a small slide, but wouldn't, at the end of the animation, you just be back at the top of the slide?

Mari
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
05-04-2006 15:12
From: Marianne McCann
It is a small slide, but wouldn't, at the end of the animation, you just be back at the top of the slide?
No, because you would have the animation *end* with the avatar at the sit point.
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
05-04-2006 16:19
Ahh, neat. I found a diving board that did a neat dive animation, but when I clicked the 'stand up' button, I was back at the diving board. Which I thought spoiled the effect a little.
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
05-04-2006 21:46
From: Les White
You could do this all with an animation depending on the size of the slide. No need for any moving parts.


This sounds intriguing. As it is, these are small slides I'm talking about. I could show these in-world, but the length of them is actually pretty small.

Mari
Siggy Romulus
DILLIGAF
Join date: 22 Sep 2003
Posts: 5,711
05-04-2006 22:25
Ah well - last offer - go down to waterworks in gallinas and look at 'the slide' - the smallest of my slides. It pretty much looks like a park slide and already functions much the way folks are discussing.

I could rip the water off it and retuxure one - done.
_____________________
The Second Life forums are living proof as to why it's illegal for people to have sex with farm animals.

From: Jesse Linden
I, for one, am highly un-helped by this thread
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
05-05-2006 07:11
From: Siggy Romulus
Ah well - last offer - go down to waterworks in gallinas and look at 'the slide' - the smallest of my slides. It pretty much looks like a park slide and already functions much the way folks are discussing.

I could rip the water off it and retuxure one - done.


I've looked at t"the slide" It is a cool one. I'll stop by again today and take a second look. :-)

Mari
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
05-05-2006 12:03
From: Siggy Romulus
Ah well - last offer - go down to waterworks in gallinas and look at 'the slide' - the smallest of my slides. It pretty much looks like a park slide and already functions much the way folks are discussing.

I could rip the water off it and retuxure one - done.


Siggy -- I was just over at the water works. That is *exactly* what I'm looking for as far as the script and stuff. I'd definitely be interested.

Mari