Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9991


Ignore:
Timestamp:
Jan 31, 2014, 11:27:24 PM (11 years ago)
Author:
jo
Message:

Removing an error concerning the NotificationQueu in EscapeTheBasterds.

Location:
code/trunk/data/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/levels/iiJohnVane_Area51UnderFire.oxw

    r9990 r9991  
    4343
    4444  <?lua include("includes/notifications.oxi") ?>
    45 
    46 
    4745  <NotificationQueueCEGUI
    4846    name="narrative"
     
    6361  <?lua include("includes/pickups.oxi") ?>
    6462
    65     <Script code="showGUI NotificationLayer false true" needsGraphics="true" />
     63    <Script code="showGUI NotificationLayer false true" needsGraphics="true" times="1"/>
    6664    <OverlayGroup name="spacefightHUD" scale = "1, 1">
    6765      <CountDown
  • code/trunk/data/levels/iiiJohnVane_EscapeTheBastards.oxw

    r9943 r9991  
    55Everything works fine, there are just some design issues:
    66
    7         - Better Homeplanet Design
    8         - Change Boxdesign at the End (metal_crate.mesh instead of crate.mesh)
    9         - Apply Boxcollison
    10         - Green Box at the end Triangular
    11         - Better Portal Jump
    12         - better forcefield
    13         - Sun Background (Particle Effects)
    14         - Asteroid Belts around Planets (without lags!!!)
     7- Better Homeplanet Design
     8- Change Boxdesign at the End (metal_crate.mesh instead of crate.mesh)
     9- Apply Boxcollison
     10- Green Box at the end Triangular
     11- Better Portal Jump
     12- better forcefield
     13- Sun Background (Particle Effects)
     14- Asteroid Belts around Planets (without lags!!!)
    1515-->
    1616
     
    1818<!--
    1919Basic ------------------------------------------------------------------------------------------------------------------------>
    20                                                         <!--Basic Infos-->
     20<!--Basic Infos-->
    2121
    2222<LevelInfo
     
    4242?>
    4343
    44   <NotificationQueueCEGUI
    45     name="narrative"
    46     targets="simpleNotification"
    47     size=3
    48     displayTime=4
    49     position="0.2, 0, 0.1, 0"
    50     fontSize="23"
    51     fontColor="0, 0.5, 1, 0.9"
    52     alignment="HorzCentred"
    53     displaySize="0.6, 0, 0, 0"
    54     />
    55 
    5644<Level
    5745  name = "Escape the bastards"
     
    6250    <Template link=lodtemplate_default />
    6351  </templates>
     52 
    6453  <?lua include("includes/notifications.oxi") ?>
     54  <NotificationQueueCEGUI
     55    name="narrative"
     56    targets="simpleNotification"
     57    size=3
     58    displayTime=4.9
     59    position="0.2, 0, 0.1, 0"
     60    fontSize="23"
     61    fontColor="0.3, 1, 0.2, 0.8"
     62    alignment="HorzCentred"
     63    displaySize="0.6, 0, 0, 0"
     64    />
    6565
    6666  <Scene
     
    7575    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
    7676
    77        
    78 
    7977    <!-- SpawnPoint team=0 position="-1000,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff / -->
    8078
     
    8482
    8583    <PickupSpawner pickup=hugehealthpickup position="0,-4,-1540" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" visible="true">
    86                             <events>
    87                                 <visibility>
    88                                     <EventListener event="boxtrigger" />
    89                                 </visibility>
    90                             </events>
    91         </PickupSpawner>
     84        <events>
     85            <visibility>
     86                <EventListener event="boxtrigger" />
     87            </visibility>
     88        </events>
     89    </PickupSpawner>
    9290    <PickupSpawner pickup=mediumspeedpickup position="0,4,-1540" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"  visible="true">
    93                             <events>
    94                                 <visibility>
    95                                     <EventListener event="boxtrigger" />
    96                                 </visibility>
    97                             </events>
    98         </PickupSpawner>
     91        <events>
     92            <visibility>
     93                <EventListener event="boxtrigger" />
     94            </visibility>
     95        </events>
     96    </PickupSpawner>
    9997
    10098<!-- Pickups heal the box, so one cant destroy the box -->
    10199
    102100<!-- Pickups END -->
    103                                                         <!--Basic Infos end-->
     101<!--Basic Infos end-->
    104102
    105103<!--Story----------------------------------------------------------------------------------------------------------------------------------------------------------------------->
     
    110108        <events>
    111109            <trigger>
    112 
    113110                <TeamSpawnPoint team=0 position="-8050,0,0" direction="1,0.3,0.2" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage>
    114111<!-- Spawnpoint aendern zu -8050,0,0 nachher direction="1,0.3,0.2"-->
     
    145142
    146143
    147 
    148 
    149144        <QuestEffectBeacon times=1>
    150145            <effects>
     
    203198        </QuestEffectBeacon>
    204199
    205                         <!-- END OF GAME -->
     200    <!-- END OF GAME -->
    206201    <SimpleNotification message="Well done, you've finished">
    207202        <events>
     
    213208
    214209
    215     <Script code="Mission endMission true" onLoad="false">
     210    <Script code="Mission endMission true" onLoad="false" times="1">
    216211        <events>
    217212            <trigger>
     
    220215        </events>
    221216    </Script>
    222                         <!-- END OF GAME END -->
    223 
    224 
    225         <DistanceTrigger name="missionfinish" position="-120,0,0" target="Pawn" distance=60 stayActive="true" delay=1>
     217   
     218    <Script code="Mission setLives 1" onLoad="true" times="1" />
     219    <!-- END OF GAME END -->
     220
     221
     222    <DistanceTrigger name="missionfinish" position="-120,0,0" target="Pawn" distance=60 stayActive="true" delay=1>
    226223    </DistanceTrigger>
    227         <DistanceTrigger name="reachedally" position="-120,0,0" target="Pawn" distance=60 stayActive="true" delay=0>
     224    <DistanceTrigger name="reachedally" position="-120,0,0" target="Pawn" distance=60 stayActive="true" delay=0>
    228225    </DistanceTrigger>
    229         <DistanceTrigger name="reachedhomeplanet" position="-3000,12000,-6990" target="Pawn" distance=100 stayActive="true" delay=0>
     226    <DistanceTrigger name="reachedhomeplanet" position="-3000,12000,-6990" target="Pawn" distance=100 stayActive="true" delay=0>
    230227    </DistanceTrigger>
    231         <DistanceTrigger name="reachedend" position="-41000,-30000,33800" target="Pawn" distance=60 stayActive="true" delay=2>
     228    <DistanceTrigger name="reachedend" position="-41000,-30000,33800" target="Pawn" distance=60 stayActive="true" delay=2>
    232229    </DistanceTrigger>
    233230
     
    674671<!--Enviroment-------------------------------------------------------------------------------------------------------------------------------------------------------------------->
    675672
    676                                                         <!--Asteroids Field-->
    677 
    678         <?lua for i=0,750,1 do
     673    <!--Asteroids Field-->
     674
     675        <?lua for i=0,650,1 do
    679676                x=math.random(-8000,-1000)
    680677                y=math.random(-2345,2345)
     
    773770    ?>
    774771    <?lua end ?>
    775                                                         <!--Asteroid Elipse end-->
    776 
    777                                                         <!--Planet sun-->
     772<!--Asteroid Elipse end-->
     773
     774<!--Planet sun-->
    778775    <Planet position="15000,0,0" scale=1500 pitch=-90 mesh="planets/sol.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=0 imagesize=1024.0f />
    779776    <StaticEntity position="2600,0,0" collisionType=static>
     
    785782    <Billboard position="15100,0,0" material="Flares/backlightflare" colour="0.7,0.4,0.1" scale=600 />
    786783
    787                                                 <!--Planet END-->
    788 
    789                                                         <!--Planet with Ally-->
     784<!--Planet END-->
     785
     786<!--Planet with Ally-->
    790787    <Planet
    791788      position="0,0,0"
     
    796793      mass="5000000"
    797794      pitch="0"
    798       mesh="planets/muunilinst.mesh"
     795      mesh="iceplanet.mesh"
    799796      atmosphere="atmosphere1"
    800797      rotationaxis="1,0,0"
     
    811808      </collisionShapes>
    812809    </Planet>
    813                                                         <!-- Planet with Ally END-->
    814 
    815 
    816                                                         <!-- Homeplanet -->
     810<!-- Planet with Ally END-->
     811
     812
     813<!-- Homeplanet -->
    817814    <Planet
    818815      position="-3000,12000,-10000"
     
    823820      mass="5000000000000"
    824821      pitch="0"
    825       mesh="iceplanet.mesh"
     822      mesh="planets/muunilinst.mesh"
    826823      atmosphere="atmosphere1"
    827824      rotationaxis="0,0,0"
     
    837834      </collisionShapes>
    838835    </Planet>
    839                                                         <!-- Homeplanet  END-->
    840 
    841                                                         <!-- Planet around the cave-->
     836<!-- Homeplanet  END-->
     837
     838<!-- Planet around the cave-->
    842839
    843840<Planet position="-43500,-30000,31900" scale=5000 pitch=-90 mesh="planets/moon.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=0 imagesize=1024.0f />
    844841
    845                                                         <!-- Planet around the cave END-->
    846 
    847                                                         <!-- Anotherplanet -->
     842<!-- Planet around the cave END-->
     843
     844<!-- Anotherplanet -->
    848845    <Planet
    849846      position="-20000,6000,7000"
     
    10921089                  </controller>
    10931090                </SpaceShip>
    1094                
    1095                                         <!-- Enemies END-->
    1096 
    1097 
    1098                                         <!-- 15 Boxes forward-->
     1091
     1092<!-- Enemies END-->
     1093
     1094
     1095<!-- 15 Boxes forward-->
    10991096 <?lua
    11001097    max = 15
     
    12621259    <?lua end ?>
    12631260
    1264                                         <!-- 18 Boxes right END-->
    1265                                         <!-- 17 Boxes forward-->
     1261    <!-- 18 Boxes right END-->
     1262    <!-- 17 Boxes forward-->
    12661263 <?lua
    12671264    max = 17
     
    13921389      </collisionShapes>
    13931390</StaticEntity>
    1394                                         <!-- 17 Boxes forward END-->
     1391<!-- 17 Boxes forward END-->
    13951392    <Billboard position="-41000,-30000,33800" material="Flares/backlightflare" colour="0,1.4,2.1" scale=15 />
    13961393
     
    14081405
    14091406
    1410         <!-- The Cave END-->
    1411 
    1412         <!-- Planet around the cave-->
     1407<!-- The Cave END-->
     1408
     1409<!-- Planet around the cave-->
    14131410
    14141411  </Scene>
Note: See TracChangeset for help on using the changeset viewer.