Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 58 and Version 59 of content/LevelHowTo


Ignore:
Timestamp:
Sep 7, 2015, 2:28:42 PM (9 years ago)
Author:
fvultier
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • content/LevelHowTo

    v58 v59  
    213213== Portals ==
    214214Portals allow to teleport through space.
    215 First you need to place at least two PortalEndPoint. Give each end point a unique id using e.g. id=1. Then you need the PortalLink class to define which PortalEndPoint is connected to which other PortalEndPoint.
    216 The attribute target of a PortalEndPoint may be used to restrict the classes that can use the PortalEndPoint. By default all Pawn instances can use it. By typeing target="MobileEntity" all MobileEntity instances can use the PortalEndPoint.
    217 The templates in the example below only hve the purpose to make the end points visible. Use the design attribute of a PortalEndPoint to automatically apply the specified template to it.
     215First you need to place at least two PortalEndPoint. Give each end point a unique id using e.g. id="1" for one portal and id="2" for the other. Then you need the PortalLink class to define which PortalEndPoint is connected to which other PortalEndPoint.
     216The attribute target of a PortalEndPoint may be used to restrict the classes that can use the PortalEndPoint. By default all Pawn instances can use it. By typeing e.g. target="MobileEntity" all MobileEntity instances can use the PortalEndPoint.
     217The templates in the example below only have the purpose to make the end points visible. Use the design attribute of a PortalEndPoint to automatically apply the specified template to it.
    218218{{{
    219219#!xml
     
    221221    <PortalEndPoint>
    222222        <attached>
    223             <Billboard material="Portals/Default" />
     223            <Model mesh="Spacegate.mesh" yaw="90"/>
    224224        </attached>
    225225    </PortalEndPoint>