Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 26, 2015, 1:58:52 PM (9 years ago)
Author:
bhatiab
Message:

changed the waypoints for the transporter…

File:
1 edited

Legend:

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

    r10696 r10699  
    414414
    415415    <!-- Transporter, starting Point is near A, end Point near B, the circle parameters for the waypoints are: Center = (0, -887, 0), r = 2613 -->
    416     <SpaceShip position="2450, -1667, 0" lookat="-2494, -1667, 0" team=1 name="transporter" radarname="Shuttle">
     416    <SpaceShip position="5000,-3000,0" lookat="-2494, -1667, 0" team=1 name="transporter" radarname="Shuttle">
    417417        <templates>
    418418            <Template link="spaceshipTransporter" />
     
    429429                    for i = 1, max, 1
    430430                    do
    431                     x = math.cos(math.pi*(i+1)/8)*2613
    432                     y = -math.sin(math.pi*(i+1)/8)*2613-887
     431                    x = math.cos(math.pi*(i+1)/8)*5000
     432                    y = -math.sin(math.pi*(i+1)/8)*700-3000
    433433                    ?>
    434434                    <Billboard position="<?lua print(x) ?>,<?lua print(y) ?>,0" amplitude=1 material="Flares/lensflare" colour="1,1,0.05"/>
     
    436436
    437437                    <!-- Return Point -->
    438                     <Billboard position="-2450, -1667, 0" amplitude=1 material="Flares/lensflare" colour="1,1,0.05"/>
     438                    <Billboard position="-5000, -3000, 0" amplitude=1 material="Flares/lensflare" colour="1,1,0.05"/>
    439439
    440440                    <!-- B to A -->
     
    443443                    for i = 1, max, 1
    444444                    do
    445                     x = math.cos(math.pi*(max+2-i)/8)*2613
    446                     y = -math.sin(math.pi*(max+2-i)/8)*2613-887
     445                    x = math.cos(math.pi*(max+2-i)/8)*5000
     446                    y = -math.sin(math.pi*(max+2-i)/8)*700-3000
    447447                    ?>
    448448                    <Billboard position="<?lua print(x) ?>,<?lua print(y) ?>,0" amplitude=1 material="Flares/lensflare" colour="1,1,0.05"/>
     
    450450
    451451                    <!-- Start Point -->
    452                     <Billboard position="2450,-1667,0" amplitude=1 material="Flares/lensflare" colour="1,1,0.05"/>
     452                    <Billboard position="5000,-3000,0" amplitude=1 material="Flares/lensflare" colour="1,1,0.05"/>
    453453                </waypoints>
    454454            </WaypointController>
Note: See TracChangeset for help on using the changeset viewer.