Difference between revisions of "User:Hidenori Glushenko"

From Second Life Wiki
Jump to: navigation, search
m (change a slurl of our cafe)
(updated soome contents and moved script code to the independent page)
Line 9: Line 9:
 
|rezdayISO=2006-11-09
 
|rezdayISO=2006-11-09
 
|account=Resident
 
|account=Resident
|partner=Kayla Schumann
 
 
|about=Bi-lingual ~ English/Japanese  
 
|about=Bi-lingual ~ English/Japanese  
 
|links=http://blog.innx.co.jp/
 
|links=http://blog.innx.co.jp/
Line 18: Line 17:
 
* Gender: male
 
* Gender: male
 
* Playing since: 11/09/2006
 
* Playing since: 11/09/2006
* SL Home: [secondlife://GALONGE/128/128/22 GALONGE]
+
* SL Home: [secondlife://New%20Script/57/102/32 New Script]
 
* Skills: LSL Scripting
 
* Skills: LSL Scripting
  
[[Image:HidenoriGlushenkoGalonge.jpg|thumb|150px|GALONGE|left]]
 
  
GALONGE is unknown misterious civilization...
+
== Social Accounts ==
  
see [http://www.flickr.com/groups/galonge/ GALONGE flickr pool]
+
* [http://twitter.com/hidenorigoto twitter]
 +
* [http://friendfeed.com/gotti FriendFeed]
 +
* [http://www.facebook.com/hidenorigoto Facebook]
  
  
 +
== Script Library ==
  
 +
* [[User:Hidenori_Glushenko/FaceTextureSetter|FaceTextureSetter]]
 +
* [[User:Hidenori_Glushenko/SmoothOpeningDoor|SmoothOpeningDoor]]
 +
* [[User:Hidenori_Glushenko/Sample:NotecardToHTTP|Sample:NotecardToHTTP]]
  
  
 
 
 
 
 
 
 
 
 
== Face Texture Setter ==
 
You can change/toggle the texture/alpha setting on a specified face only touching on its face.
 
 
*blank texture and alpha 0%
 
*blank texture and alpha 100%
 
*transparent texture and alpha 0%
 
*invisible texture and alpha 0%
 
 
NOTE : Server 1.24 or later / Viewer 1.21 or later are required.
 
 
<lsl>
 
/////////////////////////////////////////////////////////////////////
 
//      FaceTextureSetter
 
string      VERSION                = "1.1";
 
//                                  2008/08/30
 
//                      Updated    2008/10/17 (add support 1.20 viewer)
 
/////////////////////////////////////////////////////////////////////
 
//  Released into the public domain by Hidenori Glushenko
 
/////////////////////////////////////////////////////////////////////
 
 
//===================================================================
 
//  GLOBAL VARIABLES
 
//===================================================================
 
list    TEXTURE_SETTINGS;
 
 
//===================================================================
 
//  LOCAL FUNCTIONS
 
//===================================================================
 
init() {
 
    integer i;
 
    integer max = 9;
 
    TEXTURE_SETTINGS    = [];
 
    for ( i = 0; i < max; ++i ) {
 
        TEXTURE_SETTINGS += 0;
 
        TEXTURE_SETTINGS += llGetTexture( i );
 
        TEXTURE_SETTINGS += llGetAlpha( i );
 
    } 
 
}
 
 
//===================================================================
 
//  MAIN PROCEDURE
 
//===================================================================
 
default {
 
    state_entry() {
 
        init();
 
    }
 
 
    touch_start(integer total_number) {
 
        //  only owner
 
        if ( llDetectedKey( 0 ) != llGetOwner() ) {
 
            return;
 
        }
 
 
        integer face    = llDetectedTouchFace( 0 );
 
        if ( face < 0 ) {
 
            llOwnerSay( "1.21 or later version only." );
 
            return; //  not 1.21 viewer
 
        }
 
        integer setting = llList2Integer( TEXTURE_SETTINGS, face * 3 );
 
 
        ++setting;
 
        if ( setting > 4 ) {
 
            setting = 0;   
 
        }
 
 
        if ( setting == 0 ) {
 
            //  original texture and alpha
 
            llOwnerSay( "face " + (string)face + ": set to original texture and alpha." );
 
            llSetTexture( llList2Key( TEXTURE_SETTINGS, face * 3 + 1 ), face );
 
            llSetAlpha( llList2Float( TEXTURE_SETTINGS, face * 3 + 2 ), face );
 
        } else if ( setting == 1 ) {
 
            //  set alpha 0% & blank texture
 
            llOwnerSay( "face " + (string)face + ": set to blank texture and alpha 0%." );
 
            llSetTexture( TEXTURE_BLANK , face );
 
            llSetAlpha( 1.0, face );
 
        } else if ( setting == 2 ) {
 
            //  set alpha 100% & blank texture
 
            llOwnerSay( "face " + (string)face + ": set to blank texture and alpha 100%." );
 
            llSetTexture( TEXTURE_BLANK , face );
 
            llSetAlpha( 0.0, face );
 
        } else if ( setting == 3 ) {
 
            //  set alpha 0% & transparent texture
 
            llOwnerSay( "face " + (string)face + ": set to transparent texture and alpha 0%." );
 
            llSetTexture( TEXTURE_TRANSPARENT , face );
 
            llSetAlpha( 1.0, face );
 
        } else if ( setting == 4 ) {
 
            //  set alpha 0% & invisible texture
 
            llOwnerSay( "face " + (string)face + ": set to invisible texture and alpha 0%." );
 
            llSetTexture( "e97cf410-8e61-7005-ec06-629eba4cd1fb" , face );
 
            llSetAlpha( 1.0, face );       
 
        }
 
 
        TEXTURE_SETTINGS = llListReplaceList( TEXTURE_SETTINGS, [ setting ], face * 3, face * 3 );
 
    }
 
}
 
</lsl>
 
  
 
== Other Activities ==
 
== Other Activities ==
Line 145: Line 44:
 
* [http://digging.secondlife.innx.co.jp/ Digging! in SL] is our mash-up website using Second Life in-world search.
 
* [http://digging.secondlife.innx.co.jp/ Digging! in SL] is our mash-up website using Second Life in-world search.
 
* Member of [http://ja.secondlife.wikia.com/ Second Life in Japan(wikia/ja)] project.
 
* Member of [http://ja.secondlife.wikia.com/ Second Life in Japan(wikia/ja)] project.
 +
* Member of [http://lsl-con.org LSL Convention] project.
 +
  
  

Revision as of 01:48, 7 October 2009

Profile
HidenoriGlushenkoAV1.jpg
'
Born:
2006-11-09
Account:
Resident
Partner:
 
About:

Bi-lingual ~ English/Japanese

Achievements:

 

See Also:

About Hidenori Glushenko

  • Nationality: Japan
  • Gender: male
  • Playing since: 11/09/2006
  • SL Home: New Script
  • Skills: LSL Scripting


Social Accounts


Script Library


Other Activities


Sandbox

User:Hidenori_Glushenko/Sandbox