Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10867


Ignore:
Timestamp:
Nov 26, 2015, 2:39:07 PM (8 years ago)
Author:
bhatiab
Message:

Worked on expeditionSector.oxw, added EnemyBase and Enemies, they need to be fixed though…

File:
1 edited

Legend:

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

    r10839 r10867  
    4646        cSpawn = {-50, 0, 0}
    4747
    48         cStationA = {1400, 400, -800}   
     48              cStationA = {1400, 400, -800}
    4949        cNewShip = {1000, 250, -350}
    5050
    51         cPlanet1 = {-9000, -8000, 14000}
    52         cPlanet2 = {12000, -1500, -10000}
    53 
    54         cEnemyBasePlanet = {-20000, -5500, -8000}
    55 
    56         cField1 = {-5000, -4000, -3000}
    57         cField2 = {4000, 2000, 4500}
     51              cPlanet1 = {-9000, -8000, 14000}
     52              cPlanet2 = {12000, -1500, -10000}
     53
     54        cEnemyBasePlanet = {-20000, -5500, -8000}
     55
     56        cEnemyBaseStation1 = {-15000, -5000, -4000}
     57        --[[
     58        cEnemyBaseStation2 = {-16000, -5500, -4000}
     59        cEnemyBaseStation3 = {-14000, -4500, -4000}
     60        ]]--
     61
     62              cField1 = {-5000, -4000, -3000}
     63              cField2 = {4000, 2000, 4500}
    5864
    5965        --[[ Function to print Coordinates. Quotes not included! ]]--
     
    227233    </Pawn>
    228234
     235    <!-- EnemyStation -->
     236
     237    <Pawn name="statB" team=1 radarname="EnemyBase" position="<?lua printC(cEnemyBaseStation1) ?>" direction="<?lua printC(cSpawn) ?>" yaw=45 pitch=-5 roll=-25 initialhealth=10000 maxhealth=10000 >
     238        <templates>
     239            <Template link="station" />
     240        </templates>
     241    </Pawn>
     242
     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
    229259    <!-- New SpaceShip as destination of dock A-->
    230260    <SpaceShip
     
    253283
    254284    <!-- Asteroids you have to fly through to get to the EnemyBase -->
    255    
     285
    256286    <?lua
    257287        dofile("includes/asteroidField.lua")
    258288       asteroidField(cField1[1], cField1[2], cField1[3], 20, 30, 4500, 500, 0)
    259     ?>   
     289    ?>
    260290
    261291    <!-- Other Asteroid-Fields -->
     
    264294        dofile("includes/asteroidField.lua")
    265295       asteroidField(cField2[1], cField2[2], cField2[3], 20, 30, 4500, 500, 0)
    266     ?> 
     296    ?>
    267297
    268298    <!-- Planets -->
     
    282312        atmospheresize="80.0f"
    283313        imagesize="1024.0f"
    284         collisiondamage = 2
    285         enablecollisiondamage = true
    286         visible=true
    287         active=true
     314        collisiondamage=2
     315        enablecollisiondamage=true
     316              visible=true
     317              active=true
    288318      >
    289319      <attached>
     
    314344        atmospheresize="80.0f"
    315345        imagesize="1024.0f"
    316         collisiondamage = 2
    317         enablecollisiondamage = true
    318         visible=true
    319         active=true
     346        collisiondamage=2
     347        enablecollisiondamage=true
     348              visible=true
     349              active=true
    320350      >
    321351      <attached>
     
    348378        atmospheresize="80.0f"
    349379        imagesize="1024.0f"
    350         collisiondamage = 2
    351         enablecollisiondamage = true
    352         visible=true
    353         active=true
     380        collisiondamage=2
     381        enablecollisiondamage=true
     382              visible=true
     383              active=true
    354384      >
    355385      <attached>
     
    361391    </Planet>
    362392
     393    <!--TODO: Fix Enemies and their coordinates
     394
     395    <?lua
     396      rows = 10
     397      colomns = 10
     398      for k = 1, rows, 1
     399      do
     400    ?>
     401    <?lua
     402      for i = 1, colomns, 1
     403      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>
     408        <templates>
     409            <Template link="spaceshippirate" />
     410        </templates>
     411    </SpaceShip>
     412    <?lua end ?>
     413    <?lua end ?>
     414  -->
     415
    363416    </Scene>
    364417</Level>
Note: See TracChangeset for help on using the changeset viewer.