Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9012 for code/branches


Ignore:
Timestamp:
Dec 20, 2011, 11:10:32 PM (13 years ago)
Author:
jo
Message:

Level update - now with improved concept.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2011/data/levels/presentationHS11.oxw

    r9010 r9012  
    1515  include("templates/spaceshipPirate.oxt")
    1616  include("templates/spaceshipSwallow.oxt")
     17  include("templates/spaceshipTransporter.oxt")
    1718?>
    1819
    1920<Level
    2021 gametype = "Mission"
    21 >
     22>                      <!--ALTERNATIVE: TeamGametype-->
    2223  <templates>
    2324    <Template link=lodtemplate_default />
    2425  </templates>
    2526  <?lua include("includes/notifications.oxi") ?>
     27
     28  <NotificationQueueCEGUI
     29    name="narrative"
     30    targets="simpleNotification"
     31    size=3
     32    displayTime=3.9
     33    position="0.2, 0, 0.1, 0"
     34    fontSize="23"
     35    fontColor="0.3, 1, 0.2, 0.8"
     36    alignment="HorzCentred"
     37    displaySize="0.6, 0, 0, 0"
     38    />
    2639
    2740  <Scene
     
    3649  <!-- TRIGGERS -->
    3750    <DistanceTrigger name="FormationInit" position="800,700,600"  target="Pawn" distance=60 stayActive="true" delay=0.1 />
    38     <DistanceTrigger name="LetsGo"        position="800,700,1000" target="Pawn" distance=60 stayActive="true" delay=0.1 />
     51    <DistanceTrigger name="LetsGo"        position="200,-200,1000" target="Pawn" distance=180 stayActive="true" delay=0.1 />
     52      <BlinkingBillboard colour="1,1,0.05"position="200,-200,1000" frequency=0.6 amplitude=3 material="Flares/lensflare" >
     53      </BlinkingBillboard>
     54
     55
    3956
    4057
     
    5572    </Script> <!-- make bots "friendly", doesn't work yet :-( -->
    5673
    57 <!-- ADDING FORMATION -->
     74    <SimpleNotification message="Let's go!">
     75        <events>
     76            <trigger>
     77                <EventListener event="LetsGo" />
     78            </trigger>
     79        </events>
     80    </SimpleNotification>
     81
     82
     83<!-- ADDING FORMATION: 5 Swallows -->
    5884<?lua for i=0,4,1 do
    5985?>
     
    80106
    81107
     108    <SpaceShip position="-400,3000,-2000" lookat="-1300,-600,900" visible="true">
     109        <!--events>
     110            <visibility>
     111                <EventListener event="ondock" />
     112            </visibility>
     113        </events-->
     114        <templates>
     115            <Template link=spaceshipTransporter />
     116        </templates>
     117        <controller>
     118            <AIController team=1>
     119                <events>
     120                    <activity>
     121                        <EventListener event="LetsGo" />
     122                     </activity>
     123                </events>
     124            </AIController>
     125        </controller>
     126    </SpaceShip>
     127
    82128
    83129<!-- ACTUAL LEVEL -->
    84130
    85 <BlinkingBillboard position="800,700,1000" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05">
    86131
    87 </BlinkingBillboard>
    88132
    89133<!-- Generate asteroid field and asteroid belt -->
Note: See TracChangeset for help on using the changeset viewer.