Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 3, 2014, 2:35:54 PM (11 years ago)
Author:
fvultier
Message:

Steuerung funktioniert

Location:
code/branches/pickupsFS14/data/levels
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickupsFS14/data/levels/Jump.oxw

    r10005 r10017  
    1111
    1212<?lua
    13   include("templates/spaceshipAssff2.oxt")
    14   include("templates/spaceshipPirate.oxt")
    15   include("templates/spaceshipInvader.oxt")
    16   include("templates/enemyInvader.oxt")
    17   include("overlays/InvaderHUD.oxo")
     13  -- include("templates/spaceshipAssff2.oxt")
     14  -- include("templates/spaceshipPirate.oxt")
     15  include("templates/spaceshipJump.oxt")
     16  -- include("templates/enemyInvader.oxt")
     17  -- include("overlays/InvaderHUD.oxo")
    1818?>
     19
    1920
    2021<Level gametype = Jump>
     
    3536    />
    3637 
     38    <Planet
     39      position="0, 0, -2000"
     40      scale="1000"
     41      collisionType="dynamic"
     42      linearDamping="0.8"
     43      angularDamping="0"
     44      mass="10000000"
     45      pitch="0"
     46      mesh="planets/muunilinst.mesh"
     47      atmosphere="atmosphere1"
     48      rotationaxis="1,0,0"
     49      rotationrate="1.0"
     50      atmospheresize="80.0f"
     51      imagesize="1024.0f"
     52      collisiondamage = 2
     53      enablecollisiondamage = true
     54    >
     55
     56    </Planet>
     57
     58
    3759
    3860    <!-- <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"/> -->
     
    4163
    4264
    43     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=JumpShip pawndesign=spaceshipinvader />
    44 <!--
    45     <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 />
     65    <SpawnPoint team=0 position="0,0,0" lookat="0,0,-1" spawnclass=JumpShip pawndesign=spaceshipjump />
     66
     67   
    4668
    4769
     
    5072   
    5173    <?lua
    52       for i = 1, 300, 1 do
     74      for i = 1, 200, 1 do
    5375        j = math.random()
    5476    ?>
    5577
    5678    <MovableEntity
    57       position = "<?lua print(math.random()* 40000 + 1000) ?>,-1000,<?lua print(math.random() * 4000 - 2000) ?>"
     79      position = "<?lua print(math.random(-300,300)) ?>,<?lua print(math.random(-250,10000)) ?>,-300>"
    5880      collisionType = dynamic
    5981      linearDamping = 0.8
    6082      angularDamping = 0
    61       scale = "<?lua print(j * 150)?>"
     83      scale = "10"
    6284      collisiondamage = 0
    63       enablecollisiondamage = true
     85      enablecollisiondamage = no
     86
    6487    >
    6588      <attached>
    6689        <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
    6790      </attached>
    68       <collisionShapes>
    69         <SphereCollisionShape radius="<?lua print(j * 350) ?>" />
    70       </collisionShapes>
     91
    7192    </MovableEntity>
    7293
     
    7596    ?>
    7697
    77   -->
     98 
    7899   
    79100  </Scene>
    80101</Level>
    81 
Note: See TracChangeset for help on using the changeset viewer.