- Timestamp:
- Oct 19, 2015, 10:07:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/data/levels/Campaign1.oxw
r10667 r10674 35 35 36 36 <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> 37 37 38 38 <!--QUEST DEFINITIONS--> 39 39 … … 117 117 118 118 <!--EVENTS--> 119 120 119 121 120 <EventMultiTrigger name=spawntrigger> 122 121 <events> 123 122 <trigger> 124 <SpawnPoint team= 0position="-50,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />123 <SpawnPoint team=1 position="-50,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 /> 125 124 </trigger> 126 125 </events> … … 152 151 </QuestEffectBeacon> 153 152 154 <!--STRUCTURE --> 153 <!--STRUCTURE --> 155 154 156 155 <StaticEntity position="-2500,0,1800" direction="0,-1,0" collisionType=static mass=100000 friction=0.01 > 157 <attached> 158 <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" /> 159 </attached> 160 <collisionShapes> 161 <BoxCollisionShape position="0,0,0" halfExtents="10,10,10" /> 162 </collisionShapes> 156 <attached> 157 <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" /> 158 </attached> 159 <collisionShapes> 160 <BoxCollisionShape position="0,0,0" halfExtents="10,10,10" /> 161 </collisionShapes> 163 162 </StaticEntity> 164 163 165 164 <StaticEntity position="-2500,0,-1800" direction="0,-1,0" collisionType=static mass=100000 friction=0.01 > 166 <attached> 167 <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" /> 168 </attached> 169 <collisionShapes> 170 <BoxCollisionShape position="0,0,0" halfExtents="10,10,10" /> 171 </collisionShapes> 165 <attached> 166 <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" /> 167 </attached> 168 <collisionShapes> 169 <BoxCollisionShape position="0,0,0" halfExtents="10,10,10" /> 170 </collisionShapes> 172 171 </StaticEntity> 173 172 … … 177 176 max = 5 178 177 for i = 1, max, 1 179 do 178 do 180 179 x = math.cos(math.pi/8*(i+1))*1500 181 180 y = math.sin(math.pi/8*(i+1))*1500 182 181 ?> 183 <SpaceShip position="<?lua print(y)?>,<?lua print(math.pow(-1,i)*250) ?>,<?lua print(x)?>" lookat="0,0,0" team= 1>182 <SpaceShip position="<?lua print(y)?>,<?lua print(math.pow(-1,i)*250) ?>,<?lua print(x)?>" lookat="0,0,0" team=2> 184 183 <templates> 185 184 <Template link=spaceshippirate /> 186 185 </templates> 187 186 <controller> 187 <WaypointPatrolController alertnessradius=600 team=1> 188 <waypoints> 189 <Attacher target="transporter" deletewithparent=false /> 190 </waypoints> 191 </WaypointPatrolController> 192 </controller> 188 193 </SpaceShip> 189 194 <?lua end ?> 190 195 191 <SpaceShip position="-2500,0,1700" lookat="-2500,0,-1800" team= 0>196 <SpaceShip position="-2500,0,1700" lookat="-2500,0,-1800" team=1 name="transporter"> 192 197 <templates> 193 198 <Template link=spaceshipTransporter /> … … 216 221 </Scene> 217 222 </Level> 218
Note: See TracChangeset
for help on using the changeset viewer.