Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11259


Ignore:
Timestamp:
Oct 31, 2016, 4:06:26 PM (7 years ago)
Author:
pschefer
Message:

template file of endurance bigship modified

Location:
code/branches/BigShip_HS16/data/levels
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/BigShip_HS16/data/levels/emptyLevel.oxw

    r11052 r11259  
    1414<?lua
    1515  include("templates/spaceshipEscort.oxt")
     16  include("templates/endurancetest_template.oxt")
    1617?>
    1718
     
    2930    <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"/>
    3031    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
     32
     33    <MovableEntity position="0,0,0" >
     34      <templates>
     35        <Template link=endurance/>
     36      </templates>
     37    </MovableEntity>
    3138   
    3239  </Scene>
  • code/branches/BigShip_HS16/data/levels/endurancetest.oxw

    r11228 r11259  
    1212?>
    1313
     14<!-- Spaceship included in the level -->
     15
    1416<?lua
    15 include("templates/spaceshipEscort.oxt")
     17include("templates/spaceshipPirate.oxt")
    1618?>
    1719
    1820<Level>
    19   <templates>
    20     <Template name = endurance>
    21       <SpaceShip
    22       hudtemplate            = spaceshiphud
    23       camerapositiontemplate = bigshipcameras
    24       spawnparticlesource    = "Orxonox/fairytwirl"
    25       spawnparticleduration  = 3
    26       explosionchunks        = 6
    2721
    28       health            = 100
    29       maxhealth         = 200
    30       initialhealth     = 100
     22        <templates>
    3123
    32       shieldhealth        = 100
    33       initialshieldhealth = 30
    34       maxshieldhealth     = 50
    35       shieldabsorption    = 0.8
    36       shieldrechargerate  = 1
    37       shieldrechargewaittime = 1
     24               
     25                <Template name = endurance>
    3826
    39       primaryThrust     = 30
    40       auxilaryThrust    = 30
    41       rotationThrust    = 10
     27                        <!-- Spaceship parameters -->
     28                        <SpaceShip
     29                        hudtemplate            = spaceshiphud
     30                        camerapositiontemplate = bigshipcameras
     31                        spawnparticlesource    = "Orxonox/fairytwirl"
     32                        spawnparticleduration  = 3
     33                        explosionchunks        = 6
    4234
    43       lift = 1;
    44       stallSpeed = 220;
     35                        health            = 100
     36                        maxhealth         = 200
     37                        initialhealth     = 100
    4538
    46       boostPower            = 30
    47       boostPowerRate        = 1.5
    48       boostRate             = 4
    49       boostCooldownDuration = 10
     39                        shieldhealth        = 100
     40                        initialshieldhealth = 30
     41                        maxshieldhealth     = 50
     42                        shieldabsorption    = 0.8
     43                        shieldrechargerate  = 1
     44                        shieldrechargewaittime = 1
    5045
    51       shakeFrequency = 15
    52       shakeAmplitude = 9
     46                        primaryThrust     = 30
     47                        auxilaryThrust    = 30
     48                        rotationThrust    = 10
    5349
    54       collisionType     = "dynamic"
    55       mass              = 1000
    56       linearDamping     = 0.7
    57       angularDamping    = 0.9999999
    58       >
     50                        lift = 1;
     51                        stallSpeed = 220;
    5952
    60       <!-- Testsphere in testlevel -->
    61       <MovableEntity position="0,0,0" rotationrate="5.0" rotationaxis="0,1,0" mass=100 collisionType="dynamic"         collisiondamage=0.05 enablecollisiondamage=true>
     53                        boostPower            = 30
     54                        boostPowerRate        = 1.5
     55                        boostRate             = 4
     56                        boostCooldownDuration = 10
     57
     58                        shakeFrequency = 15
     59                        shakeAmplitude = 9
     60
     61                        collisionType     = "dynamic"
     62                        mass              = 1000
     63                        linearDamping     = 0.7
     64                        angularDamping    = 0.9999999
     65                        >
    6266
    6367
    64         <attached>
    65           <Model position="0,0,0" mesh="sphere.mesh" scale3D="100,20,100" />
    66         </attached>
     68                        <!-- Engines of the Spaceship -->
    6769
    68         <collisionShapes>
    69         <SphereCollisionShape position="0,0,0" halfExtents="100,20,100" />
    70       </collisionShapes>
    71    
     70                       
    7271
    73   </MovableEntity>
     72                         <engines>
     73                                <MultiStateEngine position=" 15, 0, 0" template=bigshipengine />
     74                                <MultiStateEngine position="-15, 0, 0" template=bigshipengine />
     75                        </engines>
    7476
    75     <!-- Large coordinate axis -->
    76     <Model position="50,0,0" mesh="Coordinates.mesh" scale="20"/>
     77                        <!-- Testsphere in testlevel -->
     78
     79                        <MovableEntity position ="0, 0, 0"  velocity= "10, 0, 0"  collisionType=dynamic mass=1000 friction=0.01 >
     80
     81                                <!-- use attached for the different spaceship parts and the lights -->
     82                                <!-- BlinkingBillboard class for blinking lights -->
     83                                <attached>
     84                                        <Model position="0,0,0" mesh="sphere.mesh" scale3D="100,100,100" />
     85                                </attached>
     86
     87                                <!-- Collision Shapes -->
     88
     89                                <collisionShapes>
     90                                <SphereCollisionShape position="0,0,0" radius="100" />
     91                        </collisionShapes>
     92                </MovableEntity>
     93
     94                <!-- Explosion and Explosionparts -->
     95
     96                <!-- Cameras and Cameraposition -->
     97
     98                <!-- Multistateengine definition + engine sounds -->
     99
     100                <!-- Large coordinate axis -->
     101                <Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/>
     102
     103                <!-- Spawnpoint of the Spaceship -->
     104                <SpawnPoint team=0 position = "-100,0,0" lookat="0,0,0" spawnclass=Spaceship pawndesign=spaceshippirate />
     105
     106                <!-- Planets and forcefields -->
    77107
    78108
    79     />
    80   </Spaceship>
     109                <!-- Blacklight to illuminate surfaces -->
     110
     111               
     112
     113                <!-- Egine sound of the Spaceship -->
     114                <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/>
     115
     116                <!-- World Ambient Sound -->
     117               
     118        </SpaceShip>
    81119</Template>
    82120</templates>
     121
    83122<?lua include("includes/notifications.oxi") ?>
    84123
Note: See TracChangeset for help on using the changeset viewer.