Changeset 8257 for code/branches/dockingsystem2/data/levels
- Timestamp:
- Apr 18, 2011, 4:35:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/dockingsystem2/data/levels/docking.oxw
r8206 r8257 30 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 33 <Destroyer 32 33 <Dock position="-50,-100,50"> 34 <effects> 35 <DockToShip target="asdf" /> 36 </effects> 37 <events> 38 <execute> 39 <EventListener event="dockMe" /> 40 </execute> 41 </events> 42 <attached> 43 <DistanceTrigger position="0,0,0" distance="20" target="Pawn" beaconMode="exclude" targetname="beacon1" name="dockMe" /> 44 <Billboard material="Examples/Flare" colour="1.0, 0, 0" /> 45 </attached> 46 </Dock> 47 48 49 <SpaceShip 50 hudtemplate = spaceshiphud 51 camerapositiontemplate = spaceshipassffcameras 52 engine = spaceshipassffengine 53 spawnparticlesource = "Orxonox/fairytwirl" 54 spawnparticleduration = 3 55 explosionchunks = 6 56 57 health = 100 58 maxhealth = 200 59 initialhealth = 100 60 61 primaryThrust = 100; 62 auxilaryThrust = 30; 63 rotationThrust = 25; 64 65 collisionType = "dynamic" 66 mass = 100 67 linearDamping = 0.7 68 angularDamping = 0.9999999 69 > 70 <attached> 71 <DistanceTriggerBeacon name="beacon1" /> 72 <DockingTarget name="asdf" /> 73 74 <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="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--> 78 </attached> 79 <collisionShapes> 80 <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> 81 <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> 82 <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> 83 <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> 84 <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> 85 <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> 86 </collisionShapes> 87 <?lua 88 include("includes/weaponSettingsAssff.oxi") 89 ?> 90 </SpaceShip> 91 92 93 <!-- <Destroyer 34 94 position = "100,150,0" 35 95 collisionType = dynamic … … 43 103 44 104 <attached> 45 <Dock> 46 <effects> 47 <DockToShip /> 48 </effects> 49 <events> 50 <execute> 51 <EventListener event="dockMe" /> 52 </execute> 53 </events> 54 <attached> 55 <DistanceTrigger position="0,0,0" distance="20" target="Pawn" beaconMode="exclude" targetname="beacon1" name="dockMe" /> 56 <Billboard material="Examples/Flare" colour="1.0, 0, 0" /> 57 </attached> 58 </Dock> 105 59 106 <DistanceTriggerBeacon name="beacon1" /> 60 107 <DockingTarget name="asdf" /> 108 109 61 110 <TeamSpawnPoint team=1 position="150,0,7" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /> 62 111 <TeamSpawnPoint team=1 position="0,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /> … … 145 194 </collisionShapes> 146 195 </Destroyer> 147 196 //--> 148 197 149 198 </Scene>
Note: See TracChangeset
for help on using the changeset viewer.