Difference between revisions of "SL Cert - Intermediate Scripting"
m (moved User:Louise Rumpler and Grandma Bates/SL Cert Intermediate Scripting to SL Cert - Intermediate Scripting: Move out of user pages area.) |
|||
Line 117: | Line 117: | ||
=== | === Intermediate I/0 === | ||
* | |||
# | * Text commands | ||
# | # Dialogs | ||
# Limitations of chat commands | |||
# Email | |||
# | |||
# | * Text and menu | ||
# Setting text over an object | |||
# Commands to manipulate the pie menu | |||
* Link messages | * Link messages | ||
Line 138: | Line 140: | ||
In addition to the basic chat commands and listen event defined in the basic level the person should now be able to perform more advanced interactions including the use of dialogs. Also the person should have a broader understanding of the limitations of chat commands and know how to use the options to share email messages between scripts. | |||
Also, the person should be able to change and manipulate the text over an object as well as remove the text over an object. The various commands to change the text in a pie menu should also be known. | |||
In addition to the chat and listening events the person should also know how to use link messages to communicate between scripts within an object. The person should know all of the options to communicate to specific prims or all of the prims in an object using link messages. | |||
Finally, the person should have a basic understanding of security issues and limitations. The person should be able to identify and check for specific agents as well as check and limit communications for ownership and group identities. | |||
Predefined channels (DEBUG_CHANNEL and PUBLIC_CHANNEL). | |||
Line 193: | Line 203: | ||
# Replacing a substring. | # Replacing a substring. | ||
# Inserting a substring. | # Inserting a substring. | ||
# Finding a | # Finding a substring. | ||
* More advanced revision systems. | * More advanced revision systems. | ||
# Basic understanding and use of at least on revision control system. (ex: RCS, subversion, or git) | # Basic understanding and use of at least on revision control system. (ex: RCS, subversion, or git) |
Revision as of 03:24, 26 November 2009
Overview
Criteria required for persons to become certified in intermediate scripting.
Audience
Persons who wish to demonstrate competence in intermediate LSL scripting.
Prerequisites
Applicant must hold basic scripting certification.
Criteria for testing to intermediate level
Scripting includes a wide variety of categories. At the intermediate 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
The different ways scripts can manipulate an object is included in this category. It does not include the ways to interact between objects and agents. The interaction categories are included in the detection and communications categories.
- Faces
- Each face on a prim has a number associated with it.
- The number varies by prim type and can vary depending if the prim has a "cut."
- It is not necessary to memorize all of the face numbers for every prim. It is necessary to know how to find the information and understand how the convention depends on whether or not a prim is cut.
- Changing color
- Commands for changing the color
- RGB definition of a color vector in LSL and how it is different from the editor window.
- Know how to convert back and forth between an RGB color vector in LSL and the format found in the editor window.
- Know how to identify when a color is changed using the changed event and the predefined constant CHANGED_COLOR.
- Changing alpha
- Commands for changing the alpha level
- Difference between changing alpha level and the two different transparant textures, TEXTURE_TRANSPARENT and e97cf410-8e61-7005-ec06-629eba4cd1fb (invisiprim).
- Know how to identify when an alpha level is changed using the changed event and the predefined constant CHANGED_COLOR.
- Changing textures
- Commands for changing the textures
- Predefined constants for UUIDs of textures
- Know the difference between the constants TEXTURE_TRANSPARENT, TEXTURE_BLANK, TEXTURE_MEDIA, and TEXTURE_PLYWOOD.
- Know how to identify when a texture is changed using the changed event and the predefined constant CHANGED_TEXTURE.
- Particles
- Command to create particles
- basic limitation of particles
- basic understanding on how to turn particles on and turn.
- Link commands and options
- Commands to determine the UUID, link number, total number of prims etc. for prims within the current object.
- Text and pie menu text
- Commands to change the text over a prim.
- Commands to change the text for different options in the pie menu.
- Primitive name and description
- Commands to get the name and description of a prim.
- Commands to change the name and description of a prim.
- Dataserver events
- Basic understanding of the data server event.
- Basic understanding of the different kinds of information that can be obtained using the Dataserver event.
- Obtaining object information
- Getting agent information (llRequestAgentData)
- Getting object information (llGetObjectDetails)
- Sound
- Commands to preload sound files.
- Commands to play sounds.
Note that for many of these items there are a large number of commands asociated with the topic. For example, just to change the color of a prim the following commands can be used: llSetColor, llSetLinkColor, llGetColor, llSetPrimitiveParams, llGetPrimitiveParams, llSetLinkPrimitiveParams. It is adequate for a person to just know how to use llSetPrimitiveParams and llSetLinkPrimitiveParams to change the color of a prim, but the person should know the other commands in case they are asked to adapt another person's code.
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.
Intermediate I/0
- Text commands
- Dialogs
- Limitations of chat commands
- Text and menu
- Setting text over an object
- Commands to manipulate the pie menu
- Link messages
- The link_message event.
- Sending link messages.
- Limiting link messages to specific prims within a build.
- Basic security
- Relying on arcane channels is not secure.
- Methods to insure a message is coming from an agent/object.
- Basic validation using MD5 and SHA1 hashes
In addition to the basic chat commands and listen event defined in the basic level the person should now be able to perform more advanced interactions including the use of dialogs. Also the person should have a broader understanding of the limitations of chat commands and know how to use the options to share email messages between scripts.
Also, the person should be able to change and manipulate the text over an object as well as remove the text over an object. The various commands to change the text in a pie menu should also be known.
In addition to the chat and listening events the person should also know how to use link messages to communicate between scripts within an object. The person should know all of the options to communicate to specific prims or all of the prims in an object using link messages.
Finally, the person should have a basic understanding of security issues and limitations. The person should be able to identify and check for specific agents as well as check and limit communications for ownership and group identities.
Predefined channels (DEBUG_CHANNEL and PUBLIC_CHANNEL).
Physics
- Linear and Angular Force
- Know the commands.
- Know the difference between local and global settings.
- Know the difference between linear and angular forces.
- Linear and Angular Momentum
- Know the commands.
- Know the difference between local and global settings.
- Know the difference between linear and angular momentum.
- Vehicles
- Know the basic commands and settings to initiate a vehicle.
- Know the basic ideas behind the different options.
- Know the impact of changing the individual parameters.
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.
- Adding to a list.
- Removing part of a list.
- Inserting into a list.
- Replacing part of a list.
- Finding an item in a list.
- More advanced string functions.
- Removing a substring.
- Replacing a substring.
- Inserting a substring.
- Finding a substring.
- More advanced revision systems.
- Basic understanding and use of at least on revision control system. (ex: RCS, subversion, or git)
- Be able to maintain revisions and find particular revisions using at least one revision control system.
- Workflow
- Demonstrate effective interactions with clients and remain flexible through the entire development cycle.
- Be able to establish a basic plan for the creation of a script that must accomplish multiple task.
- Be able to adapt the plan as the requirements change.
- Be able to provide effective mock-ups and trial programs for clients.