Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How do i make my board a flying vehicle

Hamish Soderstrom
Registered User
Join date: 3 Apr 2007
Posts: 1
06-24-2007 06:45
I have spent the best part of two weeks trying to figure out how to make a flying vehicle and i have made the object but i cant drive/ride it i want to make it fly with me on it i have attempted numerous times to right the script all resulting in failure does any one have some pre written script that i could copy and paste or even better explain to me exactly what too put in and where to make it fly

thx and kind reguards hamish

ps im killing too know how lol
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
06-24-2007 07:20
Consult Scripting Library forum for numerous examples. Perhaps start with Cubey Terra's classic "Basic Airplane," /15/69/61209/1.html
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
06-24-2007 07:29
There's a forum called Scripting Tips in these forums.secondlife.com. One good way to learn about scripting is to read that forum. Every day, just read a bunch of the questions and answers in the scripting tips forum. It doesn't need to be directly related to your immediate goal of making a flying vehicle. By reading the threads posted there you will exposing yourself to the vocabulary and thought practices used in scripting.
As an example, you will see that scripting requires very careful typing, using proper spelling, punctuation, and capitalization. Some scripters may not be the best writers in the world, but when it comes to their scripts, they either have to get as precise and fastidious about their typing and writing as a high school English teacher might be, or else their scripts won't run properly.

There's a site with a wiki on the Linden Scripting Language at lslwiki.net. That site has introductory material on LSL scripting. Read all of the introductory material. You may not understand it all, but don't let that stop you from reading it. Some of it will be sinking in. It will make more and more sense on later re-reading.

There are places to get free objects with scripts in them, editable scripts that you can use or modify. Yadni's Junkyard is one such place. NCI, the New Citizen group, gives out free stuff, and so does the Shelter. Drop by those places and get their free items and check out whether they have copyable, modifiable scripts in them.

There are inworld lessons on scripting that you can find by putting script in as a search term in the Events search dialog. Drop by those classes.

There's a Scripting Guide that comes with every installation of SL, in the program folder. This is called lsl_guide.html, and it's also available on the web at http://secondlife.com/developers/resources/pdfs/LSLGuide.pdf . Read every bit of that from start to finish, and the chances are good you'll have a little more knowledge about scripting when you're done than you did when you started.

I just gave you a couple hundred short, simple scripts.


Those are good things to fiddle with.


Just go to a sandbox, read sample scripts and pick one that seems like it might be amusing or educational and drop one script at a time into a prim and see if you can modify it. Making small modifications to short scripts is another useful approach to learning how to script. As an example of what sorts of changes you'd be expecting to start out with, if you have a script that makes an object say "Hello", change it to make it say "Goodbye". If you have a sample script that turns an object blue, change it turn the object red. The goal in this method of learning is not to start out trying to write a big huge script that does all sorts of complex stuff, it's just learning the basics, practicing your reading scripts with comprehension skills, learning to spot what parts of a script do what, and getting used to the need for absolute precision in your typing.

There's another scripting wiki provided by Linden Lab and the SL user community at http://wiki.secondlife.com/wiki/LSL_Portal . It's got lots of useful info in it, and it's the official Linden Lab provided wiki, so one should get used to looking at that site for scripting info along with the wiki at lslwiki.net.

I've also given you twenty or so free vehicles. Those all have modifiable, copyable scripts in them to fiddle with and learn from.

Good luck with your scripting.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-