removed useless _ folders
This commit is contained in:
3
Rotation_Clock/Rotation_Clock.sol
Normal file
3
Rotation_Clock/Rotation_Clock.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="Rotation_Clock">
|
||||
<Project name="Rotation_Clock" path="Rotation_Clock\Rotation_Clock.prj" active="true"/>
|
||||
</Solution>
|
||||
44
Rotation_Clock/Rotation_Clock/Object/Rotation_Clock_1.lsl
Normal file
44
Rotation_Clock/Rotation_Clock/Object/Rotation_Clock_1.lsl
Normal file
@@ -0,0 +1,44 @@
|
||||
// :CATEGORY:Clock
|
||||
// :NAME:Rotation_Clock
|
||||
// :AUTHOR:Fred Kinsei
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:39:01
|
||||
// :ID:712
|
||||
// :NUM:976
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// made this to be a floor clock, so the script is set up to rotate on the z axis, change this for an upright clock.
|
||||
//
|
||||
// Place these scripts in a root prim, which is at the center of the clock face.
|
||||
//
|
||||
//
|
||||
// Hour Hand:
|
||||
// :CODE:
|
||||
//Credit to the creator:
|
||||
|
||||
//Made by SL resident Fred Kinsei
|
||||
|
||||
integer hours;
|
||||
|
||||
integer min;
|
||||
|
||||
integer sec;
|
||||
|
||||
GetTimeNow()
|
||||
|
||||
{
|
||||
|
||||
integer timeNow;
|
||||
|
||||
timeNow = llRound(llGetWallclock());
|
||||
|
||||
hours = timeNow / 3600;
|
||||
|
||||
min = (timeNow % 3600) / 60;
|
||||
|
||||
sec = timeNow % 60;
|
||||
|
||||
if(hours > 12)
|
||||
|
||||
{
|
||||
40
Rotation_Clock/Rotation_Clock/Object/Rotation_Clock_2.lsl
Normal file
40
Rotation_Clock/Rotation_Clock/Object/Rotation_Clock_2.lsl
Normal file
@@ -0,0 +1,40 @@
|
||||
// :CATEGORY:Clock
|
||||
// :NAME:Rotation_Clock
|
||||
// :AUTHOR:Fred Kinsei
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:39:01
|
||||
// :ID:712
|
||||
// :NUM:977
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Minute Hand:
|
||||
// :CODE:
|
||||
//Credit to the creator:
|
||||
|
||||
//Made by SL resident Fred Kinsei
|
||||
|
||||
integer hours;
|
||||
|
||||
integer min;
|
||||
|
||||
integer sec;
|
||||
|
||||
GetTimeNow()
|
||||
|
||||
{
|
||||
|
||||
integer timeNow;
|
||||
|
||||
timeNow = llRound(llGetWallclock());
|
||||
|
||||
hours = timeNow / 3600;
|
||||
|
||||
min = (timeNow % 3600) / 60;
|
||||
|
||||
sec = timeNow % 60;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
8
Rotation_Clock/Rotation_Clock/Rotation_Clock.prj
Normal file
8
Rotation_Clock/Rotation_Clock/Rotation_Clock.prj
Normal file
@@ -0,0 +1,8 @@
|
||||
<Project name="Rotation_Clock" guid="D8082137-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D8082240-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Rotation_Clock_1.lsl" guid="D8084728-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
<Script name="Rotation_Clock_2.lsl" guid="D8087151-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user