Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8642 for code


Ignore:
Timestamp:
May 28, 2011, 6:35:18 PM (13 years ago)
Author:
landauf
Message:

fixed warnings in some level files

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

Legend:

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

    r8637 r8642  
    99  include("stats.oxo")
    1010  include("templates/spaceshipAssff.oxt")
    11   include("templates/spaceshipHXYSL.oxt")
    1211  include("templates/spaceshipPirate.oxt")
    1312  include("templates/lodInformation.oxt")
  • code/branches/presentation/data/levels/pong.oxw

    r8637 r8642  
    1515  <PongBat>
    1616    <camerapositions>
    17       <CameraPosition position="0,200,0" pitch=-90 absolute=true />
     17      <CameraPosition position="0,150,0" pitch=-90 absolute=true />
    1818      <CameraPosition position="0,50,160" drag=true mouselook=true />
    1919      <CameraPosition position="0,40,125" drag=true mouselook=true />
     
    5858  <?lua include("includes/notifications.oxi") ?>
    5959
    60   <WorldAmbientSound source="mainmenu.ogg" playOnLoad=true />
     60  <WorldAmbientSound source="Ganymede.ogg" playOnLoad=true looping=true />
    6161
    6262  <PongBot />
     
    6868    <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" />
    6969
    70     <?lua
    71       for i = 1, 10, 1 do
    72     ?>
    73       <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" />
    74     <?lua end ?>
     70    <SpawnPoint position="991.729, -110.11, 435.404" orientation="0.534038, 0.563456, 0.212168, 0.593553" />
    7571
    7672    <MovableEntity rotationrate=5 rotationaxis="0,0,1">
  • code/branches/presentation/data/levels/spaceRace.oxw

    r8637 r8642  
    1 <?lua
    2   include("HUDTemplates3.oxo")
    3   include("stats.oxo")
    4   include("templates/spaceshipAssff.oxt")
    5   include("templates/lodInformation.oxt")
    6 ?>
    7 
    81<LevelInfo
    92 name = "Space Race"
  • code/branches/presentation/data/levels/templates/spaceshipHXYSL.oxt

    r8589 r8642  
    4040  </SpaceShip>
    4141</Template>
    42 
    43 <Template name=spaceshipHXYcameras defaults=0>
    44   <SpaceShip>
    45     <camerapositions>
    46       <CameraPosition position="0,8, 60" drag=true mouselook=true />
    47       <CameraPosition position="0,16, 120" drag=true mouselook=true />
    48       <CameraPosition position="0,24,180" drag=true mouselook=true />
    49       <CameraPosition position="0,60,10" pitch="-80" drag=true mouselook=true />
    50     </camerapositions>
    51   </SpaceShip>
    52 </Template>
    53 
    54 <Template name=spaceshipHXYengine baseclass=MultiStateEngine>
    55   <MultiStateEngine
    56    boostfactor    = 6
    57 
    58    speedfront     = 150
    59    speedback      =  50
    60    speedleftright =  50
    61    speedupdown    =  50
    62 
    63    accelerationfront     = 500
    64    accelerationbrake     = 500
    65    accelerationback      =  125
    66    accelerationleftright =  125
    67    accelerationupdown    =  125
    68   >
    69     <EffectContainer condition="idle">
    70     </EffectContainer>
    71     <EffectContainer condition="not idle">
    72 
    73     </EffectContainer>
    74     <EffectContainer condition="normal or brake">
    75 
    76     </EffectContainer>
    77     <EffectContainer condition="normal or boost">
    78       <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 2, 0, 20" colour="1, 0.7, 0.1, 1.0" width=10 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    79       <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-2, 0, 20" colour="1, 0.7, 0.1, 1.0" width=10 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    80     </EffectContainer>
    81     <EffectContainer condition="boost">
    82       <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 2, 0, 20" colour="1, 0.7, 0.1, 0.7" width=25 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    83       <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-2, 0, 20" colour="1, 0.7, 0.1, 0.7" width=25 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    84     </EffectContainer>
    85     <EffectContainer condition="brake">
    86       <FadingBillboard mainstate=activity active=false scale=0.3 position=" 2, 0, 20" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    87       <FadingBillboard mainstate=activity active=false scale=0.3 position="-2, 0, 20" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    88       <FadingBillboard mainstate=activity active=false scale=0.15 position=" 2, 0, 20" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
    89       <FadingBillboard mainstate=activity active=false scale=0.15 position="-2, 0, 20" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
    90     </EffectContainer>
    91   </MultiStateEngine>
    92 </Template>
  • code/branches/presentation/data/levels/templates/spaceshipTransporterSL.oxt

    r8589 r8642  
    4040  </SpaceShip>
    4141</Template>
    42 
    43 <Template name=spaceshipTransportercameras defaults=0>
    44   <SpaceShip>
    45     <camerapositions>
    46       <CameraPosition position="0,90,350" drag=true mouselook=true />
    47       <CameraPosition position="0,150, 400" drag=true mouselook=true />
    48       <CameraPosition position="0,200,550" drag=true mouselook=true />
    49       <CameraPosition position="0,120,200" pitch="-80" drag=true mouselook=true />
    50     </camerapositions>
    51   </SpaceShip>
    52 </Template>
    53 
    54 <Template name=spaceshipTransporterengine baseclass=MultiStateEngine>
    55   <MultiStateEngine
    56    boostfactor    = 2
    57 
    58    speedfront     = 50
    59    speedback      =  10
    60    speedleftright =  10
    61    speedupdown    =  10
    62 
    63 
    64    accelerationfront     = 20
    65    accelerationbrake     = 20
    66    accelerationback      = 10
    67    accelerationleftright =  10
    68    accelerationupdown    =  10
    69   >
    70     <EffectContainer condition="idle">
    71     </EffectContainer>
    72     <EffectContainer condition="not idle">
    73 
    74     </EffectContainer>
    75     <EffectContainer condition="normal or brake">
    76 
    77     </EffectContainer>
    78     <EffectContainer condition="normal or boost">
    79       <Backlight mainstate=activity active=false scale=2 name=bltest position=" 22, -10, 87" colour="1, 0.7, 0.1, 1.0" width=10 length=3000 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    80       <Backlight mainstate=activity active=false scale=2 name=bltest position="-22, -10, 87" colour="1, 0.7, 0.1, 1.0" width=10 length=3000 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    81     </EffectContainer>
    82     <EffectContainer condition="boost">
    83       <Backlight mainstate=activity active=false scale=3 name=bltest position=" 22, -10, 87" colour="1, 0.7, 0.1, 0.7" width=25 length=2000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    84       <Backlight mainstate=activity active=false scale=3 name=bltest position="-22, -10, 87" colour="1, 0.7, 0.1, 0.7" width=25 length=2000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    85     </EffectContainer>
    86     <EffectContainer condition="brake">
    87       <FadingBillboard mainstate=activity active=false scale=2 position=" 22, -10, 87" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    88       <FadingBillboard mainstate=activity active=false scale=2 position="-22, -10, 87" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    89       <FadingBillboard mainstate=activity active=false scale=1 position="22, -10, 87" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
    90       <FadingBillboard mainstate=activity active=false scale=1 position="-22, -10, 87" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
    91     </EffectContainer>
    92   </MultiStateEngine>
    93 </Template>
Note: See TracChangeset for help on using the changeset viewer.