NewStyleRegions

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: Importing an Existing Age Contents Next: List of Properties

Contents

IMPORTANT

A script has been provided to automagically convert oldstyle regions to newstyle regions. You can find it in Scripts->Object->PyPRP...->Update Regions from old-style to new-style


Main Differences

  • New value for the alctype property: "region" - in the past regions were put under the alctype "collider"
  • New property" "prpregion" - this new property is only read when the alctype is region, and contains what used to go into the alcspecial property.
  • No more need to set col_type/mass/rc/el/col_flags[0-5] on regions. If they are not defined, they will default to the collision properties that are normal for the specified region type.
    If you wish to override the collistion properties though, you can do so by simply setting the desired properties.
  • On Importing, regions are detected by their associated objects and named accordingly. When the collision properties are on values that are normal for that region type, they are no longer added to the properties panel.

Bugfixes

  • A bug was fixed in which meshes of regions often needed to be converted to world coordinates done so within the script.
  • Also, clickable support has had a few fixes: 1)No more added properties after export and 2)No more conversion of the mesh to world coordinates


Overview of possible regions

List of possible region types:

  • "footsteprgn"
    Footstep Sound region
    Region Specific properties:
    • String "footstepsound" - two digit hex value, see this page for details
  • "paniclnkrgn"
    Panic Link Region
    Region Specific properties:
    • None
  • "swimrgn"
    Swim Detector Region
    Region Specific properties:
    • None
  • "swimplainsfc"
    Swim Plain Surface
    Region Specific properties:
    • None
  • "swimscursfc"
    Swim Straight Current Surface
    Region Specific properties:
    • Float "swimsfc_f2" - No known use
    • Float "swimsfc_f3" - Speed of the current on the Y-negative side of the currentdummy's X-axis.
    • Float "swimsfc_f4" - No known use
    • Float "swimsfc_f5" - Speed of the current on the Y-positive side of the currentdummy's X-axis
    • String "currentdummy" (name of point object)
    Value/Speed indication:
    Speed 2 can be easily overcome by swimming normally.
    Speed 6 can only be overcome by swimming in "run" mode.
    See this page for details
  • "swimccursfc"
    Swim Circular Current Surface
    Region Specific properties:
    - String "currentdummy" - name of point object that is placed in the desired centerof the current avatars will be drawn towards this point
    • Float "swimsfc_f1" - Speed of the current that flows counterclockwise around the center point.
    • Float "swimsfc_f2" - No known use
    • Float "swimsfc_f3" - related to a certain rotation of the avatar when used with values around 16 or -16.
    • Float "swimsfc_f4" - No known use
    • Float "swimsfc_f5" - Speed of the current that flows towards the center (the current dummy)
    Value/Speed indication:
    Speed 2 can be easily overcome by swimming normally.
    Speed 6 can only be overcome by swimming in "run" mode.
    See this page for details
  • "climbregion"
    Climbing Region
    Region Specific properties:
    • String "bottomFlag"
    • Int "climbOffset"
    • Int "climbHeight"
    See this page for details
  • "camerargn"
    See this page for information on cameras
  • "clickrgn"
    Must be placed around clickable objects
    See this page for details
Previous: Importing an Existing Age Contents Next: List of Properties
Personal tools