Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2014, 12:49:15 PM (9 years ago)
Author:
maxima
Message:

Geaenderte Turret Klassen hinzugefuegt. Neues Template towerturret. Dort wurde an den TDTower ein Turret attached. So schiesst der Tower nun auf die Enemies.

File:
1 edited

Legend:

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

    r10141 r10144  
    2222  include("templates/tower.oxt")
    2323  include("templates/enemytowerdefense.oxt")
     24  include("templates/standardTurret.oxt")
    2425?>
    2526
    2627<!-- Specify the position of the camera -->
    2728<Template name=centerpointmarkcamera defaults=0>
    28   <Pawn>
     29  <Pawn team=1>
    2930    <camerapositions>
    3031      <CameraPosition position="0,0,1500"/>
     
    3536<!-- Loads a mesh to mark the center-->
    3637<Template name=centerpointmark>
    37   <Pawn camerapositiontemplate=centerpointmarkcamera>
     38  <Pawn team=1 camerapositiontemplate=centerpointmarkcamera>
    3839    <attached>
    3940      <Model position="0,0,0" mesh="cylinder.mesh" scale3D="1,1,1" /> <!-- the camera is attached to this -->
     
    7172
    7273    <!-- Spawns the camera, attached to a crate -->
    73     <SpawnPoint team=0 position="0,0,0" spawnclass=Pawn pawndesign=centerpointmark />
     74    <SpawnPoint team=1 position="0,0,0" spawnclass=Pawn pawndesign=centerpointmark />
    7475    <!--TeamSpawnPoint team=1 position="-7,7,4" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /-->
    7576
     
    8182
    8283    <!--invisible entity to attach towers to, since playfield is static and towers are dynamic-->
    83     <StaticEntity position=0,0,0>
     84    <StaticEntity team =1 position=0,0,0>
    8485
    8586        <attached>
     
    118119    collisionType=dynamic
    119120    mass=100000
     121    team=1
    120122    />
    121123
Note: See TracChangeset for help on using the changeset viewer.