Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 13, 2017, 3:30:24 PM (7 years ago)
Author:
jkindle
Message:

Added jetpack, rotation of player, Questionmark-blocks and Hitlistener for the QBlocks. Made description for David in XML file for usage of hittable blocks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SuperOrxoBros_FS17/data/levels/SOB.oxw

    r11398 r11400  
    2929                        <attached>
    3030                                <Model  mesh="Orxo.mesh" scale=2.5 pitch=0 roll=90 yaw=90/>
     31                                <ParticleSpawner source="Orxonox/fire4" startdelay=0  position="-4,0,0" visible="false"/>
    3132                        </attached>
    3233
     
    110111
    111112                                        //Luft1
    112                                         <Model mesh="Cube1.1.mesh" position="120,0,20" scale=10/><!-- ? Block -->               <!-- 1 -->
     113
     114
     115
     116<!--                                    BLOCK 1 in der LUFT - alle analog wie diesen :) -->
     117<!-- Sobald ein QBlock von unten gehittet wird, wechselt die Visibility von allen attached Models. Hier wuerde also Cube1.1 invisible und Cube2.12 visible. Die Collisionshape wird ja sowieso beibehalten. -->
     118                                        <SOBQBlock collisionType="static">
     119                                                <attached>
     120                                                        <Model mesh="Cube1.1.mesh" position="120,0,20" scale=10/>
     121                                                        <Model mesh="Cube2.12.mesh" position="120,0,20" scale=10 visible="false"/>
     122                                                </attached>
     123                                                <collisionShapes>
     124                                                        <BoxCollisionShape position="120,0,20" halfExtents="5,5,5" /><!-- 1 -->
     125                                                </collisionShapes>
     126                                        </SOBQBlock>
     127
     128
     129
     130
     131
     132
     133
     134
     135<!--                                    <Model mesh="Cube1.1.mesh" position="120,0,20" scale=10/><!-- ? Block -->               <!-- 1 -->
    113136                                        <Model mesh="Cube1.1.mesh" position="160,0,20" scale=10 />                                              <!-- 2 -->
    114137                                        <Model mesh="Cube1.1.mesh" position="170,0,20" scale=10 /><!-- Item Block -->   <!-- 3 -->
     
    118141                                        <Model mesh="Cube1.1.mesh" position="200,0,20" scale=10/>                                               <!-- 7 -->
    119142
    120                                                 <StaticEntity collisionType="static">
    121                                                         <collisionShapes>
    122                                                                 <BoxCollisionShape position="120,0,20" halfExtents="5,5,5" /><!-- 1 -->
    123                                                                 <BoxCollisionShape position="160,0,20" halfExtents="5,5,5" /><!-- 2 -->
    124                                                                 <BoxCollisionShape position="170,0,20" halfExtents="5,5,5" /><!-- 3 -->
    125                                                                 <BoxCollisionShape position="180,0,20" halfExtents="5,5,5" /><!-- 4 -->
    126                                                                 <BoxCollisionShape position="180,0,60" halfExtents="5,5,5" /><!-- 5 -->
    127                                                                 <BoxCollisionShape position="190,0,20" halfExtents="5,5,5" /><!-- 6 -->
    128                                                                 <BoxCollisionShape position="200,0,20" halfExtents="5,5,5" /><!-- 7 -->
    129 
    130 
    131                                                         </collisionShapes>
    132                                                 </StaticEntity>
     143                                        <StaticEntity collisionType="static">
     144                                                <collisionShapes>
     145                                                        <!--<BoxCollisionShape position="120,0,20" halfExtents="5,5,5" /><!-- 1 -->
     146                                                        <BoxCollisionShape position="160,0,20" halfExtents="5,5,5" /><!-- 2 -->
     147                                                        <BoxCollisionShape position="170,0,20" halfExtents="5,5,5" /><!-- 3 -->
     148                                                        <BoxCollisionShape position="180,0,20" halfExtents="5,5,5" /><!-- 4 -->
     149                                                        <BoxCollisionShape position="180,0,60" halfExtents="5,5,5" /><!-- 5 -->
     150                                                        <BoxCollisionShape position="190,0,20" halfExtents="5,5,5" /><!-- 6 -->
     151                                                        <BoxCollisionShape position="200,0,20" halfExtents="5,5,5" /><!-- 7 -->
     152
     153
     154                                                </collisionShapes>
     155                                        </StaticEntity>
    133156
    134157
     
    157180                                        <Model mesh="Cube1.1.mesh" position="600,0,60" scale=10/>
    158181
    159                                                 <StaticEntity collisionType="static">
    160                                                         <collisionShapes>
    161                                                                 <BoxCollisionShape position="500,0,20" halfExtents="5,5,5" />
    162                                                                 <BoxCollisionShape position="510,0,20" halfExtents="5,5,5" />
    163                                                                 <BoxCollisionShape position="520,0,20" halfExtents="5,5,5" />
    164                                                                 <BoxCollisionShape position="570,0,60" halfExtents="40,5,5" />
    165 
    166 
    167 
    168 
    169                                                         </collisionShapes>
    170                                                 </StaticEntity>
     182                                        <StaticEntity collisionType="static">
     183                                                <collisionShapes>
     184                                                        <BoxCollisionShape position="500,0,20" halfExtents="5,5,5" />
     185                                                        <BoxCollisionShape position="510,0,20" halfExtents="5,5,5" />
     186                                                        <BoxCollisionShape position="520,0,20" halfExtents="5,5,5" />
     187                                                        <BoxCollisionShape position="570,0,60" halfExtents="40,5,5" />
     188
     189
     190
     191
     192                                                </collisionShapes>
     193                                        </StaticEntity>
    171194                                       
    172195
     
    200223
    201224
    202                                                 <StaticEntity collisionType="static">
    203                                                         <collisionShapes>
    204                                                                 <BoxCollisionShape position="645,0,60" halfExtents="15,5,5" />                                                  <!-- 1 -->
    205                                                                 <BoxCollisionShape position="670,0,20" halfExtents="5,5,5" />                                                   <!-- 2 -->
    206                                                                 <BoxCollisionShape position="670,0,60" halfExtents="5,5,5" />                                                   <!-- 3 -->
    207 
    208                                                                 <BoxCollisionShape position="720,0,20" halfExtents="5,5,5" />                                                   <!-- 4 -->
    209                                                                 <BoxCollisionShape position="730,0,20" halfExtents="5,5,5" />                                                   <!-- 5 -->
    210                                                                 <BoxCollisionShape position="780,0,20" halfExtents="5,5,5" />                                                   <!-- 6 -->
    211                                                                 <BoxCollisionShape position="800,0,20" halfExtents="5,5,5" />                                                   <!-- 7 -->
    212                                                                 <BoxCollisionShape position="800,0,60" halfExtents="5,5,5" />                                                   <!-- 8 -->
    213                                                                 <BoxCollisionShape position="820,0,20" halfExtents="5,5,5" />                                                   <!-- 9 -->
    214 
    215                                                                 <BoxCollisionShape position="890,0,20" halfExtents="5,5,5" />                                                   <!-- 10 -->
    216                                                                 <BoxCollisionShape position="930,0,60" halfExtents="15,5,5" />                                                  <!-- 11 -->
    217                                                                 <BoxCollisionShape position="990,0,60" halfExtents="5,5,5" />                                                   <!-- 12 -->
    218                                                                 <BoxCollisionShape position="1020,0,60" halfExtents="5,5,5" />                                                  <!-- 13 -->
    219                                                                 <BoxCollisionShape position="1005,0,20" halfExtents="10,5,5" />                                                 <!-- 14 -->
    220                                                                 <BoxCollisionShape position="1000,0,60" halfExtents="5,5,5" />                                                  <!-- 15 -->
    221                                                                 <BoxCollisionShape position="1010,0,60" halfExtents="5,5,5" />                                                  <!-- 16 -->
    222 
    223 
    224 
    225 
    226                                                         </collisionShapes>
    227                                                 </StaticEntity>
     225                                        <StaticEntity collisionType="static">
     226                                                <collisionShapes>
     227                                                        <BoxCollisionShape position="645,0,60" halfExtents="15,5,5" />                                                  <!-- 1 -->
     228                                                        <BoxCollisionShape position="670,0,20" halfExtents="5,5,5" />                                                   <!-- 2 -->
     229                                                        <BoxCollisionShape position="670,0,60" halfExtents="5,5,5" />                                                   <!-- 3 -->
     230
     231                                                        <BoxCollisionShape position="720,0,20" halfExtents="5,5,5" />                                                   <!-- 4 -->
     232                                                        <BoxCollisionShape position="730,0,20" halfExtents="5,5,5" />                                                   <!-- 5 -->
     233                                                        <BoxCollisionShape position="780,0,20" halfExtents="5,5,5" />                                                   <!-- 6 -->
     234                                                        <BoxCollisionShape position="800,0,20" halfExtents="5,5,5" />                                                   <!-- 7 -->
     235                                                        <BoxCollisionShape position="800,0,60" halfExtents="5,5,5" />                                                   <!-- 8 -->
     236                                                        <BoxCollisionShape position="820,0,20" halfExtents="5,5,5" />                                                   <!-- 9 -->
     237
     238                                                        <BoxCollisionShape position="890,0,20" halfExtents="5,5,5" />                                                   <!-- 10 -->
     239                                                        <BoxCollisionShape position="930,0,60" halfExtents="15,5,5" />                                                  <!-- 11 -->
     240                                                        <BoxCollisionShape position="990,0,60" halfExtents="5,5,5" />                                                   <!-- 12 -->
     241                                                        <BoxCollisionShape position="1020,0,60" halfExtents="5,5,5" />                                                  <!-- 13 -->
     242                                                        <BoxCollisionShape position="1005,0,20" halfExtents="10,5,5" />                                                 <!-- 14 -->
     243                                                        <BoxCollisionShape position="1000,0,60" halfExtents="5,5,5" />                                                  <!-- 15 -->
     244                                                        <BoxCollisionShape position="1010,0,60" halfExtents="5,5,5" />                                                  <!-- 16 -->
     245
     246
     247
     248
     249                                                </collisionShapes>
     250                                        </StaticEntity>
    228251
    229252
     
    254277
    255278
    256                                                 <StaticEntity collisionType="static">
    257                                                         <collisionShapes>
    258                                                                 <BoxCollisionShape position="1400,0,20" halfExtents="5,5,5" />
    259                                                                 <BoxCollisionShape position="1410,0,20" halfExtents="5,5,5" />
    260                                                                 <BoxCollisionShape position="1420,0,20" halfExtents="5,5,5" />
    261                                                                 <BoxCollisionShape position="1430,0,20" halfExtents="5,5,5" />
    262 
    263 
    264 
    265 
    266                                                         </collisionShapes>
    267                                                 </StaticEntity>
     279                                        <StaticEntity collisionType="static">
     280                                                <collisionShapes>
     281                                                        <BoxCollisionShape position="1400,0,20" halfExtents="5,5,5" />
     282                                                        <BoxCollisionShape position="1410,0,20" halfExtents="5,5,5" />
     283                                                        <BoxCollisionShape position="1420,0,20" halfExtents="5,5,5" />
     284                                                        <BoxCollisionShape position="1430,0,20" halfExtents="5,5,5" />
     285
     286
     287
     288
     289                                                </collisionShapes>
     290                                        </StaticEntity>
    268291
    269292
Note: See TracChangeset for help on using the changeset viewer.