Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 5, 2018, 9:26:18 AM (6 years ago)
Author:
kunzro
Message:

HUD fixed

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

Legend:

Unmodified
Added
Removed
  • code/branches/wagnis_HS18/data/levels/Wagnis_testlevel.oxw

    r12133 r12136  
    3737  <Provinces>
    3838
    39     <WagnisProvince ID="1" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=dynamic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((70))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     39    <WagnisProvince ID="1" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((70))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
    4040      <attached>
    4141        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
    4242      </attached>
    4343      <collisionShapes>
    44         <SphereCollisionShape   position="0,0,0" radius="2" />
     44        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
    4545      </collisionShapes>
    4646    </WagnisProvince>
    4747
    48     <WagnisProvince ID="2" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=dynamic mass=100 continent="1" position="0,<?lua print((40))?>,<?lua print((70))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     48    <WagnisProvince ID="2" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((40))?>,<?lua print((70))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
    4949      <attached>
    5050        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
    5151      </attached>
    5252      <collisionShapes>
    53         <SphereCollisionShape   position="0,0,0" radius="2" />
     53        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
    5454      </collisionShapes>
    5555    </WagnisProvince>
    5656
    57     <WagnisProvince ID="3" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=dynamic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((80))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     57    <WagnisProvince ID="3" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((40))?>,<?lua print((60))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
    5858      <attached>
    5959        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
    6060      </attached>
    6161      <collisionShapes>
    62         <SphereCollisionShape   position="0,0,0" radius="2" />
     62        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
    6363      </collisionShapes>
    6464    </WagnisProvince>
    6565
    66     <WagnisProvince ID="1000" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=dynamic mass=100 continent="1" position="0,<?lua print((50+7))?>,<?lua print((135-6))?>" pitch=90 rotationrate="0" rotationaxis="0,0,0">
     66    <WagnisProvince ID="4" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((60))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     67      <attached>
     68        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
     69      </attached>
     70      <collisionShapes>
     71        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
     72      </collisionShapes>
     73    </WagnisProvince>
     74
     75    <WagnisProvince ID="5" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((100))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     76      <attached>
     77        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
     78      </attached>
     79      <collisionShapes>
     80        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
     81      </collisionShapes>
     82    </WagnisProvince>
     83
     84    <WagnisProvince ID="6" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((110))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     85      <attached>
     86        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
     87      </attached>
     88      <collisionShapes>
     89        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
     90      </collisionShapes>
     91    </WagnisProvince>
     92
     93    <WagnisProvince ID="7" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((120))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     94      <attached>
     95        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
     96      </attached>
     97      <collisionShapes>
     98        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
     99      </collisionShapes>
     100    </WagnisProvince>
     101
     102    <WagnisProvince ID="8" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((40))?>,<?lua print((130))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     103      <attached>
     104        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
     105      </attached>
     106      <collisionShapes>
     107        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
     108      </collisionShapes>
     109    </WagnisProvince>
     110
     111    <WagnisProvince ID="1000" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((50+7))?>,<?lua print((135-6))?>" pitch=90 rotationrate="0" rotationaxis="0,0,0">
    67112      <attached>
    68113        <Model position="0,0,0" mesh="broke-satellite.mesh" scale3D="3,3,3" />
    69114      </attached>
    70115      <collisionShapes>
    71         <SphereCollisionShape   position="0,0,0" radius="4" />
     116        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
    72117      </collisionShapes>
    73118    </WagnisProvince>
  • code/branches/wagnis_HS18/data/levels/templates/wagnisCursor.oxt

    r12133 r12136  
    22  <SpaceShip
    33   hudtemplate            = WagnisHUD
    4    camerapositiontemplate = spaceshipassffcameras
    5    spawnparticlesource    = "Orxonox/fairytwirl"
    6    spawnparticleduration  = 3
    7 
    8    health            = 100
    9    maxhealth         = 200
    10    initialhealth     = 100
    11 
    12    shieldhealth        = 30
    13    initialshieldhealth = 30
    14    maxshieldhealth     = 50
    15    shieldabsorption    = 0.8f
    16    shieldrechargerate  = 1
    17    shieldrechargewaittime = 1
    18 
    19    primaryThrust     = 0
    20    auxilaryThrust    = 0
    21    rotationThrust    = 0
    22 
    23    lift = 1;
    24    stallSpeed = 0;
    25 
    26    boostPower            = 0
    27    boostPowerRate        = 0
    28    boostRate             = 0
    29    boostCooldownDuration = 0
    30 
    31    shakeFrequency = 15
    32    shakeAmplitude = 9
    33 
    34    collisionType     = "dynamic"
    35    mass              = 100
    36    linearDamping     = 0.7
    37    angularDamping    = 0.9999999
    38 
    39    explosionSound = "sounds/Explosion2.ogg"
    404  >
    415
Note: See TracChangeset for help on using the changeset viewer.