- Timestamp:
- Dec 3, 2014, 12:49:15 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/towerdefenseHS14/data/levels/turretTest.oxw
r9939 r10144 3 3 <LevelInfo 4 4 name = "turret Test" 5 description = "A level with a turret in it."5 description = "A level to test turrets with." 6 6 tags = "test" 7 7 screenshot = "emptylevel.png" … … 16 16 <?lua 17 17 include("templates/spaceshipAssff.oxt") 18 include("templates/spaceshipPirate.oxt") 19 include("templates/spaceshipTurret.oxt") 18 include("templates/standardTurret.oxt") 20 19 ?> 21 20 … … 33 32 <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> 34 33 34 <SpaceShip position = "0,0,800" collisionType="dynamic" team=10> 35 <controller> 36 <TeamTargetProxy team=10/> 37 </controller> 38 <attached> 39 <Model position="0,0,0" mesh="plane.mesh" scale3D="20,20,20" pitch=-90/> 35 40 36 <StaticEntity position="0,0,0" yaw=0 pitch=0> 37 <attached> 38 <Model position="0,0,0" mesh="turretSocketFront.mesh" scale3D="10,10,10" /> 39 <Model position="0,0,0" mesh="turretSocketIn.mesh" scale3D="10,10,10" /> 40 <Model position="0,0,0" mesh="turretSocketTop.mesh" scale3D="10,10,10" /> 41 <Model position="0,0,0" mesh="turretSocketLeft.mesh" scale3D="10,10,10" /> 42 <Model position="0,0,0" mesh="turretSocketRight.mesh" scale3D="10,10,10" /> 43 </attached> 44 </StaticEntity> 41 <?lua for i = 1, 10, 1 do ?> 42 <Turret position="<?lua print(150-i*30) ?>,<?lua print(150-i*30) ?>,0" pitch="0" yaw="0" roll="0"> 43 <templates> 44 <Template link=standardturret /> 45 </templates> 46 </Turret> 47 <?lua end ?> 45 48 46 47 48 <Turret position="0,10,0" pitch="90" yaw="0" roll="0"> 49 <templates> 50 <Template link=spaceshipturret /> 51 </templates> 52 <controller> 53 <WaypointPatrolController alertnessradius=100 team=10> 54 </WaypointPatrolController> 55 </controller> 56 </Turret> 57 58 59 49 </attached> 50 <collisionShapes> 51 <BoxCollisionShape radius="10" position="0,0,0" halfExtents="200, 200, 0"/> 52 </collisionShapes> 53 </SpaceShip> 60 54 61 55 </Scene>
Note: See TracChangeset
for help on using the changeset viewer.