ラベル 作成中 の投稿を表示しています。 すべての投稿を表示
ラベル 作成中 の投稿を表示しています。 すべての投稿を表示

2010年2月24日水曜日

2009年12月5日土曜日

How to make "16 pictures"



How to make 16 pictures for 4prim Vendor

====STEP1====
You must take a Texture of every item that you will place in vendor ,
you will need 16 pictures for 16 items .

====STEP2====
:Owner only
1.Touch Left side panel to select "channel dialog".
2.Touch Right side panel to select "channel dialog".(the same number)

Vendor operates like this ;
When someone touches the point on right side on vendor
( Touch-select Aria where small pictures are ),
4prim Channel Vendor will show the large picture on the same channel left part.
Left side of vendor is devided to 16 areas by _sub script,
Large pictures in the Left is large panel for showing .

Script devides right side (Partitioned sixteen areas ).
In first line ( starting in left up corner ) are items 1 , 2 , 3 , 4 .
In second line are 5 , 6 , 7 , 8 .
In third line are items 9 , 10 , 11 , 12 .
and in fourth line are 13 , 14 , 15 , 16 .

Make a picture for right side of vendor :
Make a picture ( using Photoshop,GIMP or any other program like )
which has all sixteen small picures of sixteen items on
one side of vendor lined up in order ( example , see picture "Background" into object.
You can see how left side is devided in sixteen areas .

refer to
http://slblogtrackbacker.blogspot.com/2009/12/how-to-make-16-pictures.html

That will be the texture for left side of vendor.
clicking on any of those small pictures by a user.
vendor will show large picture of that item on Left part
( picture for Right part is texture stored in notecard " _itemlist"

If you like it can be added some frame for texture of left and right side ,
it makes border among pictures clearer , and in a thin area on upper part some text can be added , like a name of store or like .
( Example , see picture. " casual11 or casual12" ) .
Texture " casual11 or casual12 " is in the package that vendor is ,
you can download it to your comp ( it is full perm ) .
When you make the picture like " Background" just place texture " casual11 or casual12 " over it ,
and you will get the result like one that can be seen on pictue "16 ITEMS picture " .

====STEP3====
Pictures that will be seen on large panel on Left part of vendor are those textures
which you place in notecard " _itemlist ".
Frame can be added to picture , it will look more nicely like that ,
some text can be added too , like " Right click to purchase " , couse
vendor doesn't has a hover text above it , that is couse vendors
structure can't support hovering text above it , it doesn't showes hovering in Left of vendor .
Example of frame , see picture " Left side picture" .

====STEP4====
Upload pictures for the left and right sides of vendor and place it on left and right side ,
vendor script won't change it on reset or rerezz .

====STEP5====
Upload pictures of all 16 items , and copy their Asset UUID to notecard " _itemlist "
( configuration of notecard is explained in Description and
setup instruction notecard which came with vendor .)

====STEP6====
When you have all textures on vendor , and notecard is set properly ,
reset vendor by touching it on back side , after resetting it will work with your textures on it .

Best Regards,
Thanks
Risa Fairey

Refer to Vender Frame


折角、アダルトのモールを借りているのでShapeを作ってみました。
Resaleキットのスキンと抱き合わせです(笑
中身じゃなくて、Vendorが商品なんですけどね。

2009年11月14日土曜日

Sound volume

アニメーションスクリプトを使って
音楽の音量のテクスが完成しました。

これが最終のアップロード作品です。(スクリは先日のブログに掲載)




今、作っているBAR setに組み込もうと思ってます。
単品どうしよう?苦労したから200L$ぐらいにしときます。
この画像のポイントは、枠とグリッドの位置と後は感性?!ですね。



展示場所はここ↓
http://slurl.com/secondlife/Quentin/30/46/59

2009年10月28日水曜日

たぶん。。。出来たと。。。思います

時計作りで針の部分はオリジナルスカルプで秒針まで作りました。
あと忘れないようにチャイム(時報)を丁度12時の方向の時に鳴らしたい。
(15分とか30分とかもあるれども、とにかく丁度だけがいいっ)
ダイアログで、選択させる???とかも考えましたけど
説明書書くのが嫌なので、とにかくシンプルにしたかったんです。
音楽とかの音に消されるかもしれないので
一応、オーナーSAYしときます。

スクリを触ってると
「テストするタイミングが・・・1時間に1度!!」
それまで違うことしとこ

「どこかへ行こうかなぁー。派生の商品でもつくっとこかなぁー。」
派生って、形状やテクス違いのことです。

「いやいや、夢中になりすぎて過ぎたら嫌だなぁー。」

結局心配が多すぎて何もできない子でした(笑
今回時計をやってみて、ローテーション等を使うより歯車系の動きは
時計で角度を変更していったほうが、リアルに見せれそうだな。と思った。
また、HUDに仕込むなら、関数変更する必要があるのがメンドクサイと思いました。



私的な使い方として
パソコンしすぎないように目の休憩に使いたいと思ってます(爆

-MEMO-
Sculpted Clock Hands
1 hour Chaim

2009年9月10日木曜日

なんか出来たかも

通常表示させますよね



お金を払ってもらって



お礼の言葉とTIPの表示を30秒間残す。
(というか、onlineで消したらいいんですよね。普通5秒チェックぐらいですけど・・)

Online Status Indicator &Tip Jarを作ってます

前に作りかけていたものですが、ceiling fanも完成したので

一息つきたいと思いました。

私のオンライン&チップジャーは

1primで作りたい。
通常は、これは私(設置したオーナー)がオンライン中で
チップジャーを兼ね備えていること。
(タッチしてもらえること)
チップをもらった時には、お礼はもちろん、最高額と最終額の表示が
したい。
ただし、30秒ぐらいで金額の表示は止めたい。
(チップの文化がない為なのか?お金にいやらしく感じるんです)

まぁ、色んなダンス場やカフェでよく見てますので・・・。
参考にしながらやってみます。

Online Status Indicator script
ううう。パーティクルがあるのか?!要らんです。
逆に、チップしたときにパーティクルだそうかなぁー。


integer glow = TRUE;
integer bounce = FALSE;
integer interpColor = TRUE;
integer interpSize = TRUE;
integer wind = FALSE;
integer followSource = FALSE;
integer followVel = FALSE;
 
// Choose a pattern from the following:
// PSYS_SRC_PATTERN_EXPLODE
// PSYS_SRC_PATTERN_DROP
// PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY
// PSYS_SRC_PATTERN_ANGLE_CONE
// PSYS_SRC_PATTERN_ANGLE
integer pattern = PSYS_SRC_PATTERN_ANGLE_CONE;
 
key target = "";
 
float age = 4;
float minSpeed = 0;
float maxSpeed = 0;
string texture = "";
float startAlpha = 1;
float endAlpha = 1;
vector startColor = <1,1,1>;
vector endColor = <1,1,1>;
vector startSize = <.1,.1,.02>;
vector endSize = <.1,.1,.6>;
vector push = <0,0,0>;
 
 
float rate = .01;
float radius = .2;
integer count = 50;
float outerAngle = 0;
float innerAngle = PI;
vector omega = <5,5,5>;
 
integer flags;
 
updateParticles()
{
if (target == "owner") target = llGetOwner();
if (target == "self") target = llGetKey();
if (glow) flags = flags | PSYS_PART_EMISSIVE_MASK;
if (bounce) flags = flags | PSYS_PART_BOUNCE_MASK;
if (interpColor) flags = flags | PSYS_PART_INTERP_COLOR_MASK;
if (interpSize) flags = flags | PSYS_PART_INTERP_SCALE_MASK;
if (wind) flags = flags | PSYS_PART_WIND_MASK;
if (followSource) flags = flags | PSYS_PART_FOLLOW_SRC_MASK;
if (followVel) flags = flags | PSYS_PART_FOLLOW_VELOCITY_MASK;
if (target != "") flags = flags | PSYS_PART_TARGET_POS_MASK;
 
llParticleSystem([ PSYS_PART_MAX_AGE, age,
PSYS_PART_FLAGS, flags,
PSYS_PART_START_COLOR, startColor,
PSYS_PART_END_COLOR, endColor,
PSYS_PART_START_SCALE, startSize,
PSYS_PART_END_SCALE, endSize,
PSYS_SRC_PATTERN, pattern,
PSYS_SRC_BURST_RATE, rate,
PSYS_SRC_ACCEL, push,
PSYS_SRC_BURST_PART_COUNT, count,
PSYS_SRC_BURST_RADIUS, radius,
PSYS_SRC_BURST_SPEED_MIN, minSpeed,
PSYS_SRC_BURST_SPEED_MAX, maxSpeed,
PSYS_SRC_TARGET_KEY, target,
PSYS_SRC_INNERANGLE, innerAngle,
PSYS_SRC_OUTERANGLE, outerAngle,
PSYS_SRC_OMEGA, omega,
PSYS_SRC_TEXTURE, texture,
PSYS_PART_START_ALPHA, startAlpha,
PSYS_PART_END_ALPHA, endAlpha
]);
}
 
integer gIsOnline = FALSE;
integer gLandOwner = FALSE;
key gKey = NULL_KEY;
string gName = "";
float UPDATE_INTERVAL = 5.0;
 
updateStatus(string s){
key k = llGetLandOwnerAt(llGetPos());
if(s=="1"){
gIsOnline = TRUE;
}else{
gIsOnline = FALSE;
}
}
 
key getWhom(){
if(gKey == NULL_KEY){
if(gLandOwner){
return llGetLandOwnerAt(llGetPos());
}else{
return llGetOwner();
}
}else{
return gKey;
}
}
 
doUpdate(){
llRequestAgentData(getWhom(),DATA_ONLINE);
}
 
updateName(){
llRequestAgentData(getWhom(),DATA_NAME);
}
 
enable(){
updateName();
doUpdate();
llSetTimerEvent(1);
llWhisper(0,"Online status display enabled.");
 
}
disable(){
llSetTimerEvent(0);
llSetText("Display Disabled",<1,1,1>,1);
llSetColor(<0,0,1>,ALL_SIDES);
startColor = <0,0,1>;
endColor = <0,0,1>;
updateParticles();
llWhisper(0,"Online status display disabled.");
}
 
default
{
state_entry()
{
llListen(0, "", llGetOwner(), "");
enable();
llWhisper(0,"Type /ol help for a list of commands");
}
on_rez(integer n){
llResetScript();
}
dataserver(key req, string data){
if(data == "1" || data == "0"){
updateStatus(data);
}else{
gName = data;
llSetText("Getting online status for " + gName,<1,1,1>,1);
llSetColor(<0,0,1>,ALL_SIDES);
startColor = <0,0,1>;
endColor = <0,0,1>;
updateParticles();
llSetTimerEvent(UPDATE_INTERVAL);
}
}
timer(){
doUpdate();
if(gIsOnline){
llSetText(gName + " is Online",<1,1,1>,1);
llSetColor(<0,1,0>,ALL_SIDES);
startColor = <0,1,0>;
endColor = <0,1,0>;
updateParticles();
}else{
llSetText(gName + " is Offline",<1,1,1>,1);
llSetColor(<1,0,0>,ALL_SIDES);
startColor = <1,0,0>;
endColor = <1,0,0>;
updateParticles();
}
}
listen(integer number, string name, key id, string msg){
if (llGetSubString(msg, 0,0) != "/"){
return;
}
list argv = llParseString2List(msg, [" "], []);
integer argc = llGetListLength(argv);
string cmd = llToLower(llList2String(argv, 0));
if(cmd == "/ol"){
string arg = llToLower(llList2String(argv, 1));
if(arg=="on"){
enable();
}else if(arg=="off"){
disable();
}else if(arg=="land"){
gLandOwner = TRUE;
gKey = NULL_KEY;
updateName();
}else if(arg=="key"){
gKey = llList2Key(argv,2);
updateName();
}else if(arg=="me"){
gLandOwner = FALSE;
gKey = NULL_KEY;
updateName();
}else if(arg=="help"){
llWhisper(0,"/ol on - activate online status display");
llWhisper(0,"/ol off - disable online status display");
llWhisper(0,"/ol land - display online status for owner of this land");
llWhisper(0,"/ol me - display your online status");
}
}
}
 
}
 

2009年9月5日土曜日

シーリングファン作成中

宿題がたまっていってますが、1つのことを悩むよりいいかな?
と思ってます。

シーリングファンは、Modifyなので白色で発売しようと思ってます。

スクリプトは、ダイアログでスピードを制御させるぐらいでいいかな?と思ってます。


list Speed = 
[
"Speed1","Speed2","Speed3","Stop"
];
 
integer Handle;
 
default
{
touch_start(integer total_number)
{
Handle = llListen(7, "", "", "");
llDialog(llDetectedKey(0), "Select speed", Speed , 7);
}
listen(integer channel, string name, key id, string message)
{
if(message == "Speed1")
{
llTargetOmega(<0,0,1>, 1, 1);
}
else if(message == "Speed2")
{
llTargetOmega(<0,0,1>, 3, 1);
}
else if(message == "Speed3")
{
llTargetOmega(<0,0,1>, 6, 1);
}
else if(message == "Stop")
{
llTargetOmega(<0,0,1>, 0, 1);
}
llListenRemove(Handle);
}
}

Welcome Mat script

LISA+SMILE+のwelcomeマットを作ってみた。



あ、お店がまだまだ必要なかったです(爆

string log;  //Name's Log


default
{
    collision_end(integer total_number)
    {  
        string name=llDetectedName(0);  
        if (name != log)
       {  
            log=name;
            llSay(0, "Welcome to LISA+SMILE+,"+name:D);//message

        }
        llSetTimerEvent(300);//5min Timer

     }
    timer()
    {
        llSetTimerEvent(0);
         log="";
     }
}

2009年9月2日水曜日

風力発電を製作中

環境とか関心があるし、せっかくプロペラをつくってみたので
風力発電というキーワードで作ってみました。

llwindですね。

ただ、サイズがわからないんです。大きすぎてもだめだし・・・

よく見るのは白いタイプだと思います。
これは、3000ぐらいにしとこ。
(コピー不可は1000ぐらいに)
個人用の1つだけは木目調がいいと思いました。
これは、500ぐらいにしとこ。



まだ、完成してませんが並べて見てるだけでも風があるみたいで
気持ちよくなります。