Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/templates/spaceshipH2.oxt @ 7962

Last change on this file since 7962 was 7679, checked in by dafrick, 14 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: 4.3 KB
RevLine 
[5528]1<Template name=spaceshipHtwo>
2  <SpaceShip
3   hudtemplate            = spaceshiphud
4   camerapositiontemplate = spaceshipHtwocameras
[5573]5   engine                 = spaceshipHtwoengine
[5528]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
24<?lua
[7679]25  include("includes/weaponSettingsH2.oxi")
[5528]26?>
27
28    <attached>
29      <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale3D="3,0.833,0.833" mesh="h2_green.mesh" />
[5573]30      <BlinkingBillboard position=" 11.7,4.0,8.5" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 />
31      <BlinkingBillboard position="-11.7,4.0,8.5" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 />
[5528]32    </attached>
33    <collisionShapes>
34      <BoxCollisionShape position="0,0,0"      halfExtents="10, 3, 5" />
35      <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
36      <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
37      <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
38      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
39      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
40    </collisionShapes>
41
42  </SpaceShip>
43</Template>
44
45<Template name=spaceshipHtwocameras defaults=0>
46  <SpaceShip>
47    <camerapositions>
48      <CameraPosition position="0,10, 40" drag=true mouselook=true />
49      <CameraPosition position="0,20, 80" drag=true mouselook=true />
50      <CameraPosition position="0,30,120" drag=true mouselook=true />
51    </camerapositions>
52  </SpaceShip>
53</Template>
54
55<Template name=spaceshipHtwoengine baseclass=MultiStateEngine>
56  <MultiStateEngine
57   boostfactor    = 2
58
59   speedfront     = 150
60   speedback      =  50
61   speedleftright =  50
62   speedupdown    =  50
63
64   accelerationfront     = 500
65   accelerationbrake     = 500
66   accelerationback      =  125
67   accelerationleftright =  125
68   accelerationupdown    =  125
69  >
[5573]70    <active>
71      <FadingBillboard mainstate=activity active=false scale=0.05 position=" 0.0, 2.0, 12.0" colour="0.0, 0.65, 0.0, 0.5" material="Examples/FlareZwei_1" turnontime=0.5 turnofftime=0.5 />
72      <FadingBillboard mainstate=activity active=false scale=0.05 position=" 3.8, 7.5, 11.0" colour="1.0, 1.00, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
73      <FadingBillboard mainstate=activity active=false scale=0.05 position="-3.8, 7.5, 11.0" colour="1.0, 1.00, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
74      <FadingBillboard mainstate=activity active=false scale=0.05 position=" 3.5, 0.0,-10.8" colour="1.0, 1.00, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
75      <FadingBillboard mainstate=activity active=false scale=0.05 position="-3.5, 0.0,-10.8" colour="1.0, 1.00, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
[5528]76    </active>
77    <forward>
[5573]78      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.06, 1.66, 11.6" colour="0, 0.65, 0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
79      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.26, 1.66, 11.6" colour="0, 0.65, 0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
[5528]80    </forward>
81    <boost>
[5573]82      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.06, 1.66, 11.6" colour="0.5, 0.85, 0.5, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
83      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.26, 1.66, 11.6" colour="0.5, 0.85, 0.5, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
[5528]84    </boost>
85  </MultiStateEngine>
86</Template>
87
Note: See TracBrowser for help on using the repository browser.