IAC 2024 - IA Fast Track to Search Focused AI Solutions
Notes About Linden Scripting 2009 Congress
1.
2.
3.
4.
5.
6.
7.
8. 3. How to create a script? There is capacity limit when we make scripts. If you make a too huge script, it will be not compiled. And there are errors which occur when it is executed. For example the error which is caused by a mistake that denominator becomes 0 at dividing calculation. ex. 2/0 cannot be calculated.
14. 4. What are the parts of a script? Usually a script consists of some parts that are called states. One state is a thing like the paragraph if it says by sentences.
15.
16. state active : This is the name of the state which I made.
19. 5. Types of scripts For example, we must determine where animals are and which direction they see precisely. face_rot=llEuler2Rot(rot*= DEG_TO_RAD); //degree to radian llSetPos(v_pet); //Position of the animal llSetRot(face_rot); //Angle of the animal face_rot, rot, v_pet:the names I made llEuler2Rot:change euler to rotation DEG_TO_RAD:change degree to radian llSetPos:determine the position llSetRot:determine the rotation rotation:Please refer to http://wiki.secondlife.com/wiki/Rotation
20. 5. Types of scripts Sometimes we add the notecards into the content of the object. For example, the notecard of texture UUID or the numbers which define the interval and the range of the sensor. (By a sensor you can know who is near you.) UUID:Peculiar figure which is a string of 32 hex characters with four dashes interspersed allocated in one thing (an object, a gesture, an account and a texture etc.) Sample of UUID:This is allocated to me. adc5208a-c98c-494e-a5f6-86ccf4b773e1
21.
22. My best invention in SL is DDB (Dracy Drawing Board) . By this one can draw a picture or write a text in SL rather freely. I made this for myself. I wanted to test if it is possible to teach subjects, especially maths, in SL.
23.
24.
25.
26. 6. Examples of intelligent objects made with scripts We can draw a picture of structural formula of organic compounds rather easily by using DDB. The empty squares below were made transparent by the function of DDB. We can easily restore the colour by the button of DDB. I use DDB to teach chemistry to a student in the next video.
27. Conclusions Discover applications of Second Life it is a task that needs time. After two years practising in Second Life, I have discovered that it is possible using this virtual environment for teaching maths because we can show the students the models of real things to make them learn things easier. The models can be made to move as we want them to do. 3D models are much better than pictures on the papers or on the blackboards. One of the best things of the models is that can be scripted to react against the students.
28. Conclusions We can build the models of the same size with the real objects (in this case, the sizes must be compared with the size of avatars). Students can practice the real activities, for example, measuring the length of the long roads or taking a picture of big buildings from the sky easily in SL. We can use 3D graphics for displaying data. If anybody is interested in my tools or in exchanging knowledge about scripting, you can contact with my avatar in S.L (Draceina Pinion) or you can visit my shop Slur... http://slurl.com/secondlife/Balenissa%20Grove/242/107/80