AgeRegions

From Alcugs

Jump to: navigation, search

Note: Anything extracted from any Plasma Resource Files is property of Cyan Worlds, Inc. You may not use these assets without recieving written permission from Cyan Worlds, Inc.

Please read this Notice from Cyan about Age Creation before continuing.

Previous: Lighting Contents Next: ClickableObjects

Contents

Regions in your age

In plasma, regions are used very heavily, to trigger special actions when the avatar enters a specific area.
A region is an ordinary object with no visible data, and no touchable collision. However ,when entering such an area, this is detected and certain signals are sent to the engine.

In blender (PyPRP), regions are by default added on the second layer. Also, regions added by using the Scripts->Add->PyPRP menu, are set to always display in wire frame mode. This is to avoid visual clutter.

To the PyPRP exporter, regions are identified by the following logic properties:

string "alctype"   value "region" - tells PyPRP that this is a region
string "prpregion" value see below - identifies the type of region.

We will now discuss the possible region types.

Note: This is only a global overview of possible regions. Also read the tutorial related to this region for full information!

Click Regions

string "prpregion" value "clickregion"

Clickable regions are to determine if the avatar is close enough to an object to be able to click on it. If the avatar is within the click region, the clickable objects within (linked to) that region will make the mouse cursor change to a Dot within a Circle, indicating that the object can be clicked to trigger a python action.

See for more information: Clickable objects in your Age

Camera Regions

string "prpregion" value "camerargn"

Camera regions trigger the activation of cameras. There are two possibilities:
1. The linked camera stays active only while you are within the camera region
2. The region changes the default camera to the camera it links to.

See for more information: Cameras in your Age

Footstep Regions

string "prpregion" value "footsteprgn"

Footstep regions activate the playback of different walking sounds. Sounds that are played when the avatar makes different moves. Different types of footstep sounds include "Dirt", "Wood" and "Rug"

See for more information: Sounds in your Age

Panic Link Regions

string "prpregion" value "paniclnkrgn"

By making a region a Panic Link Region, the avatar will panic link out to Relto upon making contact with this region.

See for more information: Panic Linking in your Age

Swim Detector Regions

string "prpregion" value "swimrgn"

A Swim Detector Region defines the area in which a Swim surface will be active.
While the avatar is inside this region, it will be drawn upwards to the swimming surface, when it is below one. (i.e. while it is "underwater")

Swim Surfaces won't work without a Swim Detector region encompassing them

See for more information: Swimming in your Age

== Normal Swim Surfaces"

string "prpregion" value "swimplainsfc"

Swim Surfaces are not regions as such, but are more like planes. In a Normal Swim Surface, there is no current, and the avatar can swim around freely.

See for more information: Swimming in your Age

Straight Current Swim Surfaces

string "prpregion" value "swimscursfc"

In this type of swim surface, there is a stable forward current with a certain speed.

See for more information: Swimming in your Age

Circular Current Swim Surfaces

string "prpregion" value "swimccursfc"

In this type of swim surface, the avatar will rotate with a certain speed around a center point, while also being attracted to this centerpoint with a different speed.

See for more information: Swimming in your Age

Climbing Regions

string "prpregion" value "climbregion"

Climbing Regions are used to define ladders. One climbing Region goes on top of the ladder, while another will go on the bottom of the ladder.

See for more information: Ladders in your Age

Previous: Lighting Contents Next: ClickableObjects
Personal tools