Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 30, 2011, 9:07:31 AM (13 years ago)
Author:
dafrick
Message:

Finalizing presentation level.

Location:
code/branches/presentation/data/levels
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/data/levels/presentationFS11.oxw

    r8664 r8679  
    9393    </SimpleNotification>
    9494
    95     <!-- This is a model of Earth: mass=EarthMass/1000 and radius=EarthRadius[km]*10 -->
     95    <!-- EARTH -->
    9696    <Planet
    9797      position="80500,0,0"
     
    143143        </events>
    144144    </ParticleSpawner>
     145    <StaticEntity collisionType = "static" position = "-50,50,-125" scale=1 >
     146      <attached>
     147        <Model position="0,0,0" scale="2" mesh="ast1.mesh" />
     148      </attached>
     149      <collisionShapes>
     150        <SphereCollisionShape radius="8" />
     151      </collisionShapes>
     152    </StaticEntity>
    145153       
    146154    <SimpleNotification message="A particle effect by Tibor" >
     
    170178    </Script>
    171179
    172     <SpawnPoint position="50,0,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
     180    <SpawnPoint position="100,0,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
    173181        <events>
    174182            <activity>
    175                 <EventListener event=spawndelaytrigger1 />
     183                <EventListener event=spawnpointtrigger />
    176184            </activity>
    177185        </events>
    178186    </SpawnPoint>
    179187
    180     <SpawnPoint position="0,-50,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
     188    <SpawnPoint position="0,-100,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
    181189        <events>
    182190            <activity>
    183                 <EventListener event=spawndelaytrigger1 />
     191                <EventListener event=spawnpointtrigger />
    184192            </activity>
    185193        </events>
    186194    </SpawnPoint>
    187195
    188     <SpawnPoint position="0,0,50" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
     196    <SpawnPoint position="0,0,100" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
    189197        <events>
    190198            <activity>
    191                 <EventListener event=spawndelaytrigger1 />
     199                <EventListener event=spawnpointtrigger />
    192200            </activity>
    193201        </events>
    194202    </SpawnPoint>
     203
     204    <Trigger name="spawnpointtrigger" mode="xor" invert="true" >
     205        <EventTrigger>
     206            <events>
     207                <trigger>
     208                    <EventListener event=spawndelaytrigger1 />
     209                </trigger>
     210            </events>
     211        </EventTrigger>
     212        <EventTrigger invert="true">
     213            <events>
     214                <trigger>
     215                    <EventListener event=portaltrigger />
     216                </trigger>
     217            </events>
     218        </EventTrigger>
     219    </Trigger>
    195220
    196221    <!-- SPACE BOUNDARY -->
     
    258283        </events>
    259284    </PortalEndPoint>
    260     <PortalEndPoint position="-72000,0,0" id="4" distance="40" target="MobileEntity" design="PortalDefault">
    261         <attached>
    262             <DistanceTrigger name="portaltrigger" position="0,0,0" target="Pawn" distance=10 stayActive="true" />
    263             <DistanceTrigger name="portaldelaytrigger1" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=5 />
    264             <DistanceTrigger name="portaldelaytrigger2" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=10 />
    265             <DistanceTrigger name="portaldelaytrigger3" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=15 />
    266             <DistanceTrigger name="portaldelaytrigger4" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=17 />
    267         </attached>
    268     </PortalEndPoint>
     285    <PortalEndPoint position="-72000,0,0" id="4" distance="40" target="MobileEntity" design="PortalDefault" />
    269286    <PortalLink fromID="3" toID="4" />
    270287    <PortalLink fromID="4" toID="3" />
    271288
    272     <SimpleNotification message="Moon orbit" >
     289    <DistanceTrigger name="portaltrigger" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" />
     290    <DistanceTrigger name="portaldelaytrigger1" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" delay=5 />
     291    <DistanceTrigger name="portaldelaytrigger2" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" delay=10 />
     292    <DistanceTrigger name="portaldelaytrigger3" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" delay=15 />
     293    <DistanceTrigger name="portaldelaytrigger4" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" delay=17 />
     294
     295    <SimpleNotification message="Welcome to Moon Orbit" >
    273296        <events>
    274297            <trigger>
     
    281304        <events>
    282305            <trigger>
    283                 <EventListener event=portaltrigger1 />
     306                <EventListener event=portaldelaytrigger1 />
    284307            </trigger>
    285308        </events>
     
    287310
    288311    <!-- MOON AREA -->
    289     <!-- This is a model of our Moon: mass=MoonMass/1000 and radius=MoonRadius[km]*10 and position=DistanceFromEarth[km]*10 -->
     312   
     313    <!-- MOON -->
    290314    <Planet
    291315      position="-80000,0,0"
     
    316340        <events>
    317341            <trigger>
    318                 <EventListener event=portaltrigger2 />
     342                <EventListener event=portaldelaytrigger2 />
    319343            </trigger>
    320344        </events>
     
    322346
    323347    <!-- HYDROGEN FARMER & DOCKING -->
    324     <SpaceShip position="-74000,2500,0" roll=90 yaw=180 pitch=20 mass=10000 >
     348    <SpaceShip position="-74000,2500,0" roll=90 yaw=180 pitch=20 mass=10000 health=100000 >
    325349      <attached>
    326350        <!-- Docking -->
     
    354378        </events>
    355379        <attached>
    356             <DistanceTrigger position="10,-202, -42" distance="400" target="Pawn"
     380            <DistanceTrigger position="10,-202, -42" distance="800" target="Pawn"
    357381                beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
    358382            />
     
    371395        <events>
    372396            <trigger>
    373                 <EventListener event=portaltrigger3 />
     397                <EventListener event=portaldelaytrigger3 />
    374398            </trigger>
    375399        </events>
     
    379403        <events>
    380404            <trigger>
    381                 <EventListener event=portaltrigger4 />
    382             </trigger>
    383         </events>
    384     </SimpleNotification>
    385 
    386     <PickupSpawner position="25,50,-125" respawnTime="10" triggerDistance="20" maxSpawnedItems="5" visible="false">
     405                <EventListener event=portaldelaytrigger4 />
     406            </trigger>
     407        </events>
     408    </SimpleNotification>
     409
     410    <PickupSpawner position="-72487,420,-63" respawnTime="10" triggerDistance="20" maxSpawnedItems="5" active="false">
    387411      <pickup>
    388         <ShrinkPickup template ="mediumshrinkpickup"/>
     412        <ShrinkPickup template ="smallshrinkpickup"/>
    389413      </pickup>
    390414      <events>
    391         <visibility>
    392             <EventListener event=portaltrigger3 />
    393         </visibility>
     415        <activity>
     416            <EventListener event=portaldelaytrigger3 />
     417        </activity>
    394418      </events>
     419      <attached>
     420        <ParticleSpawner position="0,0,0" source="Orxonox/Shield" autostart="false" lifetime=500 loop=0 >
     421            <events>
     422                <spawn>
     423                    <EventListener event=portaldelaytrigger3 />
     424                </spawn>
     425            </events>
     426        </ParticleSpawner>
     427      </attached>
    395428    </PickupSpawner>
     429
     430    <SpaceBoundaries warnDistance="1" maxDistance="1700" showDistance="500" healthDecrease="0.1" position="-72369,803,2"/>
     431    <SpaceBoundaries warnDistance="1" maxDistance="800" showDistance="300" healthDecrease="0.1" position="-73450,5067,-351"/>
     432
     433    <!-- FINISH -->
     434
     435    <DistanceTrigger name="dockingtrigger" position="-73942, 1288, -255" target="Pawn" distance=20 stayActive="true" />
     436    <DistanceTrigger name="dockingdelaytrigger1" position="-73942, 1288, -255" target="Pawn" distance=20 stayActive="true" delay=3 />
     437    <DistanceTrigger name="dockingdelaytrigger2" position="-73942, 1288, -255" target="Pawn" distance=20 stayActive="true" delay=10 />
     438
     439    <SimpleNotification message="Docking by Sven" >
     440        <events>
     441            <trigger>
     442                <EventListener event=dockingtrigger />
     443            </trigger>
     444        </events>
     445    </SimpleNotification>
     446
     447    <SimpleNotification message="Weapons by Jonas" >
     448        <events>
     449            <trigger>
     450                <EventListener event=dockingdelaytrigger1 />
     451            </trigger>
     452        </events>
     453    </SimpleNotification>
     454
     455    <SimpleNotification message="Steering enhancement by Manuel" >
     456        <events>
     457            <trigger>
     458                <EventListener event=dockingdelaytrigger2 />
     459            </trigger>
     460        </events>
     461    </SimpleNotification>
     462   
    396463  </Scene>
    397464</Level>
  • code/branches/presentation/data/levels/spaceRace.oxw

    r8643 r8679  
    354354    </StaticEntity>
    355355
    356     <!-- ---------------asteroid ellypse----------------- -->
     356    <!-- ---------------asteroid ellipse----------------- -->
    357357    <?lua
    358358    max = 20
  • code/branches/presentation/data/levels/templates/spaceshipAssff2.oxt

    r8643 r8679  
    3131
    3232   shakeFrequency = 15
    33    shakeAmplitude = 7
     33   shakeAmplitude = 9
    3434
    3535   collisionType     = "dynamic"
Note: See TracChangeset for help on using the changeset viewer.