Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8756 for code/trunk/data


Ignore:
Timestamp:
Jul 13, 2011, 7:53:31 PM (13 years ago)
Author:
jo
Message:

Updating 'Fight in our back'. Spaceship is steerable now. New bug/feature: red light trails instead of blue ones.

File:
1 edited

Legend:

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

    r8706 r8756  
    22  name = "Fight in our Back"
    33  description = "Our fleet is far ahead of us. We need to get rid of all the enemies in its back, because we do not want our enemies to attack from everywhere. So let us clear this Sector!"
    4   tags = "" 
     4  tags = ""
    55/>
    66
     
    2121   hudtemplate            = spaceshiphud
    2222   camerapositiontemplate = spaceshipassffcameras
    23    engine                 = spaceshipassffengine
    2423   spawnparticlesource    = "Orxonox/fairytwirl"
    2524   spawnparticleduration  = 3
     
    3938   angularDamping    = 0.9999999
    4039  >
     40      <engines>
     41      <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipassffengine />
     42      <MultiStateEngine position="-7.6, 0, 0" template=spaceshipassffengine />
     43    </engines>
    4144    <attached>
    4245      <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" />
     
    5861  </SpaceShip>
    5962</Template>
    60 
     63<Template name=spaceshipassffengine baseclass=MultiStateEngine>
     64  <MultiStateEngine
     65   boostfactor    = 2
     66
     67   speedfront     = 150
     68   speedback      =  50
     69   speedleftright =  50
     70   speedupdown    =  50
     71
     72   defEngineSndNormal = "sounds/Engine_low.ogg"
     73   defEngineSndBoost = "sounds/Engine_high.ogg"
     74
     75   accelerationfront     = 500
     76   accelerationbrake     = 500
     77   accelerationback      =  125
     78   accelerationleftright =  125
     79   accelerationupdown    =  125
     80  >
     81      <EffectContainer condition="idle">
     82      <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/>
     83    </EffectContainer>
     84    <EffectContainer condition="not idle">
     85      <FadingBillboard mainstate=activity active=false scale=0.1 position="7.6, 0, 9" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     86      <FadingBillboard mainstate=activity active=false scale=0.1 position="-7.6, 0, 9" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     87    </EffectContainer>
     88    <EffectContainer condition="normal or brake">
     89
     90    </EffectContainer>
     91    <EffectContainer condition="normal or boost">
     92      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     93      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     94    </EffectContainer>
     95    <EffectContainer condition="boost">
     96      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
     97      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
     98    </EffectContainer>
     99<!--    <EffectContainer condition="brake">
     100      <FadingBillboard mainstate=activity active=false scale=0.3 position=" 8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     101      <FadingBillboard mainstate=activity active=false scale=0.3 position="-8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     102      <FadingBillboard mainstate=activity active=false scale=0.15 position=" 8, 0, 6" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
     103      <FadingBillboard mainstate=activity active=false scale=0.15 position="-8, 0, 6" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
     104    </EffectContainer>
     105-->
     106  </MultiStateEngine>
     107</Template>
    61108<!--*****************************************************************************************************************************************************************************************-->
    62109<Level
     
    121168            </events>
    122169        </SpawnPoint>
    123    
     170
    124171<!--Player's Spawnpoint END-->
    125172
     
    157204            </attached>
    158205        </QuestEffectBeacon>
    159    
     206
    160207<!---->
    161    
     208
    162209<!--Launching Quests END -->
    163210
     
    191238
    192239
    193 <?lua for j=0,1,1 do 
     240<?lua for j=0,1,1 do
    194241health=1600
    195242x=800
     
    275322
    276323
    277 <!--Asteroids (field OK --> 
     324<!--Asteroids (field OK -->
    278325
    279326<?lua for i=0,100,1 do
     
    394441<!--Enemies on the way to the transporters -->
    395442
    396 <?lua for i=0,1,1 do 
     443<?lua for i=0,1,1 do
    397444z=math.random(-300,300)
    398445?>
     
    440487            </controller>
    441488        </SpaceShip>
    442 <?lua for i=0,1,1 do ?>   
     489<?lua for i=0,1,1 do ?>
    443490        <SpaceShip position="<?lua print(i*400+13000) ?>,100,10000" lookat="8000,0,1000">
    444491            <templates>
Note: See TracChangeset for help on using the changeset viewer.