Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 19, 2014, 1:14:02 PM (10 years ago)
Author:
maxima
Message:

Waypointcontroller in Enemy template

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

Legend:

Unmodified
Added
Removed
  • code/branches/towerdefenseHS14/data/levels/templates/enemyTowerdefense.oxt

    r10125 r10126  
    4040   explosionSound = "sounds/Explosion2.ogg"
    4141  >
     42
    4243    <engines>
    4344      <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipassffengine />
     
    5758      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
    5859    </collisionShapes>
     60    <controller>
     61        <WaypointController accuracy=60>
     62          <waypoints>
     63            <!-- 1,3 10,3 10,11, 13,11 -->
     64            <Model mesh="cube.mesh" scale=10 position="-700,-500, 150" />
     65            <Model mesh="cube.mesh" scale=10 position=" -400,-500, 150" />
     66            <Model  position=" -400, 600, 150" />
     67            <Model mesh="cube.mesh" scale=10 position=" 500, 600, 150" />
     68            <Model mesh="cube.mesh" scale=10 position=" 500, 700, 150" />
     69          </waypoints>
     70        </WaypointController>
     71      </controller>
    5972  </TowerDefenseEnemy>
    6073</Template>
  • code/branches/towerdefenseHS14/data/levels/towerDefense.oxw

    r10125 r10126  
    7777    <!--SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /-->
    7878
    79     <SpaceShip position="-700,-500, 100" lookat="0,0,0" scale=3 team=1 >
     79    <TowerDefenseEnemy position="-700,-500, 100" lookat="0,0,0" scale=3 team=1 >
    8080      <templates>
    8181        <Template link=enemytowerdefense />
     
    9393        </WaypointController>
    9494      </controller>
    95     </SpaceShip>
     95    </TowerDefenseEnemy>
    9696
    9797
Note: See TracChangeset for help on using the changeset viewer.