Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 11, 2012, 4:03:28 PM (12 years ago)
Author:
weigeltm
Message:

removed attach-command, got rid of error messages, attached weapons to towers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/newlevel2012/data/levels/towerDefense.oxw

    r9173 r9175  
    5151</Template-->
    5252
     53
     54
     55
     56
    5357<Level gametype = "TowerDefense">
    5458  <templates>
     
    8084          <waypoints>
    8185                          <!-- 1,3 10,3 10,11, 13,11 -->
    82             <Model mesh="cube.mesh" scale=1 position="-700,-500, 100" />
    83             <Model mesh="cube.mesh" scale=1 position=" 200,-500, 100" />
    84             <Model mesh="cube.mesh" scale=1 position=" 200, 300, 100" />
    85             <Model mesh="cube.mesh" scale=1 position=" 500, 300, 100" />
     86            <Model mesh="cube.mesh" scale=20 position="-700,-500, 100" />
     87            <Model mesh="cube.mesh" scale=20 position=" 200,-500, 100" />
     88            <Model mesh="cube.mesh" scale=20 position=" 200, 300, 100" />
     89            <Model mesh="cube.mesh" scale=20 position=" 500, 300, 100" />
    8690          </waypoints>
    8791        </WaypointController>
     
    8993    </SpaceShip>
    9094   
    91         <!-- PlayField -->
    92         <TowerDefenseCenterpoint
    93         name=towerdefensecenter
    94         width=16
    95         height=16
    96         tileScale=100
    97         towerTemplate=tower
    98         position="0,0,0"
    99         direction="0,0,0"
    100         collistionType=static
    101         mass=100000>
    102                  
     95   
     96    <!--invisible entity to attach towers to, since playfield is static and towers are dynamic-->
     97    <StaticEntity position=0,0,0>
     98 
    10399                 <attached>
    104100                        <Model position="-50,-50,0" mesh="Playfield_ME.mesh" scale=80 />
     
    118114           <BoxCollisionShape position="0,0,0" halfExtents="400,400,100" />
    119115        </collisionShapes>
     116        </StaticEntity>
     117   
     118   
     119   
     120   
     121        <!-- PlayField -->
     122        <TowerDefenseCenterpoint
     123        name=towerdefensecenter
     124        width=16
     125        height=16
     126        tileScale=100
     127        towerTemplate=tower
     128        position="0,0,0"
     129        direction="0,0,0"
     130        collisionType=dynamic
     131        mass=100000>
     132               
    120133    </TowerDefenseCenterpoint>
    121134
Note: See TracChangeset for help on using the changeset viewer.