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="Make_it_Rain">
<Project name="Make_it_Rain" path="Make_it_Rain\Make_it_Rain.prj" active="true"/>
</Solution>

View File

@@ -0,0 +1,8 @@
<Project name="Make_it_Rain" guid="D87C54AF-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D87C55C3-6C00-1014-B904-200204C60A89">
<Script name="Make_it_Rain_1.lsl" guid="D87C9E06-6C00-1014-B904-200204C60A89">
</Script>
<Script name="Make_it_Rain_2.lsl" guid="D87CDD9E-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>

View File

@@ -0,0 +1,239 @@
// :CATEGORY:Particles
// :NAME:Make_it_Rain
// :AUTHOR:Oddball Otoole
// :CREATED:2010-11-18 21:00:48.190
// :EDITED:2013-09-18 15:38:57
// :ID:501
// :NUM:670
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// First the actual rain script:
// :CODE:
//// "Rain" PARTICLE TEMPLATE v1 - by Jopsy Pendragon - 4/8/2008
//// You are free to use this script as you please, so long as you include this line:
//** The original 'free' version of this script came from THE PARTICLE LABORATORY. **//
// SETUP: Drop one optional particle texture and this script into a prim.
// Particles should start automatically. (Reset) the script if you insert a
// particle texture later on. Add one or more CONTROLLER TEMPLATES to any
// prims in the linked object to control when particles turn ON and OFF.
// Customize the particle_parameter values below to create your unique
// particle effect and click SAVE. Values are explained along with their
// min/max and default values further down in this script.
string CONTROLLER_ID = "A"; // See comments at end regarding CONTROLLERS.
integer AUTO_START = TRUE; // Optionally FALSE only if using CONTROLLERS.
list particle_parameters=[]; // stores your custom particle effect, defined below.
list target_parameters=[]; // remembers targets found using TARGET TEMPLATE scripts.
default {
state_entry() {
particle_parameters = [ // start of particle settings
// Texture Parameters:
PSYS_SRC_TEXTURE, llGetInventoryName(INVENTORY_TEXTURE, 0),
PSYS_PART_START_SCALE, <.1,.5, FALSE>, PSYS_PART_END_SCALE, <.05,4.0, FALSE>,
PSYS_PART_START_COLOR, <.3,.4,.5>, PSYS_PART_END_COLOR, <.5,.6,.7>,
PSYS_PART_START_ALPHA, (float).7, PSYS_PART_END_ALPHA, (float).5,
// Production Parameters:
PSYS_SRC_BURST_PART_COUNT, (integer)1,
PSYS_SRC_BURST_RATE, (float) 0.05,
PSYS_PART_MAX_AGE, (float)1.0,
PSYS_SRC_MAX_AGE,(float) 0.0,
// Placement Parameters:
PSYS_SRC_PATTERN, (integer)8, // 1=DROP, 2=EXPLODE, 4=ANGLE, 8=ANGLE_CONE,
// Placement Parameters (for any non-DROP pattern):
PSYS_SRC_BURST_SPEED_MIN, (float)0.0, PSYS_SRC_BURST_SPEED_MAX, (float)0.0,
PSYS_SRC_BURST_RADIUS, 5.0,
// Placement Parameters (only for ANGLE & CONE patterns):
PSYS_SRC_ANGLE_BEGIN, (float) .25*PI, PSYS_SRC_ANGLE_END, (float)0.0*PI,
// PSYS_SRC_OMEGA, <0,0,0>,
// After-Effect & Influence Parameters:
PSYS_SRC_ACCEL, <0.0,0.0,-10.5>,
// PSYS_SRC_TARGET_KEY, llGetLinkKey(llGetLinkNum() + 1),
PSYS_PART_FLAGS, (integer)( 0 // Texture Options:
| PSYS_PART_INTERP_COLOR_MASK
| PSYS_PART_INTERP_SCALE_MASK
| PSYS_PART_EMISSIVE_MASK
// | PSYS_PART_FOLLOW_VELOCITY_MASK
// After-effect & Influence Options:
| PSYS_PART_WIND_MASK
| PSYS_PART_BOUNCE_MASK
// | PSYS_PART_FOLLOW_SRC_MASK
// | PSYS_PART_TARGET_POS_MASK
// | PSYS_PART_TARGET_LINEAR_MASK
)
//end of particle settings
];
if ( AUTO_START ) llParticleSystem( particle_parameters );
}
link_message( integer sibling, integer num, string mesg, key target_key ) {
if ( mesg != CONTROLLER_ID ) { // this message isn't for me. Bail out.
return;
} else if ( num == 0 ) { // Message says to turn particles OFF:
llParticleSystem( [ ] );
} else if ( num == 1 ) { // Message says to turn particles ON:
llParticleSystem( particle_parameters + target_parameters );
} else if ( num == 2 ) { // Turn on, and remember and use the key sent us as a target:
target_parameters = [ PSYS_SRC_TARGET_KEY, target_key ];
llParticleSystem( particle_parameters + target_parameters );
} else { // bad instruction number
// do nothing.
}
}
}
//============================= About Parameters =============================
// There are 22-ish NAMED attributes that affect a particle display.
// To customize a display you give each a VALUE.
// For example: PSYS_PART_START_COLOR is a named attribute,
// and <1.0, 0.5, 0.0> is a color VALUE (orange, in this case).
//
// As long as your 'names' and 'values' are paired up properly, they can
// be in any order! Any you omit a pair, it reverts to a default value.
//============================= Texture Parameters =============================
//
// TEXTURE, can be an "Asset UUID" key copied from a texture
// that you have full permissions to, or the name of
// a texture in the prim's inventory.
//
// SCALE, (size) 0.0 to 4.0 meters wide, by 0.0 to 4.0 meters tall. (default 1x1)
// Textures are FLAT, so the 'z' part of the vector is ignored.
// Values smaller than 0.04x0.04 may not get rendered at all.
// Tiny particles vanish if the viewer is not near them.
//
// BEGIN_SCALE sets particle start size.
// END_SCALE (end size) is ignored, if the INTERP_SCALE_MASK option is disabled.
//
// COLOR, < RED, GREEN, BLUE > from <0.00,0.00,0.00> (black) to <1.00,1.00,1.00> (white/default)
// ALPHA, 1.0 = 100% visible(default), 0.0 = invisible. Less than 0.1 might not get seen.
// START_COLOR and START_ALPHA set the color and transparency of newly created particles.
// END_COLOR and END_ALPHA are ignored, if the INTERP_COLOR_MASK option is disabled.

