Difference between revisions of "User:Hidenori Glushenko"

From Second Life Wiki
Jump to navigation Jump to search
(Added 'Face Texture Setter' script code)
m (remove link)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Multi-lang}}
{{SL-hCard|name=Hidenori Glushenko
|uuid=1dbb1a47-3a70-447c-a332-1d9799d43b70
|mode=size
|photo_x=100
|photo_y=80
|image=[[Image:HidenoriGlushenkoAV1.jpg|frameless|200px]]
|rezday=2006-11-09
|rezdayISO=2006-11-09
|account=Resident
|about=Bi-lingual ~ English/Japanese
|links=http://blog.innx.co.jp/
}}
== About Hidenori Glushenko ==
== About Hidenori Glushenko ==


Line 4: Line 17:
* Gender: male
* Gender: male
* Playing since: 11/09/2006
* Playing since: 11/09/2006
* SL Home: [secondlife://New%20Script/57/102/32 New Script]
* Skills: LSL Scripting




== Face Texture Setter ==
== Social Accounts ==
You can change/toggle the texture/alpha setting on a specified face only touching on its face.


*blank texture and alpha 0%
* [http://twitter.com/hidenorigoto twitter]
*blank texture and alpha 100%
* [http://friendfeed.com/gotti FriendFeed]
*transparent texture and alpha 0%
* [http://www.facebook.com/hidenorigoto Facebook]
*invisible texture and alpha 0%


NOTE : Server 1.24 or later / Viewer 1.21 or later


<lsl>
== Script Library ==
/////////////////////////////////////////////////////////////////////
//  iNNX SCRIPT
//      xnniFaceTextureSetter
//
//  version
string      VERSION                = "1.0";
//                                  2008/08/30
/////////////////////////////////////////////////////////////////////
//  Copyright (c) 2008, Hidenori Glushenko
//  All rights reserved.
// 
/////////////////////////////////////////////////////////////////////


//===================================================================
* [[User:Hidenori_Glushenko/FaceTextureSetter|FaceTextureSetter]]
//  GLOBAL VARIABLES
* [[User:Hidenori_Glushenko/SmoothOpeningDoor|SmoothOpeningDoor]]
//===================================================================
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 );
        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 ==


* We've opened 'Scripters Cafe' in Second Life. Many scripters come and talk together.
* We've opened 'Scripters Cafe' in Second Life. Many scripters come and talk together.
** [http://slurl.com/secondlife/GALONGE/213/28/22 teleport to Scripters Cafe]
** [http://slurl.com/secondlife/New%20Script/153/140/24 teleport to Scripters Cafe]
* [http://www.innx.co.jp/ iNNX] is my company. Doing business in/for Virtual Worlds.
* [http://www.innx.co.jp/ iNNX] is my company. Doing business in/for Virtual Worlds.
* Our blog is [http://blog.innx.co.jp iNNX Blog].
* Our blog is [http://blog.innx.co.jp iNNX Blog].
* [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.




Line 130: Line 64:
|SL4B=
|SL4B=
|}}
|}}
== Sandbox ==
[[User:Hidenori_Glushenko/Sandbox]]


[[Category:SL Certification Participant|{{PAGENAME}}]]
[[Category:SL Certification Participant|{{PAGENAME}}]]

Latest revision as of 01:00, 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

View the issues Hidenori Glushenko has filed at jira.secondlife.com


Sandbox

User:Hidenori_Glushenko/Sandbox