Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 13, 2017, 4:05:34 PM (7 years ago)
Author:
vyang
Message:

Level file: korrekte Kameraposition, Raumschiff bewegt sich nicht, schiesst aber → wird AsteroidsShip ueberhaupt geladen? AsteroidsShip: neue Steuerung (vgl Jump, Rotation muss noch angepasst werden)

Location:
code/branches/Asteroid_HS17/data/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Asteroid_HS17/data/levels/Asteroids.oxw

    r11541 r11555  
    77
    88
     9<!--wird immer gebraucht-->
    910<?lua
    1011  include("stats.oxo")
     
    1213?>
    1314
     15
    1416<?lua
    15   include("templates/spaceshipAssff2.oxt")
    16   include("templates/spaceshipPirate.oxt")
    1717  include("templates/spaceshipAsteroids.oxt")
    18   include("overlays/InvaderHUD.oxo")
    1918?>
    2019
    21 <Template name=asteroidsshipcamera defaults=0>
    22   <AsteroidsShip>
    23     <camerapositions>
    24       <CameraPosition position="55,75,200" absolute=true />
    25       <!--CameraPosition position="0,50,160" drag=true mouselook=true />
    26       <CameraPosition position="0,50,0" pitch=-90 drag=true mouselook=true /-->
    27     </camerapositions>
    28   </AsteroidsShip>
    29 </Template>
    30 
    31 <Template name=asteroidsship>
    32   <AsteroidsShip camerapositiontemplate=asteroidsshipcamera>
    33   </AsteroidsShip>
    34 </Template>
     20<!--Templates schreiben oder von spaceship kopieren-->
    3521
    3622<Level
    37   plugins = asteroids
     23  plugin = asteroids
    3824  gametype = Asteroids
    3925>
     
    4430
    4531    <!-- ambientlight = "0.8, 0.8, 0.8"
    46     skybox       = "Orxonox/Starbox" -->
     32    skybox       = "Orxonox/Starbox"
     33    WorldRange lieber im src einschraenken-->
    4734  <Scene
    4835    ambientlight = "0.8, 0.7, 0.4"
    4936    skybox     = "Orxonox/skyBoxBasic"
     37    negativeWorldRange = "-100000, -100000, -100000"
     38    positiveWorldRange = " 100000,  100000,  100000"
    5039  >
     40 
     41  <WorldAmbientSound
     42    source="Earth.ogg"
     43    looping="true"
     44    playOnLoad="true"
     45  />
    5146
    5247    <!-- <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"/> -->
    5348    <Light type=directional position="1100, 11000, -7000" lookat="0, 0, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
    54     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=AsteroidsShip pawndesign=asteroidsship />
     49
     50    <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=AsteroidsShip pawndesign=spaceshipasteroids/>
    5551
    5652    <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 />
    5753
     54    <AsteroidsCenterPoint name=asteroidscenter />
    5855
    59     <AsteroidsCenterPoint name=asteroidscenter />
     56    <Model mesh="axes.mesh" scale=10 position="0,0,-100" />
    6057   
    6158   
  • code/branches/Asteroid_HS17/data/levels/templates/spaceshipAsteroids.oxt

    r11541 r11555  
    1 <Template name=spaceshipescort>
     1<Template name=spaceshipasteroids>
    22  <SpaceShip
    33   hudtemplate            = spaceshiphud
     
    7777  <SpaceShip>
    7878    <camerapositions>
    79       <CameraPosition position="0,150,0" pitch=-90 absolute=true />
     79      <CameraPosition position="0,300,0" pitch=-90 absolute=true />
    8080      <CameraPosition position="0,50,160" drag=true mouselook=true />
    8181      <CameraPosition position="0,40,125" drag=true mouselook=true />
Note: See TracChangeset for help on using the changeset viewer.