Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/environment/data/levels/old/spaceshiptemplates_physics.oxw @ 8150

Last change on this file since 8150 was 6417, checked in by rgrieder, 15 years ago

Merged presentation2 branch back to trunk.
Major new features:

  • Actual GUI with settings, etc.
  • Improved space ship steering (human interaction)
  • Rocket fire and more particle effects
  • Advanced sound framework
  • Property svn:eol-style set to native
File size: 2.8 KB
Line 
1<Template name=spaceshipassff>
2  <SpaceShip
3   camerapositiontemplate = spaceshipassffcameras
4
5   health            = 100
6   maxhealth         = 200
7   initialhealth     = 100
8
9   primaryThrust     = 100;
10   auxilaryThrust    = 30;
11   rotationThrust    = 10;
12
13   collisionType     = "dynamic"
14   mass              = 100
15   linearDamping     = 0.7
16   angularDamping    = 0.999
17   name              = "blubbbeliblubb"
18  >
19    <attached>
20      <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" />
21      <!--Light position="0,0,20" diffuse="0,0,1" specular="0,0,1" type=point /-->
22      <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 />
23      <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 />
24      <!--ParticleEmitter position="0,0,-100" source="Orxonox/smoke5" /-->
25    </attached>
26    <collisionShapes>
27      <!--SphereCollisionShape position="0,0,0"      radius=20 /-->
28      <BoxCollisionShape position="0,0,0"      halfExtents="10, 3, 5" />
29      <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
30      <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
31      <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
32      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
33      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
34    </collisionShapes>
35  </SpaceShip>
36</Template>
37
38<Template name=spaceshipassffcameras>
39  <SpaceShip>
40    <camerapositions>
41      <CameraPosition position="0,10,40" />
42      <CameraPosition position="0,150,-25" pitch=-90 />
43      <CameraPosition position="0,0,-30" yaw=180 />
44      <CameraPosition position="0,3,-14" yaw=0 />
45      <CameraPosition position="-50,5,-8" yaw=-90 />
46      <CameraPosition position="50,5,-8" yaw=90 />
47    </camerapositions>
48  </SpaceShip>
49</Template>
50
51<!--Template name=spaceshippirate>
52  <SpaceShip
53   health            = 100
54   maxhealth         = 200
55   initialhealth     = 100
56
57   maxspeed          = 250
58   maxsecondaryspeed = 50
59   maxrotation       = 100
60   transacc          = 200
61   rotacc            = 140
62   transdamp         = 75
63  >
64    <attached>
65      <Model position="0,-10,-45" yaw=90 pitch=-90 roll=0 scale=4 mesh="pirate.mesh" />
66    </attached>
67  </SpaceShip>
68</Template>
69
70<Template name=spaceshipspacecruiser>
71  <SpaceShip
72   health            = 100
73   maxhealth         = 200
74   initialhealth     = 100
75
76   maxspeed          = 250
77   maxsecondaryspeed = 50
78   maxrotation       = 100
79   transacc          = 200
80   rotacc            = 140
81   transdamp         = 75
82  >
83    <attached>
84      <Model position="8,-30,-120" yaw=90 pitch=-90 roll=0 scale=4 mesh="spacecruiser.mesh" />
85    </attached>
86  </SpaceShip>
87</Template-->
Note: See TracBrowser for help on using the repository browser.