Push All Scripts
This commit is contained in:
3
3D_Radar/3D_Radar.sol
Normal file
3
3D_Radar/3D_Radar.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="3D_Radar">
|
||||
<Project name="3D_Radar" path="3D_Radar\3D_Radar.prj" active="true"/>
|
||||
</Solution>
|
||||
8
3D_Radar/3D_Radar/3D_Radar.prj
Normal file
8
3D_Radar/3D_Radar/3D_Radar.prj
Normal file
@@ -0,0 +1,8 @@
|
||||
<Project name="3D_Radar" guid="D89A6A63-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D89A6B7F-6C00-1014-B904-200204C60A89">
|
||||
<Script name="3D_Radar_1.lsl" guid="D89A9039-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
<Script name="3D_Radar_2.lsl" guid="D89AB007-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
71
3D_Radar/3D_Radar/Object/3D_Radar_1.lsl
Normal file
71
3D_Radar/3D_Radar/Object/3D_Radar_1.lsl
Normal file
@@ -0,0 +1,71 @@
|
||||
// :CATEGORY:Radar
|
||||
// :NAME:3D_Radar
|
||||
// :AUTHOR:Jesse Barnett
|
||||
// :KEYWORDS:
|
||||
// :CREATED:2010-12-27 12:41:03.763
|
||||
// :EDITED:2013-09-18 15:38:46
|
||||
// :ID:4
|
||||
// :NUM:6
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Rezzes a ball for each avatar in range. Each ball tracks it's on AV and displays distance.
|
||||
// :CODE:
|
||||
//
|
||||
// This formula: vector avDivPos = (avPos - rPos) * 0.010417; Takes the (avatars position - position of scanner) & multiplies by (radius of the distance you want the balls to go(2 meter sphere = 1 meter radius)/scan range(96meters)):
|
||||
//
|
||||
// 1/96 = approximately 0.010417.
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// 3D Radar 2.5
|
||||
|
||||
// "Oct 15 2008", "18:43:28"
|
||||
|
||||
// Creator: Jesse Barnett
|
||||
|
||||
// Released into the Public Domain
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
integer Scan = TRUE;
|
||||
|
||||
string avKey;
|
||||
|
||||
integer list_pos;
|
||||
|
||||
list key_list;
|
||||
|
||||
integer key_chan; //Key channel is generated randomly and passed to the scan ball
|
||||
|
||||
integer die_chan = -9423753; //Hey pick your own channels and be sure to paste them into
|
||||
|
||||
//the scan balls too!
|
||||
|
||||
integer key_rem_chan = -49222879;
|
||||
|
||||
default {
|
||||
|
||||
state_entry() {
|
||||
|
||||
llSetObjectName("3D Radar");
|
||||
|
||||
}
|
||||
|
||||
touch_start(integer total_number) {
|
||||
|
||||
if (Scan) {
|
||||
|
||||
llSensorRepeat("", "", AGENT, 96, PI, 1);
|
||||
|
||||
key_list =[];
|
||||
|
||||
llListen(key_rem_chan, "", "", "");
|
||||
|
||||
llOwnerSay("on");
|
||||
|
||||
Scan = FALSE;
|
||||
|
||||
}
|
||||
62
3D_Radar/3D_Radar/Object/3D_Radar_2.lsl
Normal file
62
3D_Radar/3D_Radar/Object/3D_Radar_2.lsl
Normal file
@@ -0,0 +1,62 @@
|
||||
// :CATEGORY:Radar
|
||||
// :NAME:3D_Radar
|
||||
// :AUTHOR:Jesse Barnett
|
||||
// :KEYWORDS:
|
||||
// :CREATED:2010-12-27 12:41:03.763
|
||||
// :EDITED:2013-09-18 15:38:46
|
||||
// :ID:4
|
||||
// :NUM:7
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// DESCRIPTION: []::Rezzes a ball for each avatar in range. Each ball tracks it's on AV and displays distance
|
||||
// :CODE:
|
||||
|
||||
// Place this script in a prim and then place the prim into the inventory of the Scanner/Rezzer. It will automatically name itself.
|
||||
//
|
||||
// Suggestion; Create a sphere prim of 0.05 diameter with glow set about .80.
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// 3D Radar 2.5
|
||||
|
||||
// "Oct 15 2008", "18:44:36"
|
||||
|
||||
// Creator: Jesse Barnett
|
||||
|
||||
// Released into the Public Domain
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
string avName;
|
||||
|
||||
integer avDistance;
|
||||
|
||||
key avKey;
|
||||
|
||||
integer avListen;
|
||||
|
||||
integer key_chan;
|
||||
|
||||
integer die_chan = -9423753;
|
||||
|
||||
integer key_rem_chan = -49222879;
|
||||
|
||||
vector avPos;
|
||||
|
||||
vector rPos;
|
||||
|
||||
default {
|
||||
|
||||
state_entry() {
|
||||
|
||||
llSetObjectName("scan ball");
|
||||
|
||||
}
|
||||
|
||||
on_rez(integer start_param) {
|
||||
|
||||
rPos = llGetPos();
|
||||
|
||||
key_chan = start_param;
|
||||
Reference in New Issue
Block a user