Difference between revisions of "Wizardry and Steamworks"

From Second Life Wiki
Jump to navigation Jump to search
Line 14: Line 14:


These resources are originals, in the sense that they have been made, ground-up by Wizardry and Steamworks members.
These resources are originals, in the sense that they have been made, ground-up by Wizardry and Steamworks members.
==FUS (Frequently Used Snippets==
===Endless Menu===
<lsl>
list menu_items = [];
list key_items = [];
integer mitra = 0;
list cList = []
</lsl>
----
<lsl>
list mFwd() {
    if(mitra+1>llGetListLength(menu_items)) return cList;
    cList = llListInsertList(llListInsertList(llList2List(menu_items, ++mitra, (mitra+=9)), ["<= Back"], 0), ["Next =>"], 2);
    return cList;
}
list mBwd() {
    if(mitra-19<0) return cList;
    cList = llListInsertList(llListInsertList(llList2List(menu_items, (mitra-=19), (mitra+=9)), ["<= Back"], 0), ["Next =>"], 2);
    return cList;
}
</lsl>
----
<lsl>
            integer itra;
            for(itra=0, mitra=0, menu_items=[]; itra< llGetListLength(/* ... */); ++itra) {
                menu_items += llList2String(/* ... */, itra);
            }
</lsl>


==Animations==
==Animations==

Revision as of 14:07, 23 November 2011

File:WaS-logo-landscape.png
Wizardry and Steamworks Logo Landscape

Wizardry and Steamworks

Wizardry and Steamworks are a development group to be found in Second Life. The leaders of the group are Kira Komarov and Flax Quirina. We specialize on scripting in Second Life, however anything that pushes the boundaries of what is currently possible in Second Life is of interest to us.

Member Wiki Mirrors

Resources

All this work should be attributed to the Wizardry and Steamworks group under the GPLv3 license. You are free to use these resources and even commercialize the products using them as long as you attribute the components you got from here to the Wizardry and Steamworks [WaS] group.

These resources are originals, in the sense that they have been made, ground-up by Wizardry and Steamworks members.

FUS (Frequently Used Snippets

Endless Menu

<lsl> list menu_items = []; list key_items = []; integer mitra = 0; list cList = [] </lsl>


<lsl> list mFwd() {

   if(mitra+1>llGetListLength(menu_items)) return cList;
   cList = llListInsertList(llListInsertList(llList2List(menu_items, ++mitra, (mitra+=9)), ["<= Back"], 0), ["Next =>"], 2);
   return cList;

}

list mBwd() {

   if(mitra-19<0) return cList;
   cList = llListInsertList(llListInsertList(llList2List(menu_items, (mitra-=19), (mitra+=9)), ["<= Back"], 0), ["Next =>"], 2);
   return cList;

} </lsl>


<lsl>

           integer itra;
           for(itra=0, mitra=0, menu_items=[]; itra< llGetListLength(/* ... */); ++itra) {
               menu_items += llList2String(/* ... */, itra);
           }

</lsl>

Animations

File Description
WaS Lighter Two_Hands.bvh‎ The avatar leans forward and places the left mouth (holding a cigarette) and the right hand over and in front of the left mouth (holding a lighter).
Bread Pie
Butter Ice cream

Sounds

File Length Description Key
WaS Zippo Short Flick Spin Click.wav 00:01s Zippo cap flicks open, the wheel is spun once, the zippo cap clicks shut. bc1b20c7-fc34-6df2-2296-64be51390be2
Bread Pie Bread Pie
Butter Ice cream Bread Pie

Projects