|
squiz Clifton
Disgruntled Second Lifer.
Join date: 1 Jun 2006
Posts: 123
|
04-01-2007 13:34
OK after many many hours of frustration and headbutting my keyboard, i've been trying to learn how to write scripts. I understand the basic structure of a script as well as being able to use a few of the functions ( im pretty good with particles). But I want to move onto bigger and better things, and my problem is this. I cant for the life of me find any tutorials for LSL anywhere on the net that are suitable for a complete beginner. Does any one know where I can find such a thing, and dont say look at the wikki, because the wikki just like everywhere else i've been to doesnt speak plain ENGLISH and stinks of a big attempt to be 733t and make everyone feel stupid for not knowing what they already know. And inworld classes arent really suitable either as I cant learn at my own pace. Any help would be greatly appreciated 
|
|
Gearsawe Stonecutter
Over there
Join date: 14 Sep 2005
Posts: 614
|
04-01-2007 13:54
The only tutorials I ever had where and know of http://www.lslwiki.net/lslwiki/wakka.php?wakka=LSLTutorialsIt was rough the first few months. Didn't even bother trying to sell anything with in the first few months. My only programming experience was basic back on my old Apple IIe. Sometimes I miss those old simple days.
|
|
bucky Barkley
Registered User
Join date: 15 May 2006
Posts: 200
|
04-01-2007 14:08
Hopefully LSL is not your first language. It even makes Tcl look desirable. However, it's the only game in town.
A good approach is to look at some free scripts that do something simple. Examples might be:
* a light switch * moving a prim between two positions/scales/rotations * flipping textures
Take the free scripts, apply them to your own objects, and see what happens with small changes.
These can all work off of touch events. Get the gist of the that before diving into something more involved (dialogs, listens, linked messages)
The Wiki is a great resource, but half the battle is knowing what you are looking for.
And whatever you do, dont get turned off to programming because of LSL. LSL is a poor example of a scripting language (I would prefer PHP, Perl, JavaScript, Tcl, Python, or Ruby), but it can be coerced into doing wonderful things.
_____________________
Bucky Barkley -- Mammal, Scripter, Builder, Lover
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
04-01-2007 15:06
All I'll add is read this forum. twice. And dont be afraid to ask for help.
|
|
Jopsy Pendragon
Perpetual Outsider
Join date: 15 Jan 2004
Posts: 1,906
|
04-01-2007 15:49
There is no 'easy' way to master a new language, and programming --- regardless of the computer language --- is certainly no exception. The nice thing is once you become familiar with one programming language learning/adapting to other computer languages becomes *MUCH* easier. Part of it is mastery over the syntax, the functions, the grammar, of programming languages... The *really* challenging part, however, is learning how to look at a problem and break it down into pieces that you can handle with program code. Getting paint to stick to a canvas is easy.... getting it to LOOK like something is hard.  You have to train yourself how to see things differently in order to recreate them ... in program code, or with paint... or in prims... etc.  Pick something simple that you want to do. Like a door that swings open and shut. Google up as many different scripts that do that simple thing and study them... look for the parts the same.. and the parts that are different. Experiment with a few and try to get them to do different things. Do this with a few different "specific function" scripts! It can be a very long time before you're ready to whip up a script completely from scratch. Be patient, ask questions, look things up often, keep backup-copies of things that work so that when you break them you can look for differences.... and remember that for every { there's a }. 
|
|
squiz Clifton
Disgruntled Second Lifer.
Join date: 1 Jun 2006
Posts: 123
|
04-01-2007 16:13
ok thanks for the tips guys, as youve said disecting scripts and working stuff out for myself is mostly what im doing now. So I guess it's just a case of perseverance 
|
|
Ryder Spearmann
Early Adopter
Join date: 1 May 2006
Posts: 216
|
04-01-2007 16:23
From: squiz Clifton ok thanks for the tips guys, as youve said disecting scripts and working stuff out for myself is mostly what im doing now. So I guess it's just a case of perseverance  Try this! This looks promising... http://stonedchipmunkrocks.googlepages.com/%5Bbeginners%5D-chapter1%3Aintroduction-Ryder-
|
|
squiz Clifton
Disgruntled Second Lifer.
Join date: 1 Jun 2006
Posts: 123
|
04-01-2007 18:44
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
04-02-2007 02:40
You could also approach people on the Scripting Teachers page, and I believe NCI, TeaZers, TCU etc. run scripting classes too.
|