Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 10, 2012, 5:13:00 PM (13 years ago)
Author:
jo
Message:

Merged pCuts branch.

Location:
code/branches/presentation2012merge
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge

  • code/branches/presentation2012merge/data/levels/presentationHS11.oxw

    r9272 r9286  
     1<!-- TODO: add in level documentation !! -->
     2
     3
    14<LevelInfo
    25 name = "Presentation HS 2011"
     
    7982        </events>
    8083    </SimpleNotification>
     84
     85
    8186
    8287
     
    131136<?lua end ?>
    132137
    133 
    134 
    135 
    136 
    137 
     138<!-- @Triggers: "hintX" <->  delayed LetsGo -->
     139    <EventTrigger name="hint1" activations="1" stayactive="true" delay=4.2>
     140      <events>
     141        <trigger>
     142          <EventListener event="LetsGo" />
     143        </trigger>
     144      </events>
     145    </EventTrigger>
     146    <EventTrigger name="hint2" activations="1" stayactive="true" delay=8.4>
     147      <events>
     148        <trigger>
     149          <EventListener event="LetsGo" />
     150        </trigger>
     151      </events>
     152    </EventTrigger>
     153    <EventTrigger name="hint3" activations="1" stayactive="true" delay=12.6>
     154      <events>
     155        <trigger>
     156          <EventListener event="LetsGo" />
     157        </trigger>
     158      </events>
     159    </EventTrigger>
     160    <EventTrigger name="hint4" activations="1" stayactive="true" delay=16.8>
     161      <events>
     162        <trigger>
     163          <EventListener event="LetsGo" />
     164        </trigger>
     165      </events>
     166    </EventTrigger>
     167    <EventTrigger name="hint5" activations="1" stayactive="true" delay=21>
     168      <events>
     169        <trigger>
     170          <EventListener event="LetsGo" />
     171        </trigger>
     172      </events>
     173    </EventTrigger>
     174    <EventTrigger name="hint6" activations="1" stayactive="true" delay=25.2>
     175      <events>
     176        <trigger>
     177          <EventListener event="LetsGo" />
     178        </trigger>
     179      </events>
     180    </EventTrigger>
     181
     182
     183
     184    <SimpleNotification message="Make bots follow you: Press (1)"  broadcast="true">
     185        <events>
     186            <trigger>
     187                <EventListener event=hint1 />
     188            </trigger>
     189        </events>
     190    </SimpleNotification>
     191
     192    <SimpleNotification message="Toggle group behaviour: Press (1)"  broadcast="true">
     193        <events>
     194            <trigger>
     195                <EventListener event=hint2 />
     196            </trigger>
     197        </events>
     198    </SimpleNotification>
     199
     200    <SimpleNotification message="Tell the bots to defend you: Press (2)"  broadcast="true">
     201        <events>
     202            <trigger>
     203                <EventListener event=hint3 />
     204            </trigger>
     205        </events>
     206    </SimpleNotification>
     207
     208    <SimpleNotification message="Make them attack opponents: Press (2)"  broadcast="true">
     209        <events>
     210            <trigger>
     211                <EventListener event=hint4 />
     212            </trigger>
     213        </events>
     214    </SimpleNotification>
     215
     216    <SimpleNotification message="Let the bots behave normal: Press (2) "  broadcast="true">
     217        <events>
     218            <trigger>
     219                <EventListener event=hint5 />
     220            </trigger>
     221        </events>
     222    </SimpleNotification>
     223
     224    <SimpleNotification message="Have a look at the console to verify this."  broadcast="true">
     225        <events>
     226            <trigger>
     227                <EventListener event=hint6 />
     228            </trigger>
     229        </events>
     230    </SimpleNotification>
    138231
    139232<!-- Generate asteroid field and asteroid belt -->
  • code/branches/presentation2012merge/data/levels/tetris.oxw

    r9016 r9286  
    99  include("HUDTemplates3.oxo")
    1010  include("stats.oxo")
     11  include("tetrisHUD.oxo")
    1112  include("templates/lodInformation.oxt")
    1213?>
     
    1617    <camerapositions>
    1718      <CameraPosition position="55,75,200" absolute=true />
    18       <CameraPosition position="0,50,160" drag=true mouselook=true />
    19       <CameraPosition position="0,50,0" pitch=-90 drag=true mouselook=true />
    2019    </camerapositions>
    2120  </TetrisStone>
     
    2524  <TetrisStone camerapositiontemplate=tetrisstonecameras>
    2625    <attached>
    27       <Model position="0,0,0" mesh="crate.mesh" scale=1 />
     26      <Model position="0,0,0" mesh="crate.mesh" scale=0.9 />
    2827    </attached>
    2928  </TetrisStone>
    3029</Template>
     30
     31
     32
     33<Template name=tetrisbrickcameras defaults=0>
     34  <TetrisBrick>
     35    <camerapositions>
     36      <CameraPosition position="55,75,200" absolute=true />
     37      <CameraPosition position="0,50,160" drag=true mouselook=true />
     38      <CameraPosition position="0,50,0" pitch=-90 drag=true mouselook=true />
     39    </camerapositions>
     40  </TetrisBrick>
     41</Template>
     42
     43<Template name=tetrisbrick>
     44  <TetrisBrick camerapositiontemplate=tetrisbrickcameras>
     45  </TetrisBrick>
     46</Template>
     47
    3148
    3249<Level
     
    4259   skybox       = "Orxonox/skypanoramagen1"
    4360  >
     61<!--luke_grey_-_hypermode.ogg allgorythm-lift_up.ogg Fight1.ogg -->
     62    <WorldAmbientSound
     63      source="Ganymede.ogg"
     64      looping="true"
     65      playOnLoad="true"
     66    />
     67
    4468    <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" />
     69
    4570
    4671    <?lua
     
    5075    <?lua end ?>
    5176
    52     <TetrisCenterpoint name=tetriscenter width=11 height=15 stoneSize=10 stoneTemplate=tetrisstone stoneSpeed=10 position="-55,-75,0">
     77    <TetrisCenterpoint name=tetriscenter width=11 height=15 stoneSize=10 stoneTemplate=tetrisstone brickTemplate=tetrisbrick stoneSpeed=10 position="-55,-75,0">
    5378        <attached>
    5479            <Model position="55,-1,0" mesh="cube.mesh" scale3D="57,1,11" />
     
    5681            <Model position="111,76,0" mesh="cube.mesh" scale3D="1,76,1" />
    5782        </attached>
     83        <!--collisionShapes>
     84            <BoxCollisionShape position="55,-1,0"  halfExtents="57,1,11" />
     85            <BoxCollisionShape position="-1,76,0"  halfExtents="1,76,1" />
     86            <BoxCollisionShape position="111,76,0" halfExtents="1,76,1" />
     87        </collisionShapes-->
    5888    </TetrisCenterpoint>
     89
     90<!-- ------------ insert eye candy here  ---------------- -->
     91
     92<!-- asteroidBelt(centerX, centerY, centerZ, yaw, pitch, segments, minSize, maxSize, radius0, radius1, count, fog) -->
     93<!-- DONT DARE TO TURN THE FOG ON, whithout finding a better belt position -->
     94    <?lua
     95        dofile("includes/asteroidField.lua")
     96        asteroidBelt(10000, 0, 0, -40, -90, 70, 100, 200, 24000, 20000, 500, 0)
     97
     98    ?>
     99
    59100
    60101  </Scene>
Note: See TracChangeset for help on using the changeset viewer.