Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5516 for data/media/levels


Ignore:
Timestamp:
May 17, 2009, 9:24:58 PM (15 years ago)
Author:
Aurelian
Message:

nice forcefield particles, level file is not really working, work is ongoing

File:
1 edited

Legend:

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

    r5505 r5516  
    2525for i = 1, 100, 1
    2626do ?>
    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) ?>">
    28 
     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) ?>">
     28   
    2929</Model>
    3030<?lua
     
    3434
    3535
    36 <ForceField position="0,-500,0" direction="0,1,1" diameter=1000 velocity=50>
     36<ForceField position="0,-300,0" direction="0,-1,0" diameter=500 velocity=70>
    3737  <attached>
    38     <ParticleEmitter source="Orxonox/forcefield" lifetime=10000 startdelay=0 />
     38    <ParticleEmitter source="Orxonox/forcefield" startdelay=0 />
    3939  </attached>         
    4040 </ForceField>
    4141 
    42 <ForceField position="1000,-100,0" direction="0,1,1" diameter=1500 velocity=100/>
    43 <ForceField position="1800,300,-500" direction="0,0,1" diameter=800 velocity=50/>
     42 <!--
     43 <ForceField position="1000,-100,0" direction="0,1,1" diameter=500 velocity=30>
     44  <attached>
     45    <ParticleEmitter source="Orxonox/forcefield" startdelay=0 />
     46  </attached>         
     47 </ForceField>
     48 
     49 <ForceField position="1800,300,-300" direction="0,0,1" diameter=800 velocity=100>
     50  <attached>
     51    <ParticleEmitter source="Orxonox/forcefield" startdelay=0 />
     52  </attached>         
     53 </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>
     66  <events>
     67    <activity>
     68      <EventListener event=trigger1 />
     69    </activity>
     70  </events>
     71  <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      <events>
     86        <visibility>
     87          <EventListener event=trigger2 />
     88        </visibility>
     89      </events>
     90    </Billboard>
     91  </attached>
     92</CheckPoint>
     93
     94
     95<CheckPoint name=trigger3 position="1800,300,800" stayactive=true distance=100 addtime=5>
     96  <events>
     97    <activity>
     98      <EventListener event=trigger2 />
     99    </activity>
     100  </events>
     101  <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>
    44114
    45115
    46116
    47 <CheckPoint name=trigger1 position="-300,300,0" scale=5 isdestination=false isfirst=true stayactive=true distance=50 addtime=5 visibility=false />
    48117
    49118
    50 <CheckPoint name=trigger2 position="1000,300,600" scale=5 isdestination=false stayactive=true distance=50 addtime=5>
     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>
    51124  <events>
    52125    <activity>
     
    57130
    58131
    59 <CheckPoint name=trigger3 position="1800,300,800" stayactive=true distance=50 addtime=5>
     132<CheckPoint name=trigger3 position="1800,300,800" stayactive=true distance=100 addtime=5>
    60133  <events>
    61134    <activity>
     
    68141
    69142
    70 <CheckPoint name=trigger4 position="2600,400,1100" stayactive=true distance=10 addtime=25>
     143<CheckPoint name=trigger4 position="2600,400,1100" stayactive=true distance=100 addtime=25>
    71144  <events>
    72145    <activity>
     
    78151
    79152
    80 <Model position="3600,300,1400" scale=10 mesh="Carrier.mesh">
     153<Model position="3800,400,1800" scale=10 mesh="Carrier.mesh" pitch=180>
    81154  <attached>
    82     <CheckPoint position="0,0,0" name=trigger5 stayactive=true distance=50 isdestination=true>
     155    <CheckPoint position="-10,0,0" name=trigger5 stayactive=true distance=80 isdestination=true scal=1>
    83156      <events>
    84157        <activity>
     
    89162  </attached>
    90163</Model>
    91 
     164-->
    92165
    93166
Note: See TracChangeset for help on using the changeset viewer.