Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sailboat rezzing above water

Samara Kasshiki
Registered User
Join date: 28 Sep 2006
Posts: 30
11-13-2007 17:41
Well after a day or two I have a LOVELY sailboat that works great. The only problem I have is that when I rez the boat it ends up floating on the water. It really isn't a huge problem since the minute you get on it lowers to the appropriate level and starts. You can of course use the edit menu and move it into your docking spot etc.

Still there must be something obvious (to you script folks) that isn't quite right?

If there is (wink) could someone please give me an old thread to look at or some hints. It may not be the script at all of course. Not a vehicle builder by trade or intent.

Any suggestions welcome. Thanks.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-13-2007 22:55
without knowing how it's scripted/built.... no clue... if it has a vehicle script, I'd imagine the 'enigine' script need to be located a little higher so that the bouancy takes it's offset from there
_____________________
|
| . "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...
| -
Samara Kasshiki
Registered User
Join date: 28 Sep 2006
Posts: 30
11-14-2007 08:54
Thanks Void. I sort of suspected it had something to do with where the script was setting. Since I didn't write the script (only tinkered) and I had to lower the seat (where script is located according to the instructions) in order to get the boat to sail without water in it (wink), I guess I will be happy it is working.

Since -- as I understand it -- the "center" of the boat is determined by where that script is and the mast and spinnaker are so high, that was a clue.

Guess I will leave almost perfect along and be happy with what I have. Appreciate the reply.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-14-2007 21:19
I really haven't done vehicles before, so hard to say...

but since it is +mod, is that script in the root prim? perhaps you could relink the whole thing, with a new root prim, and move the script to that prim... you could then level that prim within the build untill it suits you, and not have to worry about the rezzing above the water?
_____________________
|
| . "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...
| -
Samara Kasshiki
Registered User
Join date: 28 Sep 2006
Posts: 30
11-14-2007 21:53
I had to move the root prim with script (the seat as the script is written) so that the boat would sail correctly and not fill with water. Lowering it solved the problem and all is well there. I am thinking that a possible solution might be to add a "keel" (fin) to the bottom of the boat, thus changing the point the root prim (seat) would need to be. That might work but I haven't had time to try it. I would likely need to change the offset for the "sit" in that case but that isn't a biggie. If that does work I'll post it here for the future and anyone reading it.

The original boat this script came from (a class) had a much lower boat with lower sail (a junk for all practical purposes). So I've been adapting and adding to that script. That boat filled with water for many people too (I know folks that have them) so I suspect the script may be a bit problematic but was the best starting place as I tried the Linden vehicle script and that was just too much to change.

The notes I have say that the script needs to be in the root :) AND that the root needs to be the seat. It could probably be the piece below the seat if I changed the offset though. Will try the keel first.

Ah the adventure. It IS lovely though and it DOES sail better than any of the sailboats I tried so most of the way there and if it isn't "perfect" I can live with a small defect :)))

Thanks for your thoughts.