Difference between revisions of "SL Cert - Advanced Scripting"
Line 20: | Line 20: | ||
=== Primitives, Objects === | === Primitives, Objects === | ||
At the advanced level the person should be aware of all the different ways that a prim can be altered using LSL. This includes all of the methods listed at the intermediate level. The person should demonstrate knowledge of how to change multiple properties of any prim in a linkset in one command. The person should also be able to demonstrate an understanding of issues related to lag and script delay. For example, the person should be able to predict potential problems with a particle command and how it relates to client side performance of people viewing the object. | |||
Additionally a person should be able to combine a wide variety of other techniques to manipulate and change the prims within an object to a predetermined state. For example, the person should be able to read the contents of a notecard and interact with an agent using the dialog, chat, and instant message commands to determine how a prim should appear and then change the appearance of the particular prim. The person should also be able to use the link detection commands to determine which prim to change in an object. | |||
=== Avatars and Agents === | === Avatars and Agents === |
Revision as of 07:07, 26 November 2009
Overview
Criteria required for persons to become certified in advanced scripting.
Audience
Persons who wish to demonstrate competence in advanced LSL scripting.
Prerequisites
Applicant must hold intermediate scripting certification in the specific area.
Criteria for testing to advanced level
Scripting includes a wide variety of categories. At the intermediate and advanced level the different categories are broken out separately. The different categories are given below with the associated topics. Note that there is some overlap between categories. This is because the different topics can not be easily divided and are related. Some topics may be necessary for multiple categories and are listed multiple times to avoid prerequisite clashes between categories.
Primitives, Objects
At the advanced level the person should be aware of all the different ways that a prim can be altered using LSL. This includes all of the methods listed at the intermediate level. The person should demonstrate knowledge of how to change multiple properties of any prim in a linkset in one command. The person should also be able to demonstrate an understanding of issues related to lag and script delay. For example, the person should be able to predict potential problems with a particle command and how it relates to client side performance of people viewing the object.
Additionally a person should be able to combine a wide variety of other techniques to manipulate and change the prims within an object to a predetermined state. For example, the person should be able to read the contents of a notecard and interact with an agent using the dialog, chat, and instant message commands to determine how a prim should appear and then change the appearance of the particular prim. The person should also be able to use the link detection commands to determine which prim to change in an object.
Avatars and Agents
- Sit positions and associated functions
- Setting the position and rotation of a sit position.
- Turning off a sit position after it has been set.
- Know how to set the camera orientation for a sitting avatar.
- Permissions
- Basic understanding of the permissions system.
- Know how to obtain permissions and basic understanding when it is required.
- Animations
- Know how to set a the animation of a person sitting on a prim.
- Know how to obtain permission before setting the animation.
- Know how to remove an active animation.
- Camera Controls
- Know how to obtain permission to change the camera orientation.
- Know the basic ways to change the camera. (Static positioning)
- Dataserver
- Know the commands that can be used to obtain information about an agent.
- Know how to obtain agent and avatar information via the data server event.
Inventory and Simulator Information
- Notecards
- Get the number of lines in a note card.
- Step through and get each line in a note card.
- Know how to stop reading a note card by testing for the EOF constant.
- Detect when the inventory has changed.
- Inventory information
- Get the name of the creator for an object.
- Inventory numbering system.
- Inventory types.
- Inventory Permissions.
- Basic use of the llRequestSimulatorData command.
Advanced I/0
- HTTP - in
- Creating an HTTP server
- Reacting to errors in the set up
- Reacting to changes to the server
- Reacting to outside requests
- HTTP - out
- Sending communications out to other http servers
- reacting to errors
- Writing flexible scripts that can adapt to server outages and other potential failures.
- Communication with outside servers.
At the advanced level for communications a person should be able to combine the different communication techniques to complete complex operations. For example, the person should be able to combine the use of dialogs and chat commands to send information to different scripts in various prims in an object using the link message system and a single script that interacts with an agent.
In addition to combining communication routines the person should be able to communicate between different objects in world using the http-in and http-out systems. The person should demonstrate scripts that have the flexibility to handle errors in the set up of the http routines and demonstrate flexibility in handling situations impact the http system. For example, the person should be able to develop systems of scripts that can maintain communication in the presence of sim crossings and resets.
Finally the person should demonstrate that they can communicate with outside servers and provide persistant data sources. The person must show basic proficiency in at least one other scripting language such as php, python, perl, or other relevant language. They should also demonstrate a basic profiency in connecting with a database and manipulating the database.
Physics
At the advanced level for physics a person should know the difference between the linear and rotational commands for force and impulse. The person should understand the impulse momentum theorem and the differential form of Newton's Second Law. The person should know how to put the rotational and linear forms of the commands together to achieve specific objectives.
For example, a person should be able to use the physics commands to move an object to a specific location and keep it in a specific orientation. The person should be able to combine different categories in order to move the object. For example, the person should be able to use a sensor or a timer to have a physical object follow an agent and maintain a specific rotation.
Finally, a person should be able to calculate the moment of inertia for simple objects and combinations of simple objects. The person should demonstrate that they know how to use this understanding when using the rotational commands for angular impulse and torque.
Vehicles
At the advanced level a person should be able to construct a vehicle. A person should be able to construct a variety of vehicles and know the differences between them. For example, the person should be able to construct a boat, car, or plane. They should be able to use the permissions system to have a person control the vehicle in nontrivial ways.
Detection
- Touch events
- The three touch events.
- Functions to detect information about who has touched a prim.
- Passing touch information to other prims in a build.
- Collision events
- The three collision events.
- Functions to detect information about what/who took part in the collision.
- Land collision events
- The three land collision events.
- Functions to detect information about what/who took part in the land collision.
- Sensors
- The sensor commands.
- The two sensor related events.
- Limiting the scope of a sensor.
- Limitations of a sensor.
Programming and Software Development
- More advanced use of lists and data types.
- Multiple Data Types
- Using strided lists with multiple data types
- Manipulating all data types
- Advanced revision systems.
- Branching and merging revisions.
- Tagged revisions.
- Finding and using differences between revisions
- Workflow
- Demonstrate effective interactions with clients and remain flexible through the entire development cycle.
- Establishing a plan for systems of scripts and carrying it out.
- Be able to adapt the plan as the requirements change.
- Be able to establish time lines and effectively communicate them with clients.
At the advanced level a person should be familiar with all data
types. The person should know when to use a given a data type and when
it is appropriate. The person should be able to use the most advanced
features of lists and work with strided lists that contain a variety
of data types. The person should be able to use the list functions to
determine the data type for an entry in the list.
A person should be able to use the more advanced features of a software revision system. The person should know when it is appropriate to create a branch and know how to create a branch. The person should know how to merge a branch back into an established trunk. The person should also know what a tagged release is and how to create a tagged release in the revision software that they are using.
A person should be able to create plans for creating systems of scripts. The person should be able to demonstrate that they can establish a time line for a project and determine a set of intermediate steps necessary in order to complete a project. The person should demonstrate an ability to communicate the time line and the reasons for their decisions with a client. Finally, the person should demonstrate an ability to adapt and change a timeline as the client changes the requirements. As part of this aspect the person should demonstrate that they can anticipate potential problems with a given set of requirements and work with a client in advance to avoid potential problems.