Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/pickup2/data/levels/templates/spaceship_Transporter_SL.oxt @ 6554

Last change on this file since 6554 was 6412, checked in by dafrick, 15 years ago

Merged presentation2 branch into pickup2 branch.

  • Property svn:eol-style set to native
File size: 4.2 KB
Line 
1<Template name=spaceshipTransporterSL>
2  <SpaceShip
3   hudtemplate            = spaceshiphud
4   camerapositiontemplate = spaceshipTransportercameras
5   engine                 = spaceshipTransporterengine
6   spawnparticlesource    = "Orxonox/fairytwirl"
7   spawnparticleduration  = 3
8   explosionchunks        = 6
9
10   health            = 1000
11   maxhealth         = 1500
12   initialhealth     = 1000
13
14   primaryThrust     = 50;
15   auxilaryThrust    = 10;
16   rotationThrust    = 15;
17
18   collisionType     = "dynamic"
19   mass              = 1000
20   linearDamping     = 0.7
21   angularDamping    = 0.9999999
22  >
23    <attached>
24      <Model position="0,0,0" yaw=0 pitch=0 roll=0 scale=10 mesh="Transporter.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/weaponsettings_Transporter.oxi")
37?>
38  </SpaceShip>
39</Template>
40
41<Template name=spaceshipTransportercameras defaults=0>
42  <SpaceShip>
43    <camerapositions>
44      <CameraPosition position="0,90,350" drag=true mouselook=true />
45      <CameraPosition position="0,150, 400" drag=true mouselook=true />
46      <CameraPosition position="0,200,550" drag=true mouselook=true />
47      <CameraPosition position="0,120,200" pitch="-80" drag=true mouselook=true />
48    </camerapositions>
49  </SpaceShip>
50</Template>
51
52<Template name=spaceshipTransporterengine baseclass=MultiStateEngine>
53  <MultiStateEngine
54   boostfactor    = 2
55
56   speedfront     = 50
57   speedback      =  10
58   speedleftright =  10
59   speedupdown    =  10
60
61
62   accelerationfront     = 20
63   accelerationbrake     = 20
64   accelerationback      = 10
65   accelerationleftright =  10
66   accelerationupdown    =  10
67  >
68    <EffectContainer condition="idle">
69    </EffectContainer>
70    <EffectContainer condition="not idle">
71
72    </EffectContainer>
73    <EffectContainer condition="normal or brake">
74
75    </EffectContainer>
76    <EffectContainer condition="normal or boost">
77      <Backlight mainstate=activity active=false scale=2 name=bltest position=" 22, -10, 87" colour="1, 0.7, 0.1, 1.0" width=10 length=3000 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
78      <Backlight mainstate=activity active=false scale=2 name=bltest position="-22, -10, 87" colour="1, 0.7, 0.1, 1.0" width=10 length=3000 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
79    </EffectContainer>
80    <EffectContainer condition="boost">
81      <Backlight mainstate=activity active=false scale=3 name=bltest position=" 22, -10, 87" colour="1, 0.7, 0.1, 0.7" width=25 length=2000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
82      <Backlight mainstate=activity active=false scale=3 name=bltest position="-22, -10, 87" colour="1, 0.7, 0.1, 0.7" width=25 length=2000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
83    </EffectContainer>
84    <EffectContainer condition="brake">
85      <FadingBillboard mainstate=activity active=false scale=2 position=" 22, -10, 87" 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=2 position="-22, -10, 87" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
87      <FadingBillboard mainstate=activity active=false scale=1 position="22, -10, 87" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
88      <FadingBillboard mainstate=activity active=false scale=1 position="-22, -10, 87" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
89    </EffectContainer>
90  </MultiStateEngine>
91</Template>
Note: See TracBrowser for help on using the repository browser.