Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11268


Ignore:
Timestamp:
Nov 7, 2016, 3:56:03 PM (8 years ago)
Author:
pschefer
Message:

egines added to spaceship, started with explosionparts

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

Legend:

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

    r11259 r11268  
    2929
    3030    <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"/>
    31     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
     31    <SpawnPoint team=0 position="-200,0,0" lookat="-100,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
    3232
    3333    <MovableEntity position="0,0,0" >
     
    3636      </templates>
    3737    </MovableEntity>
     38
    3839   
    3940  </Scene>
  • code/branches/BigShip_HS16/data/levels/templates/endurancetest_template.oxt

    r11259 r11268  
    22
    33
    4         <MovableEntity collisionType=kinematic mass=10000 lineardamping=0.99 angularDamping=0.99 rotationaxis = "1,0,0" rotationrate="5,0,0">
    5         <attached>
     4        <ModularSpaceShip collisionType=kinematic mass=10000 lineardamping=0.99 angularDamping=0.99 rotationaxis = "1,0,0" explosionchunks = 12 >
     5       
    66
    77        <!-- Test endurance -->
    88
    9 
     9        <parts>
     10        <ShipPart name="part0" initialhealth="1" maxhealth="1" damageabsorption="0" explosionposition="-100,0,0">
     11            <destructionevents>
     12                <PartDestructionEvent targetType="part" targetParam="health" operation="destroy" value="0.5" message="middle cube destroyed!"/>
     13            </destructionevents>
     14        </ShipPart>
     15
     16        <ShipPart name="part1" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="-100,0,100">
     17            <destructionevents>
     18                <PartDestructionEvent targetType="ship" targetParam="shieldhealth" operation="*" value="0.5"/>
     19            </destructionevents>
     20        </ShipPart>
     21
     22        <ShipPart name="part2" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="-100,50,86">
     23            <destructionevents>
     24                <PartDestructionEvent targetType="ship" targetParam="shieldhealth" operation="*" value="0.5"/>
     25            </destructionevents>
     26        </ShipPart>
     27
     28        <ShipPart name="part3" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="-100,86,50">
     29            <destructionevents>
     30                <PartDestructionEvent targetType="ship" targetParam="shieldhealth" operation="*" value="0.5"/>
     31            </destructionevents>
     32        </ShipPart>
     33
     34    </parts>
     35
     36
     37
     38
     39
     40    <attached>
    1041                <!-- coordinates (0,0,0) num 0-->
    1142
    12                 <StaticEntity collisionType=static position ="-100,0,0">
     43                <StaticEntity name= "part0" collisionType=static position ="-100,0,0">
    1344                        <attached>
    1445                                <Model  mesh="cube.mesh" scale="10"/>
     
    1748                        </attached>
    1849
    19 
    2050                <collisionShapes>
    2151
    22                         <BoxCollisionShape  halfExtents="10,10,10" lookat="-100,0,0"/>
     52                        <BoxCollisionShape  halfExtents="10,10,10" lookat="-100,0,0" info ="part0"/>
    2353
    2454                </collisionShapes>
     
    2858                <!-- coordinates (100,0,0) num 1-->
    2959
    30                 <StaticEntity collisionType=static lookat="-100,0,0" position ="-100,0,100" direction="0,0,0" yaw="-90" roll="-90">
     60                <StaticEntity name= "part1" collisionType=static lookat="-100,0,0" position ="-100,0,100" direction="0,0,0" yaw="-90" roll="-90" pitch="0">
     61
     62                       
     63
     64
    3165                        <attached>
    3266                                <Model  mesh="Endurance_MainEngine.mesh" scale="5" />
     
    3468
    3569
    36                                
    37 
    38                                
     70                                <ParticleEmitter scale=5  position= "0,-5,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
     71
     72                                <ParticleEmitter scale=5  position= "0,3,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
     73
     74                                <ParticleEmitter scale=5  position= "0,10,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
     75
    3976
    4077                        </attached>
     
    5289                </StaticEntity>
    5390
    54                 <StaticEntity collisionType=static lookat="-100,0,0" position ="-100,50,86" direction="0,0,0" yaw="-90" roll="-90">
     91                <StaticEntity name = "part2" collisionType=static lookat="-100,0,0" position ="-100,50,86" direction="0,0,0" yaw="-90" roll="-90">
    5592                        <attached>
    5693                                <Model  mesh="Endurance_Habitat.mesh" scale="5" />
     
    68105                <!-- coordinates (50,86,0) num 3 -->   
    69106
    70                 <StaticEntity collisionType=static lookat="-100,0,0" position ="-100,86,50" direction="0,0,0" yaw="-90" roll="-90">
     107                <StaticEntity name="part3" collisionType=static lookat="-100,0,0" position ="-100,86,50" direction="0,0,0" yaw="-90" roll="-90">
    71108                        <attached>
    72109                                <Model  mesh="Endurance_MainEngine.mesh" scale="5" />
     110
     111                                <ParticleEmitter scale=5  position= "0,-5,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
     112
     113                                <ParticleEmitter scale=5  position= "0,3,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
     114
     115                                <ParticleEmitter scale=5  position= "0,10,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
     116
    73117                        </attached>
    74118
     
    83127                <!-- coordinates (0,100,0) num 4 -->   
    84128
    85                 <StaticEntity collisionType=static position ="-100,100,0" lookat="-100,0,0">
     129                <StaticEntity name ="part4" collisionType=static position ="-100,100,0" lookat="-100,0,0">
    86130                        <attached>
    87131                                <Model  mesh="cube.mesh" scale="10" />
     
    100144                <!-- coordinates (-50,86,0) num 5 -->   
    101145
    102                 <StaticEntity collisionType=static position ="-100,86,-50" lookat="-100,0,0" direction="0,0,0" yaw="-90" roll="-90">
     146                <StaticEntity name= "part5" collisionType=static position ="-100,86,-50" lookat="-100,0,0" direction="0,0,0" yaw="-90" roll="-90">
    103147                        <attached>
    104148                                <Model  mesh="Endurance_Habitat.mesh" scale="5" />
     
    116160                <!-- coordinates (-86,50,0) num 6  --> 
    117161
    118                 <StaticEntity collisionType=static position ="-100,50,-86" lookat="-100,0,0" >
     162                <StaticEntity name="part6" collisionType=static position ="-100,50,-86" lookat="-100,0,0" >
    119163                        <attached>
    120164                                <Model  mesh="cube.mesh" scale="10" />
     
    131175                <!-- coordinates (-100,0,0) num 7 -->   
    132176
    133                 <StaticEntity collisionType=static position ="-100,0,-100" lookat="-100,0,0" direction="0,0,0" yaw="90" roll="90">
     177                <StaticEntity name= "part7" collisionType=static position ="-100,0,-100" lookat="-100,0,0" direction="0,0,0" yaw="90" roll="90">
    134178                        <attached>
    135179                                <Model  mesh="Endurance_MainEngine.mesh" scale="5" />
     180
     181                                <ParticleEmitter scale=5  position= "0,-5,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
     182
     183                                <ParticleEmitter scale=5  position= "0,3,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
     184
     185                                <ParticleEmitter scale=5  position= "0,10,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
     186
    136187                        </attached>
    137188
     
    146197                <!-- coordinates (-86,-50,0) num 8 --> 
    147198
    148                 <StaticEntity collisionType=static position ="-100,-50,-86" lookat="-100,0,0" direction="0,0,0" yaw="-90" roll="-90" >
     199                <StaticEntity name ="part8" collisionType=static position ="-100,-50,-86" lookat="-100,0,0" direction="0,0,0" yaw="-90" roll="-90" >
    149200                        <attached>
    150201                                <Model  mesh="Endurance_Habitat.mesh" scale="5" />
     
    162213                <!-- coordinates (-50,-86,0) num 9 --> 
    163214
    164                 <StaticEntity collisionType=static position ="-100,-86,-50" lookat="-100,0,0" direction="0,0,0" yaw="-90" roll="-90">
     215                <StaticEntity name="part9" collisionType=static position ="-100,-86,-50" lookat="-100,0,0" direction="0,0,0" yaw="-90" roll="-90">
    165216                        <attached>
    166217                                <Model  mesh="Endurance_MainEngine.mesh" scale="5" />
     218
     219                                <ParticleEmitter scale=5  position= "0,-5,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
     220
     221                                <ParticleEmitter scale=5  position= "0,3,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
     222
     223                                <ParticleEmitter scale=5  position= "0,10,28" source="Orxonox/thruster2" lifetime=2.0 loop=1 startdelay=0.0 />
     224
    167225                        </attached>
    168226
     
    177235                <!-- coordinates (0,-100,0) num 10 --> 
    178236
    179                 <StaticEntity collisionType=static position ="-100,-100,0" lookat="-100,0,0">
    180                         <attached>
    181                                 <Model  mesh="cube.mesh" scale="10" />
     237                <StaticEntity name ="part10" collisionType=static position ="-100,-100,0" lookat="-100,0,0">
     238                        <attached>
     239                               
     240                                <Model  mesh="cube.mesh" scale="10" />
     241
    182242                        </attached>
    183243
     
    192252                <!-- coordinates (50,-86,0) num 11 --> 
    193253
    194                 <StaticEntity collisionType=static position ="-100,-86,50" lookat="-100,0,0">
     254                <StaticEntity name ="part11" collisionType=static position ="-100,-86,50" lookat="-100,0,0">
    195255                        <attached>
    196256                                <Model  mesh="cube.mesh" scale="10" />
     
    207267                <!-- coordinates (86,-50,0) num 12 --> 
    208268
    209                 <StaticEntity collisionType=static position ="-100,-50,86" lookat="-100,0,0">
    210                         <attached>
    211                                 <Model  mesh="cube.mesh" scale="10" />
     269                <StaticEntity name ="part12" collisionType=static position ="-100,-50,86" lookat="-100,0,0">
     270                        <attached>
     271                                <Model  mesh="cube.mesh" scale="10" />
     272                               
     273
     274     
    212275                        </attached>
    213276
     
    224287                <Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/>
    225288
     289                <StaticEntity collisionType=static position ="-100,-70,75" lookat="-100,0,0" yaw="90" roll="0" pitch="90" >
     290                        <attached>
     291                               
     292
     293                                <Model  mesh="Endurance_Connecting_Tunnel.mesh" scale="4" />
     294                               
     295
     296                        </attached>
     297
     298                        <collisionShapes>
     299
     300                        <BoxCollisionShape  halfExtents="4,4,4" />
     301
     302                        </collisionShapes>
     303
     304                </StaticEntity>
     305
    226306               
    227 
    228 
    229 
    230 
    231 
    232 
    233307               
    234308
    235309        </attached>
    236310
     311
     312   
     313
    237314        <collisionShapes>
    238315
     
    241318                        </collisionShapes>
    242319       
     320
     321        <explosion >
     322      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" />
     323      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" />
     324      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" />
     325    </explosion>
    243326               
    244327
    245         </MovableEntity>
     328        </ModularSpaceShip>
     329
     330       
     331
     332
    246333
    247334</Template>
Note: See TracChangeset for help on using the changeset viewer.