Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/network6/data/levels/templates/spaceshipHXYSL.oxt @ 7957

Last change on this file since 7957 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.1 KB
Line 
1<Template name=spaceshipHXYSL>
2  <SpaceShip
3   hudtemplate            = spaceshiphud
4   camerapositiontemplate = spaceshipHXYcameras
5   engine                 = spaceshipHXYengine
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=180 pitch=-90 roll=0 scale=4 mesh="HXY.mesh" />
25    </attached>
26    <collisionShapes>
27      <BoxCollisionShape position="0,0,0"      halfExtents="10, 3, 5" />
28      <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
29      <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
30      <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
31      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
32      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
33    </collisionShapes>
34
35<?lua
36  include("includes/weaponSettingsHXY.oxi")
37?>
38  </SpaceShip>
39</Template>
40
41<Template name=spaceshipHXYcameras defaults=0>
42  <SpaceShip>
43    <camerapositions>
44      <CameraPosition position="0,8, 60" drag=true mouselook=true />
45      <CameraPosition position="0,16, 120" drag=true mouselook=true />
46      <CameraPosition position="0,24,180" drag=true mouselook=true />
47      <CameraPosition position="0,60,10" pitch="-80" drag=true mouselook=true />
48    </camerapositions>
49  </SpaceShip>
50</Template>
51
52<Template name=spaceshipHXYengine baseclass=MultiStateEngine>
53  <MultiStateEngine
54   boostfactor    = 6
55
56   speedfront     = 150
57   speedback      =  50
58   speedleftright =  50
59   speedupdown    =  50
60
61   accelerationfront     = 500
62   accelerationbrake     = 500
63   accelerationback      =  125
64   accelerationleftright =  125
65   accelerationupdown    =  125
66  >
67    <EffectContainer condition="idle">
68    </EffectContainer>
69    <EffectContainer condition="not idle">
70
71    </EffectContainer>
72    <EffectContainer condition="normal or brake">
73
74    </EffectContainer>
75    <EffectContainer condition="normal or boost">
76      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 2, 0, 20" colour="1, 0.7, 0.1, 1.0" width=10 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
77      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-2, 0, 20" colour="1, 0.7, 0.1, 1.0" width=10 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
78    </EffectContainer>
79    <EffectContainer condition="boost">
80      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 2, 0, 20" colour="1, 0.7, 0.1, 0.7" width=25 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
81      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-2, 0, 20" colour="1, 0.7, 0.1, 0.7" width=25 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
82    </EffectContainer>
83    <EffectContainer condition="brake">
84      <FadingBillboard mainstate=activity active=false scale=0.3 position=" 2, 0, 20" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
85      <FadingBillboard mainstate=activity active=false scale=0.3 position="-2, 0, 20" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
86      <FadingBillboard mainstate=activity active=false scale=0.15 position=" 2, 0, 20" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
87      <FadingBillboard mainstate=activity active=false scale=0.15 position="-2, 0, 20" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
88    </EffectContainer>
89  </MultiStateEngine>
90</Template>
Note: See TracBrowser for help on using the repository browser.