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

3
Football/Football.sol Normal file
View File

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

View File

@@ -0,0 +1,6 @@
<Project name="Football" guid="D7EFD58D-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D7EFD665-6C00-1014-B904-200204C60A89">
<Script name="Football_1.lsl" guid="D7F01048-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>

View File

@@ -0,0 +1,71 @@
// :CATEGORY:FootBall
// :NAME:Football
// :AUTHOR:Niklas Waller
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:38:53
// :ID:331
// :NUM:444
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// Here's a small script for a football. The ball can be kicked by just walking against it. Touching it causes the ball to bounce up in the air a couple of feet. You can also talk to it by saying "kick" which causes the ball to move with a certain vector strength and direction. "High kick" makes the ball going forward up in the air.
// :CODE:
default {
state_entry () {
llListen (0, "", "","");
// Make sure that Physical is turned on
llSetStatus (1, TRUE);
}
collision_start (integer total_number) {
// Get the vector that points from the kicker to the ball
vector diff = llGetPos() - llDetectedPos(0);
// Force the z coordinate up
diff.z = .1;
// Scale the vector to a fixed length
vector kick_vector = llVecNorm(diff)*5;
// Apply the kick vector to the ball
llApplyImpulse(kick_vector, FALSE);
}
listen (integer channel, string name, key id, string message) {
if (message == "kick") {
// Get the vector that points from the kicker to the ball
vector diff = llGetPos() - llDetectedPos(0);
// Force the z coordinate up
diff.z = .1;