Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/templates/spaceshipAssff.oxt @ 7679

Last change on this file since 7679 was 7679, checked in by dafrick, 13 years ago

Renaming levelfiles (and some other) according to our new naming conventions which is using camelCase, without '_' or spaces.

  • Property svn:eol-style set to native
File size: 6.2 KB
Line 
1<Template name=spaceshipassff>
2  <SpaceShip
3   hudtemplate            = spaceshiphud
4   camerapositiontemplate = spaceshipassffcameras
5   engine                 = spaceshipassffengine
6   spawnparticlesource    = "Orxonox/fairytwirl"
7   spawnparticleduration  = 3
8   explosionchunks        = 6
9
10   health            = 100
11   maxhealth         = 200
12   initialhealth     = 100
13
14   primaryThrust     = 100;
15   auxilaryThrust    = 30;
16   rotationThrust    = 25;
17
18   collisionType     = "dynamic"
19   mass              = 100
20   linearDamping     = 0.7
21   angularDamping    = 0.9999999
22  >
23    <attached>
24      <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" />
25      <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 />
26      <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 />
27    </attached>
28    <collisionShapes>
29      <BoxCollisionShape position="0,0,0"      halfExtents="10, 3, 5" />
30      <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
31      <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
32      <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
33      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
34      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
35    </collisionShapes>
36<?lua
37  include("includes/weaponSettings3.oxi")
38?>
39  </SpaceShip>
40</Template>
41
42<Template name=spaceshipassffcameras defaults=0>
43  <SpaceShip>
44    <camerapositions>
45      <CameraPosition position="0,10, 40" drag=true mouselook=true />
46      <CameraPosition position="0,20, 80" drag=true mouselook=true />
47      <CameraPosition position="0,30,120" drag=true mouselook=true />
48      <!--CameraPosition position="0,150,-25" pitch=-90 drag=true />
49      <CameraPosition position="0,0,-40" yaw=180 drag=true />
50      <CameraPosition position="0,3,-14" yaw=0 />
51      <CameraPosition position="-50,5,-8" yaw=-90 drag=true />
52      <CameraPosition position="50,5,-8" yaw=90 drag=true /-->
53    </camerapositions>
54  </SpaceShip>
55</Template>
56
57<Template name=spaceshipassffengine baseclass=MultiStateEngine>
58  <MultiStateEngine
59   boostfactor    = 2
60
61   speedfront     = 150
62   speedback      =  50
63   speedleftright =  50
64   speedupdown    =  50
65
66   defEngineSndNormal = "sounds/Engine_low.ogg"
67   defEngineSndBoost = "sounds/Engine_high.ogg"
68
69   accelerationfront     = 500
70   accelerationbrake     = 500
71   accelerationback      =  125
72   accelerationleftright =  125
73   accelerationupdown    =  125
74  >
75    <EffectContainer condition="idle">
76      <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/>
77    </EffectContainer>
78    <EffectContainer condition="not idle">
79      <FadingBillboard mainstate=activity active=false scale=0.1 position="0, 0, 9" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
80<!--
81      <Light mainstate=visibility position=" 8, 0, 8" diffuse="0.3, 0.6, 1.0" specular="0.3, 0.6, 1.0" attenuation="600, 1.0, 0.007, 0.0002" type=point />
82      <Light mainstate=visibility position="-8, 0, 8" diffuse="0.3, 0.6, 1.0" specular="0.3, 0.6, 1.0" attenuation="600, 1.0, 0.007, 0.0002" type=point />
83-->
84    </EffectContainer>
85    <EffectContainer condition="normal or brake">
86
87    </EffectContainer>
88    <EffectContainer condition="normal or boost">
89      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
90      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
91    </EffectContainer>
92    <EffectContainer condition="boost">
93      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
94      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
95    </EffectContainer>
96    <EffectContainer condition="brake">
97      <FadingBillboard mainstate=activity active=false scale=0.3 position=" 8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
98      <FadingBillboard mainstate=activity active=false scale=0.3 position="-8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
99      <FadingBillboard mainstate=activity active=false scale=0.15 position=" 8, 0, 6" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
100      <FadingBillboard mainstate=activity active=false scale=0.15 position="-8, 0, 6" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
101    </EffectContainer>
102  </MultiStateEngine>
103</Template>
104
105<!--Template name=spaceshippirate>
106  <SpaceShip
107   health            = 100
108   maxhealth         = 200
109   initialhealth     = 100
110
111   maxspeed          = 250
112   maxsecondaryspeed = 50
113   maxrotation       = 100
114   transacc          = 200
115   rotacc            = 140
116   transdamp         = 75
117  >
118    <attached>
119      <Model position="0,-10,-45" yaw=90 pitch=-90 roll=0 scale=4 mesh="pirate.mesh" />
120    </attached>
121  </SpaceShip>
122</Template>
123
124<Template name=spaceshipspacecruiser>
125  <SpaceShip
126   health            = 100
127   maxhealth         = 200
128   initialhealth     = 100
129
130   maxspeed          = 250
131   maxsecondaryspeed = 50
132   maxrotation       = 100
133   transacc          = 200
134   rotacc            = 140
135   transdamp         = 75
136  >
137    <attached>
138      <Model position="8,-30,-120" yaw=90 pitch=-90 roll=0 scale=4 mesh="spacecruiser.mesh" />
139    </attached>
140  </SpaceShip>
141</Template-->
Note: See TracBrowser for help on using the repository browser.