removed useless _ folders
This commit is contained in:
3
Lazer_script/Lazer_script.sol
Normal file
3
Lazer_script/Lazer_script.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="Lazer_script">
|
||||
<Project name="Lazer_script" path="Lazer_script\Lazer_script.prj" active="true"/>
|
||||
</Solution>
|
||||
6
Lazer_script/Lazer_script/Lazer_script.prj
Normal file
6
Lazer_script/Lazer_script/Lazer_script.prj
Normal file
@@ -0,0 +1,6 @@
|
||||
<Project name="Lazer_script" guid="D752031A-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D7520406-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Lazer_script_1.lsl" guid="D75227AE-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
75
Lazer_script/Lazer_script/Object/Lazer_script_1.lsl
Normal file
75
Lazer_script/Lazer_script/Object/Lazer_script_1.lsl
Normal file
@@ -0,0 +1,75 @@
|
||||
// :CATEGORY:Particles
|
||||
// :NAME:Lazer_script
|
||||
// :AUTHOR:Jopsy Pendragon
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:38:56
|
||||
// :ID:463
|
||||
// :NUM:624
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Lazer script.lsl
|
||||
// :CODE:
|
||||
|
||||
integer on = FALSE;
|
||||
lazer()
|
||||
{
|
||||
// Particle Parameters taken from script by Jopsy Pendragon
|
||||
llParticleSystem( [
|
||||
PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_ANGLE,
|
||||
PSYS_SRC_BURST_PART_COUNT,(integer) 20, // adjust for beam strength,
|
||||
PSYS_SRC_BURST_RATE,(float) .05,
|
||||
PSYS_PART_MAX_AGE,(float) .6,
|
||||
PSYS_SRC_BURST_SPEED_MIN,(float)1,
|
||||
PSYS_SRC_BURST_SPEED_MAX,(float) 7.0,
|
||||
PSYS_PART_START_SCALE,(vector) <0,.1,0>,
|
||||
PSYS_PART_END_SCALE,(vector) <.04,.5,0>,
|
||||
PSYS_PART_START_COLOR,(vector) <1,0,0>,
|
||||
PSYS_PART_END_COLOR,(vector) <.2,0,0>,
|
||||
PSYS_PART_START_ALPHA,(float)0.5,
|
||||
PSYS_PART_END_ALPHA,(float)0.00,
|
||||
PSYS_PART_FLAGS,
|
||||
PSYS_PART_EMISSIVE_MASK |
|
||||
PSYS_PART_FOLLOW_VELOCITY_MASK |
|
||||
PSYS_PART_FOLLOW_SRC_MASK |
|
||||
PSYS_PART_INTERP_SCALE_MASK
|
||||
] );
|
||||
}
|
||||
|
||||
switch()
|
||||
{
|
||||
if ( on == TRUE )
|
||||
{
|
||||
on == FALSE;
|
||||
llParticleSystem([]);
|
||||
llOwnerSay ("Lazer is OFF" );
|
||||
}
|
||||
else
|
||||
{
|
||||
on == TRUE;
|
||||
lazer();
|
||||
llOwnerSay( "Lazer is ON" );
|
||||
}
|
||||
}
|
||||
|
||||
init()
|
||||
{
|
||||
switch();
|
||||
}
|
||||
|
||||
default
|
||||
{
|
||||
state_entry()
|
||||
{
|
||||
init();
|
||||
}
|
||||
on_rez( integer param )
|
||||
{
|
||||
init();
|
||||
}
|
||||
touch_start( integer num )
|
||||
{
|
||||
switch();
|
||||
}
|
||||
}
|
||||
// END //
|
||||
Reference in New Issue
Block a user