Thursday, September 30, 2010

How Many Are Into Female Wrestling

Sensors: llSensorRepeat ()

The use of sensors is widely used in SL, from radar, surveillance systems and the follower (objects that follow an avatar or other object).
The sensor is driven by functions
llSensor
() and
llSensorRepeat (), whose difference lies in the fact that the second sensor is repeated according to a rate of X seconds. to manage the sensor is then the event sensor
() which will be triggered when the sensor detects a target within established. On the contrary, the event no_sensor () will activate when the sensor does not detect any target in his range.
Since the functions are very similar, we will use as an example
llSensorRepeat (), since getting a parameter in addition: the interval of each scan.


The parameters are supported:
-
string name: the name of the avatar or object to be detected
- key id: uuid of the avatar or object to be detected - integer type: there used to be one of the following flags: (AGENT, AGENT_BY_LEGACY_NAME, AGENT_BY_USERNAME, ACTIVE, PASSIVE, and / or scripted) -

float range: the range in meters (the maximum radius is 96mt) - float
arc: the angle formed between the axis X
local object and the target (we shall soon see) -
float range: The range in which the sensor scans (eg every 3 seconds) Let's see in action with a simple test script: default {


state_entry () {

llSensorRepeat ("","", AGENT, 10.0 , PI, 5.0);
/ / 10metres radius, angle PI, every 5 seconds
} sensor (integer num_detected)
/ / when it encounters ...... { llSetColor (\u0026lt;0, 1, 0>, ALL_SIDES) / / becomes Green
if ( llDetectedKey (0) == llGetOwner ()) / / if the target is found the owner (you ) says ... {



llDetectedName (0));} ; else
/ / otherwise, to any other, says ... {

llSay (0, "Hello," + llDetectedName
(0));}
}
no_sensor
()
/ / if no notes .....

{
llSetColor ( \u0026lt;1, 0, 0>, ALL_SIDES)
/ / turn red.
}} This example script performs a scan of 10 yards every 5 seconds, and the field of detection is almost spherical (angle PI). I also wrote that the inner sphere should turn green and say the name of the Owner or any other resident is detected. Inside the event sensor () I could add anything else (such as a sound, a movement, a text). If within 10 meters there is nothing, the first extension turns red. If more
avatars are within the range, the sensor will always pick the closest.
is the classical case, if the angle is PI:
are 10 meters away from the inner sphere is red ...



if by hand for example and I'm six feet, the inner sphere will be green:




What happens if you halve the IP and I do become a PI / 2?
The scan will take place within a hemisphere, and the direction will be given to the local X axis (red) of the first.






If I go within 10 meters (green ray), but I'm behind the red ball, is not detected!
(The ball inside is always red, but they are 6 meters). Virtually the white area is the field where I can be detected.




I try to halve again? port: PI / 8: this time the beam will become more and more the shape of a cone, and I, even though close to the sensor, are excluded, however, if not in perfectly within the white field (I do not detect the ball, remaining red).

some rules to make best use of the sensors. - It 's good to keep in mind that the sensors are among the functions that can cause a lot of lag on server.For reduce the excessive load, it is important remember not to give too small values \u200b\u200bof the rate (in our case 5.0). - When you can, you should use the llSensorRemove () to remove the sensor if we do not need any. - The sensor starts from the exact center of the prim prim ren .. use does not increase the range.
- There can be only one sensor to the script.
- flags for the type seen above: ACTIVE, PASSIVE, scripted, respectively refer to physical prim, scripted and non-physical (type of target can be observed, in addition agents - ie avatar) Soon we'll see how it is possible to build a tower or a camera that scans the environment and the avatar pointed tip.

Wednesday, September 29, 2010

Is A Bmi Of 18.75 Good

Rotation a prim with llTargetOmega ()

The rotation of a prim can happen in two ways: The more complex, we will discuss later, is based on command
llSetRot
(). The simplest
instead explained briefly here, is based on the function
llTargetOmega
().
requires three parameters:

