1 | <templates> |
---|
2 | |
---|
3 | |
---|
4 | <Template name = endurance> |
---|
5 | |
---|
6 | <!-- Spaceship parameters --> |
---|
7 | <SpaceShip |
---|
8 | hudtemplate = spaceshiphud |
---|
9 | camerapositiontemplate = bigshipcameras |
---|
10 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
11 | spawnparticleduration = 3 |
---|
12 | explosionchunks = 6 |
---|
13 | |
---|
14 | health = 100 |
---|
15 | maxhealth = 200 |
---|
16 | initialhealth = 100 |
---|
17 | |
---|
18 | shieldhealth = 100 |
---|
19 | initialshieldhealth = 30 |
---|
20 | maxshieldhealth = 50 |
---|
21 | shieldabsorption = 0.8 |
---|
22 | shieldrechargerate = 1 |
---|
23 | shieldrechargewaittime = 1 |
---|
24 | |
---|
25 | primaryThrust = 30 |
---|
26 | auxilaryThrust = 30 |
---|
27 | rotationThrust = 10 |
---|
28 | |
---|
29 | lift = 1; |
---|
30 | stallSpeed = 220; |
---|
31 | |
---|
32 | boostPower = 30 |
---|
33 | boostPowerRate = 1.5 |
---|
34 | boostRate = 4 |
---|
35 | boostCooldownDuration = 10 |
---|
36 | |
---|
37 | shakeFrequency = 15 |
---|
38 | shakeAmplitude = 9 |
---|
39 | |
---|
40 | collisionType = "dynamic" |
---|
41 | mass = 1000 |
---|
42 | linearDamping = 0.7 |
---|
43 | angularDamping = 0.9999999 |
---|
44 | > |
---|
45 | |
---|
46 | |
---|
47 | <!-- Engines of the Spaceship --> |
---|
48 | |
---|
49 | <engines> |
---|
50 | <MultiStateEngine position=" 15, 0, 0" template=bigshipengine /> |
---|
51 | <MultiStateEngine position="-15, 0, 0" template=bigshipengine /> |
---|
52 | </engines> |
---|
53 | |
---|
54 | <!-- Testsphere in testlevel --> |
---|
55 | |
---|
56 | <MovableEntity position ="0, 0, 0" velocity= "10, 0, 0" collisionType=dynamic mass=1000 friction=0.01 > |
---|
57 | |
---|
58 | <!-- use attached for the different spaceship parts and the lights --> |
---|
59 | <!-- BlinkingBillboard class for blinking lights --> |
---|
60 | <attached> |
---|
61 | <Model position="0,0,0" mesh="sphere.mesh" scale3D="100,100,100" /> |
---|
62 | </attached> |
---|
63 | |
---|
64 | <!-- Collision Shapes --> |
---|
65 | |
---|
66 | <collisionShapes> |
---|
67 | <SphereCollisionShape position="0,0,0" radius="100" /> |
---|
68 | </collisionShapes> |
---|
69 | </MovableEntity> |
---|
70 | |
---|
71 | <!-- Explosion and Explosionparts --> |
---|
72 | |
---|
73 | <!-- Cameras and Cameraposition --> |
---|
74 | |
---|
75 | <!-- Multistateengine definition + engine sounds --> |
---|
76 | |
---|
77 | <!-- Large coordinate axis --> |
---|
78 | <Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/> |
---|
79 | |
---|
80 | <!-- Spawnpoint of the Spaceship --> |
---|
81 | <SpawnPoint team=0 position = "-100,0,0" lookat="0,0,0" spawnclass=Spaceship pawndesign=spaceshippirate /> |
---|
82 | |
---|
83 | <!-- Planets and forcefields --> |
---|
84 | |
---|
85 | |
---|
86 | <!-- Blacklight to illuminate surfaces --> |
---|
87 | |
---|
88 | |
---|
89 | |
---|
90 | <!-- Egine sound of the Spaceship --> |
---|
91 | <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/> |
---|
92 | |
---|
93 | <!-- World Ambient Sound --> |
---|
94 | |
---|
95 | |
---|
96 | |
---|
97 | </Spaceship> |
---|
98 | </Template> |
---|
99 | </templates> |
---|