Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 30, 2015, 10:26:22 AM (9 years ago)
Author:
bhatiab
Message:

removed the other enemystations, as one should be enough, added enemies and fixed their coordinates, too many of them cause performance issues, so just 25 enemies at the moment

File:
1 edited

Legend:

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

    r10867 r10890  
    5454        cEnemyBasePlanet = {-20000, -5500, -8000}
    5555
    56         cEnemyBaseStation1 = {-15000, -5000, -4000}
    57         --[[
    58         cEnemyBaseStation2 = {-16000, -5500, -4000}
    59         cEnemyBaseStation3 = {-14000, -4500, -4000}
    60         ]]--
     56        cEnemyBaseStation1 = {-12500, -4500, -3500}
    6157
    6258              cField1 = {-5000, -4000, -3000}
     
    241237    </Pawn>
    242238
    243     <!--TODO: The Other Stations are flying away...
    244 
    245     <Pawn name="statB" team=1 radarname="EnemyBase" position="<?lua printC(cEnemyBaseStation2) ?>" direction="<?lua printC(cSpawn) ?>" yaw=45 pitch=-5 roll=-25 initialhealth=10000 maxhealth=10000 >
    246         <templates>
    247             <Template link="station" />
    248         </templates>
    249     </Pawn>
    250 
    251     <Pawn name="statB" team=1 radarname="EnemyBase" position="<?lua printC(cEnemyBaseStation3) ?>" direction="<?lua printC(cSpawn) ?>" yaw=45 pitch=-5 roll=-25 initialhealth=10000 maxhealth=10000 >
    252         <templates>
    253             <Template link="station" />
    254         </templates>
    255     </Pawn>
    256 
    257   -->
    258 
    259239    <!-- New SpaceShip as destination of dock A-->
    260240    <SpaceShip
     
    391371    </Planet>
    392372
    393     <!--TODO: Fix Enemies and their coordinates
    394 
    395     <?lua
    396       rows = 10
    397       colomns = 10
    398       for k = 1, rows, 1
     373    <?lua
     374      xi = 5
     375      zi = 5
     376      for k = 1, xi, 1
    399377      do
    400378    ?>
    401379    <?lua
    402       for i = 1, colomns, 1
     380      for j = 1, zi, 1
    403381      do
    404       x = -10000+k*100
    405       y = -5000+i*100
    406     ?>
    407     <SpaceShip visible=false active=false name="Enemies" radarname="Attacker" position="<?lua print(y)?>,-4000,<?lua print(x)?>" lookat="0,0,0" team=1>
     382      x = -2500+k*100
     383      z = -4400+j*100
     384    ?>
     385    <SpaceShip visible=true active=false name="Enemies" radarname="Attacker" position="-11000,<?lua print(z)?>,<?lua print(x)?>" lookat="0,0,0" team=1>
    408386        <templates>
    409387            <Template link="spaceshippirate" />
     
    412390    <?lua end ?>
    413391    <?lua end ?>
    414   -->
    415392
    416393    </Scene>
Note: See TracChangeset for help on using the changeset viewer.