- the carrier axis, showing the script around which axis to rotate the object (x, y, z). - the spinrate, which is the frequency with which the object will rotate (in radians per second). - the gain is the force that is given to spin: it is a value takes effect when the first is physical, and is set equal to 0 for non-physical prims). This type of rotation on items NOT physical, no overhead work on the server, in this case is called "client-side. What does it mean?
that the rotation is handled by the client, and then will not sync at all, each "detect" spin in a different way, nor will function as measured by
llGetRot
() (which returns the rotation of the prim) Let a cube, the following script: default
{

state_entry
()
{/ / llSay (0, "Hello, Avatar!");}


touch_start llTargetOmega (\u0026lt;0.0,0.0,1.0>, PI, 1.0);
}} This code will rotate an object on its axis Z (the vertical) at a rate of PI sec. PI is a value in radians (PI greek: 3.1415)
if we wanted to slow down or speed up the rotation?
We can act as a convenience to the radiant write 2 * PI (or TWO_PI) will increase by twice the speed. Instead, write the IP / 2 halve the speed. What happens if we give value to the carrier axis?? es. \u0026lt;2.0,0.5,1.0> .. tested on a simple cube!

Tuesday, September 28, 2010

Different Between Point Pointe

from animated GIFs to animated textures in SL

want a simple online tool for your animated textures? Peregrine Salon is an online tool that converts your animated gif in grids of frames ready to be imported in SL, it takes a few clicks! Choose the file, the number of frames per second and click "process".
The tool will provide you with not only the image formats
.
tga download, but also the script to copy / paste!
Here's an example: The animated gifs (only support gif type
GIF89a )


and grid (a 5x2 this time):

apply the script that gives me the tool:

default {
;
state_entry
() { llSetTextureAnim (ANIM_ON

Tuesday, September 21, 2010

Year Government Quit Making Silver Coins

Monday, October 11, 2010 - Laboratory of diction led by Valentina Arruda OpenBox Milan

OpenBox Milan, in collaboration Nuvolan9ve with organizing a workshop for professionals and diction of the word professional, with particular attention to those who thus require use of persuasive language and captivating.
Subject of the course, lasting one year, will be the phonetic rules, breathing and articulation.
The deadline for pre-registration is September 30 .

OpenBox Milan is promoted by A World to School (UMAS), a non-profit organization formed in 2007 that deals with the integration of children and foreign children in schools through activities and workshops of an educational-training, courses of Italian L2, and providing educational materials for teachers, downloadable from www.unmondoascuola.it .
The association is composed of people who provide experience in the world of education, multiculturalism and design. is a natural evolution of the work carried out with twenty years of manufacturing expertise recognized by the publishing house Editions Arch , always engaged in social issues, the publication and dissemination of books migrant literature, with a strong emphasis on issues relating to tolerance and integration.

Valerie Arruda graduated from the School of Acting the Teatro Stabile of Genoa in 1996 and graduated in pedagogy in 1998.
He participated in some productions of the Teatro di Genova including: Sir Gawain and the Green Knight of Dennis Scott, Victor or children to power Roger Vitrac, directed by Anna Laura Messeri, Ivanov by Anton Chekhov, directed by Marco Sciaccaluga.
For several years worked with the Teatro De Franco with the Incamminati Branciaroli in Richard III Shakespeare The Imaginary Invalid of Moliere and Jesus Carl Draier. The protagonist of Anne Frank Rifredi with the theater in Florence directed by Stefano Massini, he held the role of Anne Bronte in Bronte sisters written and directed by Lucia Poli.
Milan is also involved in dubbing and voice-over television advertising. For several years divided his interests between the theater, the teaching of Italian language and diction.
He began to teach diction through meetings with directors and opera singers.
For several years now working both as an actress and as a support for the condition, with director David Livermore in charge of drama and opera.
has developed a working method that turns "yes" to actors, showbiz personalities and singers, but mainly to those who, while not dealing with drama, want to improve their way of communicating.

For more information and to pre-enter, go to the site of the laboratory diction

Monday, September 20, 2010

How To Build A Sailboatrigging

for Saturday, September 25, 2010 - Pillolamen

at 15.30
at Rizzoli bookshop
Galleria Vittorio Emanuele II, 79, Milan
FREE ENTRY

nuclear energy for the spaceship Earth? ", From 15.30 to 17.30: This is the first meeting of the energy cycle, entitled" Journey around the third millennium: words, images and sounds of actual and possible worlds, "p romosso Institute International Economic Cooperation (ICEI) and supported by other imp ortanti local associations. Speakers in as speakers Vincenzo Balzani, Professor of Chemistry at the University of Bologna, and Flavio Parozzi, a researcher in the field of nuclear safety in public institutions.

pill NUVOLAN9VE

Nuvolan9ve ICEI care for a theatrical reading by swift t Copenhagen by Michael Frayn.