yup, this is an ad!
Napalm Riot Forums > Coding (Engine SDKs) > LSL

LSL

      Avatar
      Rank
      General of the Riot
      Creed
      MMO
      Joined
      02.21.06

    ӝspot

    Chief Instigator

    Does anyone else here code in Linden Scripting Language (Second Life scripting) much? I've messed around with it a little bit from time to time. Can usually work out anything I need but never taken on a big project, although I've had a lot of them in mind.

    If you have never messed with it, the structure is quite interesting. Script reside in 'prims' (short for primitives) which are exactly that, primitive models in-world. You can have many scripts 'inside' any prim, and the prim itself then becomes a vehicle for communication with the outside. So interaction with the prim is interaction with the scripts inside.

    Most communication between different prims (and their scripts) is done on 'link' messaging layers, which work almost exactly like IM but specifically for scripts. Another very interesting thing is that the scripts are being ran by the 'sim' (short for simulator) which is more or less the server hosting that particular area (or 'island' 'sim') which the prim is functioning in. Due to keeping sims functioning with everyone on them, most of the functions which you can run in the scripting language have a certain load value, and some of them have a forced sleep.

    For example, you can send email to an external address from within a script, but the sim forces that entire script to sleep for 20 seconds (not running) after the email is sent. This causes some interesting situations where you end up detaching the email sending functionality from your main script and calling it separately, so that when the sleep in enforced, it doesn't lock up your primary script. In situations where you may need to send email more then once in a 20 second period, you setup several 'email handlers' which all do the exact thing, but are different scripts, and call them in a round-robin process from the main script.

    All and all, the structure is so different than anything I have worked in before, that it forces my mind to think about things contrary to what I am familiar. In my opinion, that kind of thing is always beneficial.
    ---
    I, Gamer!
    03.09.08 1:40 am
        • Avatar
          Rank
          Private
          Creed
          Role-Playing
          Joined
          12.27.07

        ɤ6od53nt (#16064)

        Casts Magic Missile

        For the only question I believe was in the post, I would have to say, no, I've never coded in LSL. But you've definitely got my attention. The whole language sounds remarkably like an entire "world" interacting with itself. Much more abstract than ANYTHING I've ever played with... *ehem... calculators..* XD
        ---
        "For the Glory of my LORD God!" --outcome of my first program
        03.15.08 3:02 am
            • Avatar
              Rank
              General of the Riot
              Creed
              MMO
              Joined
              02.21.06

            ӝspot (#16070)

            Chief Instigator

            It is really interesting. You should check it out. Second Life is free to mess with. But I warn you, when you enter there, your avatar looks and walks and just _is_ HORRIBLE. :)

            If you need any pointers on how to fix that, let me know.
            ---
            I, Gamer!
            03.15.08 9:21 am
                • Avatar
                  Rank
                  Corporal
                  Creed
                  MMO
                  Joined
                  10.17.07

                ¤Sangue (#16280)

                Is laying mines for the good of all.

                They walk like they got anally raped with a large cucumber. :[

                I love my "model walk" that I use now.
                ---
                Napalm Riot's News Babe.
                03.19.08 10:48 pm
              • Avatar
                Rank
                Private
                Creed
                Role-Playing
                Joined
                12.27.07

              ɤ6od53nt (#16091)

              Casts Magic Missile

              hahaha... funny! play around with LSL! I'm still covering defines and macros in C++. one day maybe. :)
              ---
              "For the Glory of my LORD God!" --outcome of my first program
              03.15.08 7:51 pm
                  • Avatar
                    Rank
                    General of the Riot
                    Creed
                    MMO
                    Joined
                    02.21.06

                  ӝspot (#16108)

                  Chief Instigator

                  Well, compared to cpp, lsl is child's play. :)
                  ---
                  I, Gamer!
                  03.16.08 5:04 am
                  • Avatar
                    Rank
                    Corporal
                    Creed
                    MMO
                    Joined
                    10.17.07

                  ¤Sangue (#16281)

                  Is laying mines for the good of all.

                  You know I can only do basic things now (like adding a link to a website into an object). But if I had the chance to do so, I'd play with LSL.

                  ...I still want to figure out how to make some clothes/hair/etc.
                  ---
                  Napalm Riot's News Babe.
                  03.19.08 10:49 pm
                    • Avatar
                      Rank
                      Private
                      Creed
                      Action
                      Joined
                      10.17.07

                    ɤphotofroggy (#16361)

                    Remembers What Arcades Are

                    Wow, LSL sounds quite complicated, and interesting. Reminds me of DFD (Data Flow Diagrams) to some degree... hmm, I might have to play around with some LSL at some point.
                    03.21.08 12:02 am
                        • Avatar
                          Rank
                          General of the Riot
                          Creed
                          MMO
                          Joined
                          02.21.06

                        ӝspot (#16418)

                        Chief Instigator

                        It is definitely interesting.
                        ---
                        I, Gamer!
                        03.21.08 1:18 pm
                        • Avatar
                          Rank
                          Sergeant
                          Creed
                          MMO
                          Uber Subscriber Joined
                          10.18.07

                        ¤chillinvillain (#16871)

                        Is In Your Base, Killing Your Pokemans

                        anyone see that CSI:NY with second life in it? man that one was awesome
                        ---
                        "We aren't allowed to say brainstorm where I work because it's apparently offensive to people with cerebal palsy (bullshit)." --Chalkley3
                        03.28.08 3:21 am
                            • Avatar
                              Rank
                              General of the Riot
                              Creed
                              MMO
                              Joined
                              02.21.06

                            ӝspot (#16881)

                            Chief Instigator

                            No actually, but ¤sangue was telling me about. I really want to see it. Maybe I can find it somewhere.
                            ---
                            I, Gamer!
                            03.28.08 10:23 am
                                • Avatar
                                  Rank
                                  Corporal
                                  Creed
                                  MMO
                                  Joined
                                  10.17.07

                                ¤Sangue (#16888)

                                Is laying mines for the good of all.

                                http://alpha.cbs.com/primetime/csi_ny/second_life/

                                >_>

                                <_<
                                ---
                                Napalm Riot's News Babe.
                                03.28.08 2:10 pm
                                  • Avatar
                                    Rank
                                    Sergeant
                                    Creed
                                    MMO
                                    Uber Subscriber Joined
                                    10.18.07

                                  ¤chillinvillain (#16932)

                                  Is In Your Base, Killing Your Pokemans

                                  it's a good one, you should definitely watch it
                                  ---
                                  "We aren't allowed to say brainstorm where I work because it's apparently offensive to people with cerebal palsy (bullshit)." --Chalkley3
                                  03.28.08 10:00 pm
                                      • Avatar
                                        Rank
                                        Corporal
                                        Creed
                                        MMO
                                        Joined
                                        10.17.07

                                      ¤Sangue (#16943)

                                      Is laying mines for the good of all.

                                      I have some screenshots from the Second Life crimes I solved my way through up. :>
                                      ---
                                      Napalm Riot's News Babe.
                                      03.28.08 11:48 pm
                                          • Avatar
                                            Rank
                                            Sergeant
                                            Creed
                                            MMO
                                            Uber Subscriber Joined
                                            10.18.07

                                          ¤chillinvillain (#17293)

                                          Is In Your Base, Killing Your Pokemans

                                          haha
                                          ---
                                          "We aren't allowed to say brainstorm where I work because it's apparently offensive to people with cerebal palsy (bullshit)." --Chalkley3
                                          04.01.08 12:50 pm
                                              • Avatar
                                                Rank
                                                Corporal
                                                Creed
                                                MMO
                                                Joined
                                                10.17.07

                                              ¤Sangue (#17612)

                                              Is laying mines for the good of all.

                                              Yeah, I'm a dork like that. :>
                                              ---
                                              Napalm Riot's News Babe.
                                              04.04.08 7:59 pm
                                      • Avatar
                                        Rank
                                        Specialist
                                        Creed
                                        Role-Playing
                                        Uber Subscriber Joined
                                        12.18.07

                                      ѻzionwingmaster (#18851)

                                      VP of Crosseye Comics

                                      Sounds like something I'll look into, if this is not insanely difficult. LSL sounds like an interesting language to learn.
                                      ---
                                      HEATHEN!
                                      Fear the Lamp.
                                      VP of Crosseye Comics.
                                      05.07.08 6:03 pm
                                        • Avatar
                                          Rank
                                          Corporal
                                          Creed
                                          MMO
                                          Joined
                                          10.17.07

                                        ¤Sangue (#19063)

                                        Is laying mines for the good of all.

                                        I'm going to be sitting in on some of the "classes" that someone told me about in-world on Second Life sometime soon. I'm excited. :>
                                        ---
                                        Napalm Riot's News Babe.
                                        05.15.08 5:22 pm
                                            • Avatar
                                              Rank
                                              General of the Riot
                                              Creed
                                              MMO
                                              Joined
                                              02.21.06

                                            ӝspot (#19096)

                                            Chief Instigator

                                            Great! Let me know how it goes and if you need any help.
                                            ---
                                            I, Gamer!
                                            05.16.08 7:09 am
                                                • Avatar
                                                  Rank
                                                  Corporal
                                                  Creed
                                                  MMO
                                                  Joined
                                                  10.17.07

                                                ¤Sangue (#19135)

                                                Is laying mines for the good of all.

                                                Will do. :P
                                                ---
                                                Napalm Riot's News Babe.
                                                05.16.08 7:37 pm
                                                • Avatar
                                                  Rank
                                                  Specialist
                                                  Creed
                                                  Role-Playing
                                                  Uber Subscriber Joined
                                                  12.18.07

                                                ѻzionwingmaster (#19531)

                                                VP of Crosseye Comics

                                                Sounds like fun.
                                                ---
                                                HEATHEN!
                                                Fear the Lamp.
                                                VP of Crosseye Comics.
                                                05.27.08 4:35 pm
                                                • Avatar
                                                  Rank
                                                  Staff Sergeant
                                                  Creed
                                                  Action
                                                  Uber Subscriber Joined
                                                  12.18.07

                                                ʊIrishancest (#20085)

                                                Legally Certified Warthog Operator

                                                That sounds really interesting. I've been meaning to check out second life for a while, maybe I'll actually do it now. Probably not, but it's nice to think about anyways...
                                                ---
                                                Beware. The Internewt is real!
                                                I'll have a loil, on the rocks.
                                                Come Riot over in Napalm Chat: http://www.napalmriot.com/chat/
                                                05.31.08 9:24 am
                                                    • Avatar
                                                      Rank
                                                      General of the Riot
                                                      Creed
                                                      MMO
                                                      Joined
                                                      02.21.06

                                                    ӝspot (#20162)

                                                    Chief Instigator

                                                    Well it's free. Not like it takes a lot of effort. :P

                                                    But if you do, use the release candidate viewer, not the default one. Much much different.
                                                    ---
                                                    I, Gamer!
                                                    05.31.08 8:37 pm
                                                        • Avatar
                                                          Rank
                                                          Staff Sergeant
                                                          Creed
                                                          Action
                                                          Uber Subscriber Joined
                                                          12.18.07

                                                        ʊIrishancest (#20165)

                                                        Legally Certified Warthog Operator

                                                        Yeah, I just don't really have the best computers for that kind of thing unfortunately. Some of my computers can't run it, and the one that could run it very well has a broken sound card. I should be getting a new one soon, and then I will though.
                                                        ---
                                                        Beware. The Internewt is real!
                                                        I'll have a loil, on the rocks.
                                                        Come Riot over in Napalm Chat: http://www.napalmriot.com/chat/
                                                        05.31.08 8:54 pm
                                                      • Avatar
                                                        Rank
                                                        Sergeant
                                                        Creed
                                                        Strategy
                                                        Joined
                                                        01.13.08

                                                      ɤDibol (#22342)

                                                      Rushes With Zerg

                                                      My comp cant run it either!
                                                      ---
                                                      Just warning you.... Your heads about to be blown of with my R700...
                                                      06.18.08 3:07 am