Changeset 10144 for code/branches/towerdefenseHS14/data
- Timestamp:
- Dec 3, 2014, 12:49:15 PM (10 years ago)
- Location:
- code/branches/towerdefenseHS14/data/levels
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/towerdefenseHS14/data/levels/includes/weaponSettingsTurret.oxi
r9664 r10144 11 11 </links> 12 12 <Weapon> 13 < attached>14 <Model mesh="sphere.mesh" position=" 3,3,-2.2" scale=0.6 />15 </attached> 16 <HsW01 mode=0 munitionpershot=0 delay=0 damage= 3.14159 material="Flares/point_lensflare" muzzleoffset=" 3, 3,-2.2" />17 <HsW01 mode=0 munitionpershot=0 delay=0 damage= 3.14159 material="Flares/point_lensflare" muzzleoffset=" 3,-3,-2.2" />18 <HsW01 mode=0 munitionpershot=0 delay=0 damage= 3.14159 material="Flares/point_lensflare" muzzleoffset="-3, 3,-2.2" />19 <HsW01 mode=0 munitionpershot=0 delay=0 damage= 3.14159 material="Flares/point_lensflare" muzzleoffset="-3,-3,-2.2" />13 <!-- <attached> 14 <Model mesh="sphere.mesh" position="1.7,1.7,-24.5" scale=0.6 /> 15 </attached> --> 16 <HsW01 mode=0 munitionpershot=0 delay=0 damage=1 material="Flares/point_lensflare" muzzleoffset="1.7, 1.7,-30" /> 17 <HsW01 mode=0 munitionpershot=0 delay=0 damage=1 material="Flares/point_lensflare" muzzleoffset="1.7, -1.7,-30" /> 18 <HsW01 mode=0 munitionpershot=0 delay=0 damage=1 material="Flares/point_lensflare" muzzleoffset="-1.7, 1.7,-30" /> 19 <HsW01 mode=0 munitionpershot=0 delay=0 damage=1 material="Flares/point_lensflare" muzzleoffset="-1.7, -1.7,-30" /> 20 20 </Weapon> 21 21 </WeaponPack> -
code/branches/towerdefenseHS14/data/levels/templates/enemytowerdefense.oxt
r10134 r10144 7 7 explosionchunks = 6 8 8 9 health = 1 0010 maxhealth = 2 0011 initialhealth = 1 009 health = 1 10 maxhealth = 2 11 initialhealth = 1 12 12 13 13 shieldhealth = 30 -
code/branches/towerdefenseHS14/data/levels/templates/tower.oxt
r10142 r10144 26 26 <Model position="0,0,0" scale=45 mesh="Tower.mesh" /> 27 27 28 <Turret position="0,0,-100" collisionType="dynamic" angularDamping=0.999999 mass=100 maxPitch=90 maxYaw=90 maxAttackRadius=2000 minAttackRadius=30>29 28 30 <collisionShapes>31 <SphereCollisionShape radius="10" position = "0,0,0"/>32 </collisionShapes>33 <controller>34 <TurretController/>35 </controller>36 <?lua37 include("../includes/weaponSettingsTurret.oxi")38 ?>39 </Turret>40 29 </attached> 41 30 … … 50 39 </Template> 51 40 41 42 43 <Template name=towerturret> 44 <TowerDefenseTower 45 46 47 explosionchunks = 6 48 49 reloadrate = 3 50 reloadwaittime = 1 51 52 collisionType = "dynamic" 53 team = 1 54 55 56 > 57 <attached> 58 59 <Model position="0,0,0" scale=45 mesh="Tower.mesh" /> 60 <Turret collisionType="dynamic" position="0,0,10" direction="0,0,1" pitch="0" yaw="0" roll="0" angularDamping=0.999999 mass=100 maxPitch=90 maxYaw=90 maxAttackRadius=1000 minAttackRadius=30> 61 62 <controller> 63 <TurretController/> 64 </controller> 65 <?lua 66 include("../includes/weaponSettingsTurret.oxi") 67 ?> 68 </Turret> 69 </attached> 70 71 72 73 74 <!--collisionShapes> 75 76 </collisionShapes--> 77 78 <?lua 79 include("../includes/towerWeaponSettings.oxi") 80 ?> 81 </TowerDefenseTower> 82 </Template> -
code/branches/towerdefenseHS14/data/levels/towerDefense.oxw
r10141 r10144 22 22 include("templates/tower.oxt") 23 23 include("templates/enemytowerdefense.oxt") 24 include("templates/standardTurret.oxt") 24 25 ?> 25 26 26 27 <!-- Specify the position of the camera --> 27 28 <Template name=centerpointmarkcamera defaults=0> 28 <Pawn >29 <Pawn team=1> 29 30 <camerapositions> 30 31 <CameraPosition position="0,0,1500"/> … … 35 36 <!-- Loads a mesh to mark the center--> 36 37 <Template name=centerpointmark> 37 <Pawn camerapositiontemplate=centerpointmarkcamera>38 <Pawn team=1 camerapositiontemplate=centerpointmarkcamera> 38 39 <attached> 39 40 <Model position="0,0,0" mesh="cylinder.mesh" scale3D="1,1,1" /> <!-- the camera is attached to this --> … … 71 72 72 73 <!-- Spawns the camera, attached to a crate --> 73 <SpawnPoint team= 0position="0,0,0" spawnclass=Pawn pawndesign=centerpointmark />74 <SpawnPoint team=1 position="0,0,0" spawnclass=Pawn pawndesign=centerpointmark /> 74 75 <!--TeamSpawnPoint team=1 position="-7,7,4" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /--> 75 76 … … 81 82 82 83 <!--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> 84 85 85 86 <attached> … … 118 119 collisionType=dynamic 119 120 mass=100000 121 team=1 120 122 /> 121 123 -
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.