Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10667 for code/branches


Ignore:
Timestamp:
Oct 19, 2015, 3:47:08 PM (9 years ago)
Author:
bhatiab
Message:

Added Waypoints for Transporter - Coordinates for A, B and the Waypoints need to be fixed though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/data/levels/Campaign1.oxw

    r10666 r10667  
    196196                    <WaypointController accuracy=10>
    197197                        <waypoints>
    198                             <Model mesh="cube.mesh" scale=8 position="-2500,0,900" />
    199                   <Model mesh="cube.mesh" scale=8 position="-2500,0,-900" />
    200                   <Model mesh="cube.mesh" scale=8 position="-2500,0,-1700" />
     198                <Model mesh="sphere.mesh" scale=100 position="-2500,0,1650" />
     199                <?lua
     200                max = 5
     201                for i = 1, max, 1
     202                do
     203                  x = math.cos(math.pi/8*(i+1))*3490
     204                  y = -math.sin(math.pi/8*(i+1))*3490
     205                ?>
     206                            <Model mesh="sphere.mesh" scale=100 position="<?lua print(y) ?>+490,0,<?lua print(x) ?>" />
     207                <?lua end ?>
     208                <Model mesh="sphere.mesh" scale=100 position="-2500,0,-1650" />
    201209                        </waypoints>
    202210                    </WaypointController>
Note: See TracChangeset for help on using the changeset viewer.