removed useless _ folders

This commit is contained in:
Fred Beckhusen
2015-08-09 16:54:31 -05:00
parent fde850293c
commit 948a44dfba
5204 changed files with 2425579 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<Solution name="Assisted_Flight">
<Project name="Assisted_Flight" path="Assisted_Flight\Assisted_Flight.prj" active="true"/>
</Solution>

View File

@@ -0,0 +1,6 @@
<Project name="Assisted_Flight" guid="D7FC85E8-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D7FC86D8-6C00-1014-B904-200204C60A89">
<Script name="Assisted_Flight_1.lsl" guid="D7FCAB74-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>

View File

@@ -0,0 +1,160 @@
// :CATEGORY:Flight Assist
// :NAME:Assisted_Flight
// :AUTHOR:Ariane Brodie
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:38:48
// :ID:55
// :NUM:82
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// Here is a much requested script that enhances fly. Drop this script in any attachment that does not have a script in it (maybe your prim hair or something).
//
// It enhances fly in two ways 1. you can fly as high as you like and you should not drift down (much, it is not perfect). 2. say the word "fly" and it changes into a much faster flying mode. In this mode you can also say "speed 30" to double your speed (or any number, default is 15). say "fly" again, or just stop flying to get out of this mode. One annoying bug, when in fast fly mode you will see "release keys" button. If you push it, your attachment comes off.
// :CODE:
//ZeroFlight XLR8
//hacked together script by Burke Prefect, peices from other people's code.
//NOT RESPONSIBLE... FOR ANYTHING
float speed = 15; // this is starting speed.
set_hover() // this keeps you from falling at extreme altitudes. just 'fly' normally. works in either mode.
{
vector pos = llGetPos();
float ground = llGround(<0,0,0>);
if(llGetAgentInfo(llGetOwner()) & AGENT_FLYING)
{
if((pos.z > 75) && (pos.z > (ground + 35)))
{
llSetForce(<0,0,9.8> * llGetMass(), FALSE);
}
else
{
llSetForce(<0,0,0>, FALSE);
}
}
else
{
llSetForce(<0,0,0>, FALSE);
}
}
default // this is where the script starts off. it's not active, it's just waiting for a command.
{
state_entry()
{
key id = llGetOwner();
llListen(0,"",id,"");
llSetTimerEvent(.5);
llReleaseControls();
}
timer()
{
set_hover();
}
listen( integer channel, string name, key id, string message ) {
if (message == "fly")
state freakpack;
}
}
//// By making 'freakpack' it's own state, we can control it much easier.
state freakpack
{
state_entry()
{
llSetTimerEvent(.5);
llListen(0,"",llGetOwner(),"");
llRequestPermissions(llGetOwner(),PERMISSION_TAKE_CONTROLS);
}
// on_rez(integer total_number)
//{llResetScript();}
touch_start(integer total_number)
{
if (llDetectedKey(0) == llGetOwner())
{
llReleaseControls();
state default;
}
}
timer()
{