Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5560 for data


Ignore:
Timestamp:
May 25, 2009, 11:20:52 PM (16 years ago)
Author:
landauf
Message:

used Attacher in waypoints testlevel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/waypoints.oxw

    r5534 r5560  
    1919    <SpawnPoint position="0,0,0" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    2020
    21     <SpaceShip position="0,2000,200" lookat="0,0,0" >
     21    <SpaceShip position="0,2000,200" lookat="0,0,0">
    2222      <templates>
    2323        <Template link=spaceshipassff />
     
    2626        <WaypointPatrolController alertnessradius=1000 team=10>
    2727          <waypoints>
    28             <Model mesh="cube.mesh" scale=1 position="  0,2000,-200" />
    29             <Model mesh="cube.mesh" scale=2 position="  0,2000,-700" />
    30             <Model mesh="cube.mesh" scale=4 position="500,2000,-700" />
     28            <Model mesh="cube.mesh" scale=8 position="  0,2000,-200" />
     29            <Model mesh="cube.mesh" scale=8 position="  0,2000,-700" />
     30            <Model mesh="cube.mesh" scale=8 position="500,2000,-700" />
    3131            <Model mesh="cube.mesh" scale=8 position="500,2000,-200" />
    3232          </waypoints>
     
    3434      </controller>
    3535    </SpaceShip>
    36     <SpaceShip position="0,2000,400" lookat="0,0,0" >
     36    <SpaceShip position="0,2000,400" lookat="0,0,0">
    3737      <templates>
    3838        <Template link=spaceshipassff />
     
    4141        <WaypointPatrolController alertnessradius=1000 team=10>
    4242          <waypoints>
    43             <Model mesh="cube.mesh" scale=1 position="  0,2000,-200" />
    44             <Model mesh="cube.mesh" scale=2 position="  0,2000,-700" />
    45             <Model mesh="cube.mesh" scale=4 position="500,2000,-700" />
     43            <Model mesh="cube.mesh" scale=8 position="  0,2000,-200" />
     44            <Model mesh="cube.mesh" scale=8 position="  0,2000,-700" />
     45            <Model mesh="cube.mesh" scale=8 position="500,2000,-700" />
    4646            <Model mesh="cube.mesh" scale=8 position="500,2000,-200" />
    4747          </waypoints>
     
    5050    </SpaceShip>
    5151
    52     <SpaceShip position="1500,2000,200" lookat="0,0,0" >
     52    <SpaceShip position="1500,2000,200" lookat="0,0,0">
    5353      <templates>
    5454        <Template link=spaceshipassff />
     
    5757        <WaypointPatrolController alertnessradius=1000 team=11>
    5858          <waypoints>
    59             <Model mesh="cube.mesh" scale=1 position="1500,2000,-200" />
    60             <Model mesh="cube.mesh" scale=2 position="1500,2000,-700" />
    61             <Model mesh="cube.mesh" scale=4 position="1000,2000,-700" />
     59            <Model mesh="cube.mesh" scale=8 position="1500,2000,-200" />
     60            <Model mesh="cube.mesh" scale=8 position="1500,2000,-700" />
     61            <Model mesh="cube.mesh" scale=8 position="1000,2000,-700" />
    6262            <Model mesh="cube.mesh" scale=8 position="1000,2000,-200" />
    6363          </waypoints>
     
    6565      </controller>
    6666    </SpaceShip>
     67
     68    <SpaceShip position="1500,-2000,200" lookat="0,0,0" name=polonaise1>
     69      <templates>
     70        <Template link=spaceshipassff />
     71      </templates>
     72      <controller>
     73        <WaypointPatrolController alertnessradius=1000 team=12>
     74          <waypoints>
     75            <Model mesh="cube.mesh" scale=8 position="1500,-2000,-200" />
     76<!--
     77            <Attacher target=polonaise6 deletewithparent=false />
     78            <Model mesh="cube.mesh" scale=8 position="1500,-2000,-700" />
     79            <Model mesh="cube.mesh" scale=8 position="1000,-2000,-700" />
     80            <Model mesh="cube.mesh" scale=8 position="1000,-2000,-200" />
     81-->
     82          </waypoints>
     83        </WaypointPatrolController>
     84      </controller>
     85    </SpaceShip>
     86
     87<?lua
     88for i = 1, 5, 1
     89do ?>
     90    <SpaceShip position="1500,<?lua print(-2000 + 50*i) ?>,200" lookat="0,0,0" name=polonaise<?lua print(i+1) ?> >
     91      <templates>
     92        <Template link=spaceshipassff />
     93      </templates>
     94      <controller>
     95        <WaypointPatrolController alertnessradius=1000 team=12>
     96          <waypoints>
     97            <Attacher target=polonaise<?lua print(i) ?> deletewithparent=false />
     98          </waypoints>
     99        </WaypointPatrolController>
     100      </controller>
     101    </SpaceShip>
     102<?lua
     103end
     104?>
     105
     106
     107    <SpaceShip position="-1500,-2000,200" lookat="0,0,0" name=attack1>
     108      <templates>
     109        <Template link=spaceshipassff />
     110      </templates>
     111      <controller>
     112        <WaypointPatrolController alertnessradius=1000 team=13>
     113          <waypoints>
     114            <Model mesh="cube.mesh" scale=8 position="1500,-2000,-200" />
     115          </waypoints>
     116        </WaypointPatrolController>
     117      </controller>
     118    </SpaceShip>
     119
     120<?lua
     121for i = 1, 5, 1
     122do ?>
     123    <SpaceShip position="-1500,<?lua print(-2000 + 50*i) ?>,200" lookat="0,0,0" name=attack<?lua print(i+1) ?> >
     124      <templates>
     125        <Template link=spaceshipassff />
     126      </templates>
     127      <controller>
     128        <WaypointPatrolController alertnessradius=1000 team=13>
     129          <waypoints>
     130            <Attacher target=attack<?lua print(i) ?> deletewithparent=false />
     131          </waypoints>
     132        </WaypointPatrolController>
     133      </controller>
     134    </SpaceShip>
     135<?lua
     136end
     137?>
    67138
    68139<!--
Note: See TracChangeset for help on using the changeset viewer.