Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5521 for data/media/levels


Ignore:
Timestamp:
May 18, 2009, 6:01:40 PM (16 years ago)
Author:
Aurelian
Message:

Level file with blinking checkpoints, forcefield has right direction now…

Location:
data/media/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/gametype_asteroids.oxw

    r5516 r5521  
    1818
    1919
    20 <SpawnPoint position="-300,300,0" name="playerstart" lookat="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    21 
    22 
    23 
     20
     21<SpawnPoint position="-300,300,0" name="playerstart" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     22
     23<!--
    2424<?lua
    25 for i = 1, 100, 1
    26 do ?>
    27   <Model scale="<?lua print(math.random() * 150 + 30) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" position="<?lua print(math.random() *      10000 ) ?>,<?lua print(math.random() * 10000 - 5000) ?>,<?lua print(math.random() * 10000 - 5000) ?>">
     25for i = 1, 500, 1
     26do
     27j = math.random()
     28?>
    2829   
    29 </Model>
     30    <MovableEntity position="<?lua print(math.random()* 10000 - 5000) ?>,<?lua print(math.random() * 10000 - 5000) ?>,<?lua print(math.random() * 10000 - 5000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 scale=<?lua print(j * 150 + 30) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() *100) ?>" >
     31      <attached>
     32        <Model position="0,0,0" scale=<?lua print(j * 10) ?> mass=<?lua print(j * 30) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
     33      </attached>
     34      <collisionShapes>
     35        <SphereCollisionShape radius="<?lua print(j * 2300 + 450) ?>" />
     36      </collisionShapes>
     37    </MovableEntity>
    3038<?lua
    3139end
    3240?>
    33 
    34 
    35 
    36 <ForceField position="0,-300,0" direction="0,-1,0" diameter=500 velocity=70>
    37   <attached>
    38     <ParticleEmitter source="Orxonox/forcefield" startdelay=0 />
     41-->
     42
     43
     44<MovableEntity position="0,0,0" collisionType=dynamic linearDamping=0.8 angularDamping=0 scale=5 collisiondamage=1 enablecollisiondamage=true>
     45  <attached>
     46    <Model position="0,0,0" scale=10 mass=100 mesh="ast1.mesh" />
     47  </attached>
     48    <collisionShapes>
     49      <SphereCollisionShape radius=150 />
     50    </collisionShapes>
     51</MovableEntity>
     52
     53
     54<ForceField position="0,-500,0" direction="0,1,0" diameter=500 velocity=70>
     55  <attached>
     56    <ParticleEmitter source="Orxonox/ForceFieldPurple" startdelay=0 />
    3957  </attached>         
    4058 </ForceField>
    4159 
    42  <!--
    43  <ForceField position="1000,-100,0" direction="0,1,1" diameter=500 velocity=30>
    44   <attached>
    45     <ParticleEmitter source="Orxonox/forcefield" startdelay=0 />
     60
     61 <ForceField position="1000,-500,0" direction="0,1,1" diameter=500 velocity=30>
     62  <attached>
     63    <ParticleEmitter source="Orxonox/ForceFieldGreen" startdelay=0 />
    4664  </attached>         
    4765 </ForceField>
    4866 
    49  <ForceField position="1800,300,-300" direction="0,0,1" diameter=800 velocity=100>
    50   <attached>
    51     <ParticleEmitter source="Orxonox/forcefield" startdelay=0 />
     67 <ForceField position="1800,-300,-300" direction="0,0,1" diameter=800 velocity=100>
     68  <attached>
     69    <ParticleEmitter source="Orxonox/ForceFieldBlue" startdelay=0 />
    5270  </attached>         
    5371 </ForceField>
    54 -->
    55 
    56 
    57 <CheckPoint name=trigger1 position="-200,300,0" scale=5 isdestination=false isfirst=true stayactive=true distance=50 addtime=20>
    58   <attached>
    59     <Billboard position="0,0,0" scale=1 material="Flares/lensflare" colour="1,0,0">
    60     </Billboard>
    61   </attached>
    62 </CheckPoint>
    63 
    64 
    65 <CheckPoint name=trigger2 position="1000,300,0" scale=5 isdestination=false stayactive=true distance=100 addtime=5>
     72
     73
     74
     75<CheckPoint name=trigger1 position="-300,300,0" scale=1 isdestination=false isfirst=true stayactive=true distance=10 addtime=20 />
     76
     77
     78<CheckPoint name=trigger2 position="1100,300,0" scale=3 isdestination=false stayactive=true distance=100 addtime=10>
    6679  <events>
    6780    <activity>
     
    7083  </events>
    7184  <attached>
    72     <Billboard position="0,0,0" scale=1 material="Flares/lensflare" colour="1,0,0" />
    73   </attached>
    74   <attached>
    75     <BlinkingBillboard frequency=0.2 amplitude=1 position="0,0,1" scale=1 material="Flares/lensflare" colour="1,1,0">
    76       <events>
    77         <visibility>
    78           <EventListener event=trigger1 />
    79         </visibility>
    80       </events>
    81     </BlinkingBillboard>
    82   </attached>
    83   <attached>
    84     <Billboard position="0,0,0" scale=1 material="Flares/lensflare" colour="0,1,0">
     85    <Billboard material="Flares/lensflare" colour="1,0,0">
     86      <events>
     87        <visibility>
     88          <EventTrigger invert=true>
     89            <events>
     90              <trigger>
     91                <EventListener event=trigger1 />
     92              </trigger>
     93            </events>
     94          </EventTrigger>
     95        </visibility>
     96      </events>
     97    </Billboard>
     98    <BlinkingBillboard frequency=0.2 amplitude=1 material="Flares/lensflare" colour="1,1,0">
     99      <events>
     100        <visibility>
     101          <EventTrigger>
     102            <events>
     103              <trigger>
     104                <EventListener event=trigger1 />
     105              </trigger>
     106            </events>
     107            <EventTrigger invert=true>
     108              <events>
     109                <trigger>
     110                  <EventListener event=trigger2 />
     111                </trigger>
     112              </events>
     113            </EventTrigger>
     114          </EventTrigger>
     115        </visibility>
     116      </events>
     117    </BlinkingBillboard>
     118    <Billboard material="Flares/lensflare" colour="0,1,0">
    85119      <events>
    86120        <visibility>
     
    93127
    94128
    95 <CheckPoint name=trigger3 position="1800,300,800" stayactive=true distance=100 addtime=5>
     129<CheckPoint name=trigger3 position="2100,0,200" scale=3 isdestination=false stayactive=true distance=100 addtime=10>
    96130  <events>
    97131    <activity>
     
    100134  </events>
    101135  <attached>
    102     <BlinkingBillboard frequency=0.2 amplitude=1 position="0,0,0" scale=1 material="Flares/lensflare" colour="1,1,0">
    103       <events>
    104         <visibility>
    105           <EventListener event=trigger2 />
    106         </visibility>
    107       </events>
    108     </BlinkingBillboard>
    109   </attached>
    110   <attached>
    111     <Billboard position="0,0,0" scale=1 material="Flares/lensflare" colour="1,0,0" />
    112   </attached>
    113 </CheckPoint>
    114 
    115 
    116 
    117 
    118 
    119 <!--
    120 <CheckPoint name=trigger1 position="-300,300,0" scale=5 isdestination=false isfirst=true stayactive=true distance=50 addtime=5 visibillity=false />
    121 
    122 
    123 <CheckPoint name=trigger2 position="1000,300,0" scale=5 isdestination=false stayactive=true distance=100 addtime=5>
    124   <events>
    125     <activity>
    126       <EventListener event=trigger1 />
    127     </activity>
    128   </events>
    129 </CheckPoint>
    130 
    131 
    132 <CheckPoint name=trigger3 position="1800,300,800" stayactive=true distance=100 addtime=5>
    133   <events>
    134     <activity>
    135       <EventListener event=trigger2 />
    136     </activity>
    137   </events>
    138 </CheckPoint>
    139 
    140 
    141 
    142 
    143 <CheckPoint name=trigger4 position="2600,400,1100" stayactive=true distance=100 addtime=25>
     136    <Billboard material="Flares/lensflare" colour="1,0,0">
     137      <events>
     138        <visibility>
     139          <EventTrigger invert=true>
     140            <events>
     141              <trigger>
     142                <EventListener event=trigger2 />
     143              </trigger>
     144            </events>
     145          </EventTrigger>
     146        </visibility>
     147      </events>
     148    </Billboard>
     149    <BlinkingBillboard frequency=0.2 amplitude=1 material="Flares/lensflare" colour="1,1,0">
     150      <events>
     151        <visibility>
     152          <EventTrigger>
     153            <events>
     154              <trigger>
     155                <EventListener event=trigger2 />
     156              </trigger>
     157            </events>
     158            <EventTrigger invert=true>
     159              <events>
     160                <trigger>
     161                  <EventListener event=trigger3 />
     162                </trigger>
     163              </events>
     164            </EventTrigger>
     165          </EventTrigger>
     166        </visibility>
     167      </events>
     168    </BlinkingBillboard>
     169    <Billboard material="Flares/lensflare" colour="0,1,0">
     170      <events>
     171        <visibility>
     172          <EventListener event=trigger3 />
     173        </visibility>
     174      </events>
     175    </Billboard>
     176  </attached>
     177</CheckPoint>
     178
     179
     180<CheckPoint name=trigger4 position="2800,200,0" scale=3 isdestination=false stayactive=true distance=100 addtime=7>
    144181  <events>
    145182    <activity>
     
    147184    </activity>
    148185  </events>
    149 </CheckPoint>
    150 
    151 
    152 
    153 <Model position="3800,400,1800" scale=10 mesh="Carrier.mesh" pitch=180>
    154   <attached>
    155     <CheckPoint position="-10,0,0" name=trigger5 stayactive=true distance=80 isdestination=true scal=1>
    156       <events>
    157         <activity>
     186  <attached>
     187    <Billboard material="Flares/lensflare" colour="1,0,0">
     188      <events>
     189        <visibility>
     190          <EventTrigger invert=true>
     191            <events>
     192              <trigger>
     193                <EventListener event=trigger3 />
     194              </trigger>
     195            </events>
     196          </EventTrigger>
     197        </visibility>
     198      </events>
     199    </Billboard>
     200    <BlinkingBillboard frequency=0.2 amplitude=1 material="Flares/lensflare" colour="1,1,0">
     201      <events>
     202        <visibility>
     203          <EventTrigger>
     204            <events>
     205              <trigger>
     206                <EventListener event=trigger3 />
     207              </trigger>
     208            </events>
     209            <EventTrigger invert=true>
     210              <events>
     211                <trigger>
     212                  <EventListener event=trigger4 />
     213                </trigger>
     214              </events>
     215            </EventTrigger>
     216          </EventTrigger>
     217        </visibility>
     218      </events>
     219    </BlinkingBillboard>
     220    <Billboard material="Flares/lensflare" colour="0,1,0">
     221      <events>
     222        <visibility>
    158223          <EventListener event=trigger4 />
    159         </activity>
    160       </events>
    161     </CheckPoint>
     224        </visibility>
     225      </events>
     226    </Billboard>
     227  </attached>
     228</CheckPoint>
     229
     230
     231<CheckPoint name=trigger5 position="3600,300,-100" scale=3 isdestination=false stayactive=true distance=100 addtime=6>
     232  <events>
     233    <activity>
     234      <EventListener event=trigger4 />
     235    </activity>
     236  </events>
     237  <attached>
     238    <Billboard material="Flares/lensflare" colour="1,0,0">
     239      <events>
     240        <visibility>
     241          <EventTrigger invert=true>
     242            <events>
     243              <trigger>
     244                <EventListener event=trigger4 />
     245              </trigger>
     246            </events>
     247          </EventTrigger>
     248        </visibility>
     249      </events>
     250    </Billboard>
     251    <BlinkingBillboard frequency=0.2 amplitude=1 material="Flares/lensflare" colour="1,1,0">
     252      <events>
     253        <visibility>
     254          <EventTrigger>
     255            <events>
     256              <trigger>
     257                <EventListener event=trigger4 />
     258              </trigger>
     259            </events>
     260            <EventTrigger invert=true>
     261              <events>
     262                <trigger>
     263                  <EventListener event=trigger5 />
     264                </trigger>
     265              </events>
     266            </EventTrigger>
     267          </EventTrigger>
     268        </visibility>
     269      </events>
     270    </BlinkingBillboard>
     271    <Billboard material="Flares/lensflare" colour="0,1,0">
     272      <events>
     273        <visibility>
     274          <EventListener event=trigger5 />
     275        </visibility>
     276      </events>
     277    </Billboard>
     278  </attached>
     279</CheckPoint>
     280
     281
     282<CheckPoint name=trigger6 position="4600, 800,-400" scale=3 isdestination=false stayactive=true distance=100 addtime=6>
     283  <events>
     284    <activity>
     285      <EventListener event=trigger5 />
     286    </activity>
     287  </events>
     288  <attached>
     289    <Billboard material="Flares/lensflare" colour="1,0,0">
     290      <events>
     291        <visibility>
     292          <EventTrigger invert=true>
     293            <events>
     294              <trigger>
     295                <EventListener event=trigger5 />
     296              </trigger>
     297            </events>
     298          </EventTrigger>
     299        </visibility>
     300      </events>
     301    </Billboard>
     302    <BlinkingBillboard frequency=0.2 amplitude=1 material="Flares/lensflare" colour="1,1,0">
     303      <events>
     304        <visibility>
     305          <EventTrigger>
     306            <events>
     307              <trigger>
     308                <EventListener event=trigger5 />
     309              </trigger>
     310            </events>
     311            <EventTrigger invert=true>
     312              <events>
     313                <trigger>
     314                  <EventListener event=trigger6 />
     315                </trigger>
     316              </events>
     317            </EventTrigger>
     318          </EventTrigger>
     319        </visibility>
     320      </events>
     321    </BlinkingBillboard>
     322    <Billboard material="Flares/lensflare" colour="0,1,0">
     323      <events>
     324        <visibility>
     325          <EventListener event=trigger6 />
     326        </visibility>
     327      </events>
     328    </Billboard>
     329  </attached>
     330</CheckPoint>
     331
     332
     333<Model position="3800,1200,-900" scale=10 mesh="Carrier.mesh" pitch=180>
     334  <attached>
     335    <CheckPoint position="-10,0,0" name=trigger7 scale=0.1 isdestination=true stayactive=true distance=100>
     336  <events>
     337    <activity>
     338      <EventListener event=trigger6 />
     339    </activity>
     340  </events>
     341  <attached>
     342    <Billboard material="Flares/lensflare" colour="1,0,0">
     343      <events>
     344        <visibility>
     345          <EventTrigger invert=true>
     346            <events>
     347              <trigger>
     348                <EventListener event=trigger6 />
     349              </trigger>
     350            </events>
     351          </EventTrigger>
     352        </visibility>
     353      </events>
     354    </Billboard>
     355    <BlinkingBillboard frequency=0.2 amplitude=1 material="Flares/lensflare" colour="1,1,0">
     356      <events>
     357        <visibility>
     358          <EventTrigger>
     359            <events>
     360              <trigger>
     361                <EventListener event=trigger6 />
     362              </trigger>
     363            </events>
     364            <EventTrigger invert=true>
     365              <events>
     366                <trigger>
     367                  <EventListener event=trigger7 />
     368                </trigger>
     369              </events>
     370            </EventTrigger>
     371          </EventTrigger>
     372        </visibility>
     373      </events>
     374    </BlinkingBillboard>
     375    <Billboard material="Flares/lensflare" colour="0,1,0">
     376      <events>
     377        <visibility>
     378          <EventListener event=trigger7 />
     379        </visibility>
     380      </events>
     381    </Billboard>
     382  </attached>
     383</CheckPoint>
    162384  </attached>
    163385</Model>
    164 -->
    165 
    166386
    167387  </Scene>
  • data/media/levels/presentation_dm.oxw

    r5520 r5521  
    4545?>
    4646   
    47     <MovableEntity position="<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0.8 scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
     47    <MovableEntity position="<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    4848      <attached>
    49         <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
     49        <Model position="0,0,0" scale=<?lua print(j * 10) ?> mass=<?lua print(j * 30) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
    5050      </attached>
    5151      <collisionShapes>
Note: See TracChangeset for help on using the changeset viewer.