View File

@@ -0,0 +1,61 @@
// :CATEGORY:Particles
// :NAME:Make_it_Rain
// :AUTHOR:Oddball Otoole
// :CREATED:2010-11-18 21:00:48.190
// :EDITED:2013-09-18 15:38:57
// :ID:501
// :NUM:671
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// And a script to toggle rain on/off on touch.
// :CODE:
//// "Touch Toggle" CONTROLLER TEMPLATE v1 - by Jopsy Pendragon - 4/8/2008
//// You are free to use this script as you please, so long as you include this line:
//** The original 'free' version of this script came from THE PARTICLE LABORATORY. **//
// EFFECT: 'Touching' this prim will ACTIVATE or DEACTIVE particles.
// SETUP: Drop this CONTROLLER TEMPLATE script into any prim of the same
// linked object as your PARTICLE TEMPLATE. It should be responsive immediately.
integer PLAY_SOUND = TRUE; // TRUE for a click-sound, FALSE for silent.
string SOUND = "64319812-dab1-4e89-b1ca-5fc937b8d94a"; // a click sound
string CONTROLLER_ID = "A"; // see more about CONTROL TEMPLATES at end.
integer mode = 0; // keep track of whether particles are ON(1) or OFF(0).
default {
touch_start(integer total_number) {
if ( PLAY_SOUND ) llPlaySound( SOUND, 1.0 );
mode = ! mode; // flip on to off, (or off to on).
llMessageLinked( LINK_SET, mode, CONTROLLER_ID, NULL_KEY ); // send command