Changeset 7163 for code/trunk/data/levels/gametype_underattack.oxw
- Timestamp:
- Aug 11, 2010, 8:55:13 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/data/levels/gametype_underattack.oxw
r5781 r7163 4 4 include("underattackhud.oxo") 5 5 include("templates/spaceship_assff.oxt") 6 include("templates/lodinformation.oxt") 6 7 ?> 7 8 … … 11 12 gametype = UnderAttack 12 13 > 14 <templates> 15 <Template link=lodtemplate_default /> 16 </templates> 17 13 18 <Scene 14 19 ambientlight = "0.5, 0.5, 0.5" … … 18 23 19 24 <?lua for i = 1, 30, 1 do ?> 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 25 <MovableEntity 26 position="<?lua print(math.random() * 10000 - 5000) ?>, <?lua print(math.random() * 10000 - 5000) ?>, <?lua print(math.random() * 10000 - 5000) ?>" 27 velocity="<?lua print(math.random() * 500 - 250) ?>, <?lua print(math.random() * 500 - 250) ?>, <?lua print(math.random() * 500 - 250) ?>" 28 > 29 <attached> 30 <Model 31 <?lua x = math.random() * 150 + 30 ?> 32 scale="<?lua print(x) ?>" 33 mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" 34 position="0,0,0" 35 /> 36 </attached> 37 <collisionShapes> 38 <SphereCollisionShape radius=<?lua print(x) ?> position="0,0,0" /> 39 </collisionShapes> 40 </MovableEntity> 36 41 <?lua end ?> 37 42 38 43 <Destroyer 39 40 41 42 43 44 45 46 44 position = "100,150,0" 45 collisionType = dynamic 46 mass = 100000 47 velocity = "-35,0,0" 48 angularDamping = 0.9999999 49 health = 10000 50 maxhealth = 10000 51 initialhealth = 10000 47 52 > 48 53 49 50 51 52 53 54 55 56 57 58 59 60 61 62 54 <attached> 55 <TeamSpawnPoint team=1 position="150,0,7" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /> 56 <TeamSpawnPoint team=1 position="0,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /> 57 <TeamSpawnPoint team=1 position="-50,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /> 58 <TeamSpawnPoint team=1 position="100,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /> 59 <TeamSpawnPoint team=1 position="50,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /> 60 <?lua for i = 1, 100, 1 do ?> 61 <TeamSpawnPoint 62 team=0 63 position="<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>" 64 lookat="0,0,0" 65 spawnclass=SpaceShip 66 pawndesign=spaceshipassff 67 /> 63 68 64 65 66 67 68 69 70 71 72 69 <!--more spawnpoints for team1--> 70 <!-- 71 <TeamSpawnPoint 72 team=1 position="<?lua print((math.random() * 500 + 500)) ?>,<?lua print((math.random() * 500 + 500) ) ?>,<?lua print((math.random() * 500 + 500)) ?>" 73 lookat="0,0,0" 74 spawnclass=SpaceShip 75 pawndesign=spaceshipassff 76 />--> 77 <?lua end ?> 73 78 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 79 <Model mesh="Carrier.mesh" scale="5" /> 80 <Backlight 81 mainstate=activity 82 active=false 83 scale=0.4 84 name=bltest 85 position=" 7.6, 0, 6" 86 colour="0.2, 0.65, 1.0, 1.0" 87 width=15 88 length=1500 89 lifetime=2 90 elements=50 91 trailmaterial="Trail/backlighttrail" 92 turnontime=1 93 turnofftime=1 94 material="Flares/ThrusterFlare1" 95 /> 96 <?lua for i=0,8,1 do ?> 97 <BlinkingBillboard 98 position="<?lua print(200-270/8*i)?> ,15,2" 99 material="Examples/Flare" 100 colour="1.0, 0.5, 0.3" 101 phase=<?lua print(-360/8*i)?> 102 amplitude=0.1 103 frequency=0.5 104 quadratic=1 105 /> 101 106 102 103 104 105 106 107 108 109 110 111 107 <BlinkingBillboard 108 position="<?lua print(200-270/8*i)?>,-15,2" 109 material="Examples/Flare" 110 colour="1.0, 0.5, 0.3" 111 phase=<?lua print(-360/8*i)?> 112 amplitude=0.1 113 frequency=0.5 114 quadratic=1 115 /> 116 <?lua end ?> 112 117 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 118 <Backlight 119 scale=1 120 position=" 169, 75, -15" 121 colour="1, 0.85, 0.5, 0.5" 122 width=40 123 length=1000 124 lifetime=5 125 elements=15 126 trailmaterial="Trail/backlighttrail" 127 material="Examples/Flare" 128 /> 129 <Backlight 130 scale=1 131 position=" 169, -75, -15" 132 colour="1, 0.85, 0.5, 0.5" 133 width=40 134 length=1000 135 lifetime=5 136 elements=15 137 trailmaterial="Trail/backlighttrail" 138 material="Examples/Flare" /> 139 </attached> 140 <collisionShapes> 141 <BoxCollisionShape position="70,0,-25" halfExtents="150, 50, 25" /> 142 <BoxCollisionShape position="95,75,-16" halfExtents="70, 10, 12" /> 143 <BoxCollisionShape position="95,-75,-16" halfExtents="70, 10, 12" /> 144 <BoxCollisionShape position="77,47,30" halfExtents="110, 2, 30" /> 145 <BoxCollisionShape position="77,-47,30" halfExtents="110, 2, 30" /> 146 <BoxCollisionShape position="77,0,50" halfExtents="110, 45, 6" /> 147 <BoxCollisionShape position="167,0,70" halfExtents="17, 20, 20" /> 148 </collisionShapes> 144 149 </Destroyer> 145 150 … … 158 163 </collisionShapes> 159 164 </StaticEntity> 165 160 166 </Scene> 161 167 </Level>
Note: See TracChangeset
for help on using the changeset viewer.