Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/levels/spaceshiptemplates3.oxw @ 5321

Last change on this file since 5321 was 5286, checked in by landauf, 16 years ago

SpaceShip HUD

  • Property svn:eol-style set to native
File size: 4.6 KB
Line 
1<Template name=spaceshipassff>
2  <SpaceShip
3   hudtemplate            = spaceshiphud
4   camerapositiontemplate = spaceshipassffcameras
5   engine                 = spaceshipassffengine
6
7   health            = 100
8   maxhealth         = 200
9   initialhealth     = 100
10
11   maxrotation       = 100
12   rotacc            = 140
13   transdamp         = 50
14  >
15    <attached>
16      <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" />
17      <!--Light position="0,0,20" diffuse="0,0,1" specular="0,0,1" type=point /-->
18      <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 />
19      <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 />
20      <!--ParticleEmitter position="0,0,-100" source="Orxonox/smoke5" /-->
21    </attached>
22  </SpaceShip>
23</Template>
24
25<Template name=spaceshipassffcameras defaults=0>
26  <SpaceShip>
27    <camerapositions>
28      <CameraPosition position="0,10,40" />
29      <CameraPosition position="0,150,-25" pitch=-90 />
30      <CameraPosition position="0,0,-30" yaw=180 />
31      <CameraPosition position="0,3,-14" yaw=0 />
32      <CameraPosition position="-50,5,-8" yaw=-90 />
33      <CameraPosition position="50,5,-8" yaw=90 />
34    </camerapositions>
35  </SpaceShip>
36</Template>
37
38<Template name=spaceshipassffengine baseclass=MultiStateEngine>
39  <MultiStateEngine
40   boostfactor    = 2
41
42   speedfront     = 150
43   speedback      =  50
44   speedleftright =  50
45   speedupdown    =  50
46
47   accelerationfront     = 100
48   accelerationbrake     = 100
49   accelerationback      =  25
50   accelerationleftright =  25
51   accelerationupdown    =  25
52  >
53    <active>
54      <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 />
55    </active>
56    <forward>
57      <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" />
58      <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" />
59    </forward>
60    <boost>
61      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.8, 0.95, 1.0, 1.0" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
62      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.8, 0.95, 1.0, 1.0" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
63    </boost>
64    <brake>
65      <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 />
66      <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 />
67      <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 />
68      <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 />
69    </brake>
70  </MultiStateEngine>
71</Template>
72
73<!--Template name=spaceshippirate>
74  <SpaceShip
75   health            = 100
76   maxhealth         = 200
77   initialhealth     = 100
78
79   maxspeed          = 250
80   maxsecondaryspeed = 50
81   maxrotation       = 100
82   transacc          = 200
83   rotacc            = 140
84   transdamp         = 75
85  >
86    <attached>
87      <Model position="0,-10,-45" yaw=90 pitch=-90 roll=0 scale=4 mesh="pirate.mesh" />
88    </attached>
89  </SpaceShip>
90</Template>
91
92<Template name=spaceshipspacecruiser>
93  <SpaceShip
94   health            = 100
95   maxhealth         = 200
96   initialhealth     = 100
97
98   maxspeed          = 250
99   maxsecondaryspeed = 50
100   maxrotation       = 100
101   transacc          = 200
102   rotacc            = 140
103   transdamp         = 75
104  >
105    <attached>
106      <Model position="8,-30,-120" yaw=90 pitch=-90 roll=0 scale=4 mesh="spacecruiser.mesh" />
107    </attached>
108  </SpaceShip>
109</Template-->
Note: See TracBrowser for help on using the repository browser.