Poseball position in MLP
|
Marcel Flatley
Sampireun Design
Join date: 29 Jul 2007
Posts: 2,032
|
12-04-2007 13:16
Does anyone have experience with adapting MLP? Making it work for a set of custom animations is no problem, but the poseballs seem to disappear into the seat of my couch. Somehow I guess there must be a way to adapt the position of the balls but beats me how. In the meantime I will try what happens if I make another part the rootprim, but it would be nicer if I knew how to adapt the placing. Using the offsets doesnt only place the balls higher, but makes my avatar float above the seats as well  Greetings, Marcel
|
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
|
12-04-2007 16:18
Inside the ~ball object there is a script, also called ~ball. If you open that up to edit I bet there's a line that sets llSitTarget; it would look like this but likely with different numbers: llSitTarget(<0.0, 0.0, 0.1>, <0.0, 0.0, 0.0, 1.0>  ; If you change the third number to some negative value, that will make it so you sit below the ball by some amount, so that when you adjust the position to get your tush on the couch the balls will still be up above where you want them. Like this, but play with the number to get the desired effect: llSitTarget(<0.0, 0.0, -0.5>, <0.0, 0.0, 0.0, 1.0>  ; Makes you sit with your hips 0.5 meters below the balls. Couple of things: - don't set all three of the numbers to 0 or the sit target will stop working at all - MLP balls have a "die" function so they don't accidentally get left behind anywhere; they listen for a periodic "stay alive" message from the main MLP object. So when performing surgery on a standalone ball, temporarily stop the ~ball script from running until you're done, then turn it back on. Or just work quickly  - pay attention to what you're doing and be sure and have a backup copy of your MLP - you'll need to rez the MLP, edit it, copy a ~ball from it to your inventory, rez it, edit and save the script, pick up your new improved ~ball, delete the old ~ball from inside the MLP, drag the new ~ball into it as a replacement... you can see you'll end up with copies of the ~ball in various places and you'll need to keep track of what's what. Hope that helps some 
|
Marcel Flatley
Sampireun Design
Join date: 29 Jul 2007
Posts: 2,032
|
12-05-2007 00:30
Hello Anti, Well if that is true it won't help me a little but a great deal  Somehow I got through all the scripts, without looking in the poseball itself! Will try tonight as this is worktime  Anyway I want to try and adapt MLP much more then this, because for a couch with 3 positions i want people to be able to pick at the first click instead of going through menu's. Next challenge will be putting the poses on the very first menu, might post questions about that part later on... I'm very happy with your answer! Thanks, Marcel
|
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
|
12-05-2007 00:56
I just realized I borked the syntax a bit and completely neglected the rotation argument in llSitTarget - you may already know this, but the script line will look different from my example. Like this: llSitTarget(<0.0,0.0,0.1>, <0.0, 0.0, 0.0, 1.0>  ; or maybe like this llSitTarget(<0.0,0.0,0.1>, ZERO_ROTATION); Either way it's the first grouping of numbers that adjusts the position. Sorry if my laziness causes you any confusion, and likewise sorry if you already knew that and so I'm explaining the obvious.
|
canis Oh
Registered User
Join date: 30 Mar 2007
Posts: 33
|
where to get ML?
12-05-2007 01:20
So it's still around? I went looking for MLP a couple of weeks ago without success. Can someone say where to find it these days. I have found Miffy's non-open source version but would appreciate the former. Thanks.
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
12-05-2007 06:06
well it WAS in the scripting Library... seems to have been removed... EDIT: very odd, the forums didn't like my search terms, but here it is.... 
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
|
12-05-2007 07:10
From: canis Oh So it's still around? I went looking for MLP a couple of weeks ago without success. Can someone say where to find it these days. I have found Miffy's non-open source version but would appreciate the former. Thanks. Also, if you go to Miffy Fluffy's profile inworld, there are picks for both the most recent MLP (open source) and XPOSE, its non-open-source successor.
|
Marcel Flatley
Sampireun Design
Join date: 29 Jul 2007
Posts: 2,032
|
12-06-2007 02:29
And if you can find it drop me an IM and I will send it to you. @Anti: Don know wether my furniture appeals to you at all, but if it does feel free to choose an item from my still small collection! Your answer solved my problem so i am very glad  Still have to implement the script exactly the way I want, but as soon as thats done, the item of your choice will be yours  Greetings, Marcel
|
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
|
12-06-2007 07:45
Marcel, thanks for your very generous offer but there's no need - I'm happy I was able to help, that's what this forum is for! I'll be sure to come check out your shop though, it's always fun to see what people are creating in SL, more so people I've met on the forums or in-world 
|
canis Oh
Registered User
Join date: 30 Mar 2007
Posts: 33
|
mlp found now
12-08-2007 02:15
void: Thankyou for the URL.
|