Changeset 8382 for code/branches/dockingsystem2/data
- Timestamp:
- May 2, 2011, 4:16:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/dockingsystem2/data/levels/docking.oxw
r8257 r8382 17 17 > 18 18 <templates> 19 <Template link= lodtemplate_default/>19 <Template link="lodtemplate_default" /> 20 20 </templates> 21 21 … … 25 25 > 26 26 27 <Light type= directionalposition="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" />27 <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" /> 28 28 29 29 <?lua for i = 1, 10, 1 do ?> 30 <SpawnPoint position="<?lua print(math.random() * 500 - 250) ?>,<?lua print(math.random() * 500 - 250) ?>,<?lua print(math.random() * 500 - 250) ?>" lookat="0,0,0" spawnclass= SpaceShip pawndesign=spaceshipassff/>30 <SpawnPoint position="<?lua print(math.random() * 500 - 250) ?>,<?lua print(math.random() * 500 - 250) ?>,<?lua print(math.random() * 500 - 250) ?>" lookat="0,0,0" spawnclass="SpaceShip" pawndesign="spaceshipassff" /> 31 31 <?lua end ?> 32 32 33 33 <Dock position="-50,-100,50"> 34 34 <effects> 35 <DockToShip target=" asdf" />35 <DockToShip target="theDestroyer" /> 36 36 </effects> 37 37 <events> … … 41 41 </events> 42 42 <attached> 43 <DistanceTrigger position="0,0,0" distance="20" target="Pawn" beaconMode="exclude" targetname=" beacon1" name="dockMe" />43 <DistanceTrigger position="0,0,0" distance="20" target="Pawn" beaconMode="exclude" targetname="destroyerBeacon" name="dockMe" /> 44 44 <Billboard material="Examples/Flare" colour="1.0, 0, 0" /> 45 45 </attached> … … 47 47 48 48 49 50 49 51 <SpaceShip 50 hudtemplate = spaceshiphud51 camerapositiontemplate = spaceshipassffcameras52 engine = spaceshipassffengine52 hudtemplate = "spaceshiphud" 53 camerapositiontemplate = "spaceshipassffcameras" 54 engine = "spaceshipassffengine" 53 55 spawnparticlesource = "Orxonox/fairytwirl" 54 spawnparticleduration = 355 explosionchunks = 656 57 health = 10058 maxhealth = 20059 initialhealth = 10060 61 primaryThrust = 100;62 auxilaryThrust = 30;63 rotationThrust = 25;56 spawnparticleduration = "3" 57 explosionchunks = "6" 58 59 health = "100" 60 maxhealth = "200" 61 initialhealth = "100" 62 63 primaryThrust = "100;" 64 auxilaryThrust = "30;" 65 rotationThrust = "25;" 64 66 65 67 collisionType = "dynamic" 66 mass = 10067 linearDamping = 0.768 angularDamping = 0.999999968 mass = "100" 69 linearDamping = "0.7" 70 angularDamping = "0.9999999" 69 71 > 70 72 <attached> … … 72 74 <DockingTarget name="asdf" /> 73 75 74 <Model position="0,0,0" yaw= 90 pitch=-90 roll=0 scale=4mesh="assff.mesh" />75 <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude= 0.1 frequency=0.5 quadratic=1/>76 <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude= 0.1 frequency=0.5 phase=180 quadratic=1/>77 <DistanceTriggerBeacon name="PlayerDistanceTrigger" /> <!--added DistanceTrigger-->76 <Model position="0,0,0" yaw="90" pitch="-90" roll="0" scale="4" mesh="assff.mesh" /> 77 <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude="0.1" frequency="0.5" quadratic="1" /> 78 <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude="0.1" frequency="0.5" phase="180" quadratic="1" /> 79 <DistanceTriggerBeacon name="PlayerDistanceTrigger" /> 78 80 </attached> 79 81 <collisionShapes> … … 90 92 </SpaceShip> 91 93 92 93 <!-- <Destroyer 94 95 96 97 <Destroyer 94 98 position = "100,150,0" 95 collisionType = dynamic96 mass = 10000099 collisionType = "dynamic" 100 mass = "100000" 97 101 velocity = "0,0,0" 98 angularDamping = 0.999999999 health = 10000100 maxhealth = 10000101 initialhealth = 10000102 angularDamping = "0.9999999" 103 health = "10000" 104 maxhealth = "10000" 105 initialhealth = "10000" 102 106 > 103 107 104 108 <attached> 105 106 <DistanceTriggerBeacon name=" beacon1" />107 <DockingTarget name=" asdf" />108 109 110 <TeamSpawnPoint team= 1 position="150,0,7" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff/>111 <TeamSpawnPoint team= 1 position="0,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff/>112 <TeamSpawnPoint team= 1 position="-50,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff/>113 <TeamSpawnPoint team= 1 position="100,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff/>114 <TeamSpawnPoint team= 1 position="50,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff/>109 110 <DistanceTriggerBeacon name="destroyerBeacon" /> 111 <DockingTarget name="theDestroyer" /> 112 113 114 <TeamSpawnPoint team="1" position="150,0,7" direction="-1,0,0" roll="90" yaw="0" spawnclass="SpaceShip" pawndesign="spaceshipassff" /> 115 <TeamSpawnPoint team="1" position="0,0,7" lookat="-1,0,0" roll="90" yaw="0" spawnclass="SpaceShip" pawndesign="spaceshipassff" /> 116 <TeamSpawnPoint team="1" position="-50,0,7" lookat="-1,0,0" roll="90" yaw="0" spawnclass="SpaceShip" pawndesign="spaceshipassff" /> 117 <TeamSpawnPoint team="1" position="100,0,7" lookat="-1,0,0" roll="90" yaw="0" spawnclass="SpaceShip" pawndesign="spaceshipassff" /> 118 <TeamSpawnPoint team="1" position="50,0,7" lookat="-1,0,0" roll="90" yaw="0" spawnclass="SpaceShip" pawndesign="spaceshipassff" /> 115 119 <?lua for i = 1, 100, 1 do ?> 116 120 <TeamSpawnPoint 117 team= 0121 team="0" 118 122 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)) ?>" 119 123 lookat="0,0,0" 120 spawnclass= SpaceShip121 pawndesign= spaceshipassff124 spawnclass="SpaceShip" 125 pawndesign="spaceshipassff" 122 126 /> 123 127 <?lua end ?> … … 125 129 <Model mesh="Carrier.mesh" scale="5" /> 126 130 <Backlight 127 mainstate= activity128 active= false129 scale= 0.4130 name= bltest131 mainstate="activity" 132 active="false" 133 scale="0.4" 134 name="bltest" 131 135 position=" 7.6, 0, 6" 132 136 colour="0.2, 0.65, 1.0, 1.0" 133 width= 15134 length= 1500135 lifetime= 2136 elements= 50137 width="15" 138 length="1500" 139 lifetime="2" 140 elements="50" 137 141 trailmaterial="Trail/backlighttrail" 138 turnontime= 1139 turnofftime= 1142 turnontime="1" 143 turnofftime="1" 140 144 material="Flares/ThrusterFlare1" 141 145 /> 146 <Backlight 147 scale="1" 148 position=" 169, 75, -15" 149 colour="1, 0.85, 0.5, 0.5" 150 width="40" 151 length="1000" 152 lifetime="5" 153 elements="15" 154 trailmaterial="Trail/backlighttrail" 155 material="Examples/Flare" 156 /> 157 <Backlight 158 scale="1" 159 position=" 169, -75, -15" 160 colour="1, 0.85, 0.5, 0.5" 161 width="40" 162 length="1000" 163 lifetime="5" 164 elements="15" 165 trailmaterial="Trail/backlighttrail" 166 material="Examples/Flare" 167 /> 142 168 <?lua for i=0,8,1 do ?> 143 169 <BlinkingBillboard … … 146 172 colour="1.0, 0.5, 0.3" 147 173 phase="<?lua print(-360/8*i)?>" 148 amplitude= 0.1149 frequency= 0.5150 quadratic= 1174 amplitude="0.1" 175 frequency="0.5" 176 quadratic="1" 151 177 /> 152 178 … … 156 182 colour="1.0, 0.5, 0.3" 157 183 phase="<?lua print(-360/8*i)?>" 158 amplitude= 0.1159 frequency= 0.5160 quadratic= 1184 amplitude="0.1" 185 frequency="0.5" 186 quadratic="1" 161 187 /> 162 188 <?lua end ?> 163 189 164 <Backlight165 scale=1166 position=" 169, 75, -15"167 colour="1, 0.85, 0.5, 0.5"168 width=40169 length=1000170 lifetime=5171 elements=15172 trailmaterial="Trail/backlighttrail"173 material="Examples/Flare"174 />175 <Backlight176 scale=1177 position=" 169, -75, -15"178 colour="1, 0.85, 0.5, 0.5"179 width=40180 length=1000181 lifetime=5182 elements=15183 trailmaterial="Trail/backlighttrail"184 material="Examples/Flare" />185 190 </attached> 186 191 <collisionShapes> … … 193 198 <BoxCollisionShape position="167,0,70" halfExtents="17, 20, 20" /> 194 199 </collisionShapes> 200 195 201 </Destroyer> 196 //-->197 202 198 203 </Scene>
Note: See TracChangeset
for help on using the changeset viewer.