Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 14, 2011, 4:33:33 PM (13 years ago)
Author:
anbueche
Message:

portals work pretty good

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/portals/data/levels/portals.oxw

    r8200 r8243  
    2626  >
    2727
     28    <Template name=portalEventTemplate>
     29        <PortalEndPoint>
     30            <events>
     31                <execute>
     32                    <EventListener event="portal" />
     33                </execute>
     34            </events>
     35        </PortalEndPoint>
     36    </Template>
    2837
    29         <PortalEndPoint position="0,0,0" id="1">
    30                 <attached>
    31                         <Billboard material="Examples/Flare" />
    32                 </attached>
    33         </PortalEndPoint>
    34         <PortalEndPoint position="-100,0,0" id="2">
    35                 <attached>
    36                         <Billboard material="Examples/Flare2" />
    37                 </attached>
    38         </PortalEndPoint>
    39         <PortalLink fromID="1" toID="2" />
     38    <Template name=portalDefault>
     39        <PortalEndPoint>
     40            <attached>
     41                <Billboard material="Portals/Default" />
     42            </attached>
     43        </PortalEndPoint>
     44    </Template>
     45
     46    <PortalEndPoint position="0,0,0" id="1" distance="40" target="MobileEntity" design="portalDefault" eventTemplate="portalEventTemplate" />
     47    <PortalEndPoint position="-400,0,0" id="2" distance="40" lookat="0,100,0" target="MobileEntity" design="portalDefault" eventTemplate="portalEventTemplate" />
     48    <PortalLink fromID="1" toID="2" />
     49    <PortalLink fromID="2" toID="1" />
    4050
    4151    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
Note: See TracChangeset for help on using the changeset viewer.