Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/3DPacman_FS18/data/levels/templates/PacmanGelb.oxt @ 11933

Last change on this file since 11933 was 11931, checked in by dreherm, 7 years ago

HUD first commit

File size: 4.1 KB
Line 
1<Template name=PacmanGelb>
2  <PacmanGelb
3   hudtemplate            = spaceshiphud
4   camerapositiontemplate = spaceshipescortcameras
5   spawnparticlesource    = "Orxonox/fairytwirl"
6   spawnparticleduration  = 3
7   explosionchunks        = 10
8
9   health            = 80
10   maxhealth         = 200
11   initialhealth     = 80
12
13   shieldhealth        = 35
14   initialshieldhealth = 35
15   maxshieldhealth     = 60
16   shieldabsorption    = 0.9
17   shieldrechargerate  = 1
18   shieldrechargewaittime = 1
19
20   primaryThrust     = 150
21   auxilaryThrust    = 30
22   rotationThrust    = 50
23
24   lift = 1;
25   stallSpeed = 220;
26
27   boostPower            = 20
28   boostPowerRate        = 1
29   boostRate             = 5
30   boostCooldownDuration = 10
31
32   shakeFrequency = 0
33   shakeAmplitude = 0
34
35   collisionType     = "dynamic"
36   mass              = 80
37   linearDamping     = 0.9
38   angularDamping    = 0.9999999
39  >
40    <engines>
41      <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipescortengine />
42      <MultiStateEngine position="-7.6, 0, 0" template=spaceshipescortengine />
43    </engines>
44    <attached>
45      <Model position="0,0,0" yaw=180 pitch=0 roll=0 scale=5 mesh="PacmanGelb.mesh" />
46<!--Model mesh="cube.mesh" mass=10 position="0,0,3" scale3D="10,4,8" />
47<Model mesh="cube.mesh" mass=10 position="12.6,-2,3" scale3D="2.8,2.8,11" />
48<Model mesh="cube.mesh" mass=10 position="-12.6,-2,3" scale3D="2.8,2.8,11" />
49<Model mesh="cube.mesh" mass=10 position="0,0,-12" scale3D="4,4,7" /-->
50    </attached>
51    <collisionShapes>
52      <BoxCollisionShape position="0    ,0 ,  0" halfExtents="1,1,1" />
53    </collisionShapes>
54
55<?lua
56  include("../includes/weaponSettingsEscort.oxi")
57?>
58  </PacmanGelb>
59</Template>
60
61<Template name=spaceshipescortcameras defaults=0>
62  <PacmanGelb>
63    <camerapositions>
64      <CameraPosition position="0,7, 5" drag=true mouselook=true />
65    </camerapositions>
66  </PacmanGelb>
67</Template>
68
69<Template name=spaceshipescortengine baseclass=MultiStateEngine>
70  <MultiStateEngine
71   boostfactor    = 1.0
72
73   speedfront     = 60
74   speedback      = 20
75   speedleftright =  1
76   speedupdown    =  1
77
78   defEngineSndNormal = "sounds/Engine_low.ogg"
79   defEngineSndBoost = "sounds/Engine_high.ogg"
80
81   accelerationfront     = 500
82   accelerationbrake     = 5
83   accelerationback      =  500
84   accelerationleftright =  5
85   accelerationupdown    =  5
86  >
87    <EffectContainer condition="idle">
88      <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/>
89       />
90      <Backlight mainstate=activity active=false scale=0.33 name=bltest position=" 12, -2, 14" colour="0.2, 0.5, 0.65, 1.0" width=150 length=15 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=2 turnofftime=1 material="Flares/ThrusterFlare1" />
91      <Backlight mainstate=activity active=false scale=0.33 name=bltest position="-12, -2, 14" colour="0.2, 0.5, 0.65, 1.0" width=15 length=15 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=2 turnofftime=1 material="Flares/ThrusterFlare1" />
92    </EffectContainer>
93    <EffectContainer condition="not idle">
94      <FadingBillboard mainstate=activity active=false scale=0.09 position="12, -2, 13" colour="0.2, 1.0, 0.65, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
95      <FadingBillboard mainstate=activity active=false scale=0.09 position="-12, -2, 13" colour="0.2, 1.0, 0.65, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
96    </EffectContainer>
97    <EffectContainer condition="normal or brake">
98
99    </EffectContainer>
100    <EffectContainer condition="normal or boost">
101      <Backlight mainstate=activity active=false scale=0.33 name=bltest position=" 12, -2, 14" colour="0.2, 1.0, 0.65, 1.0" width=5 length=1500 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
102      <Backlight mainstate=activity active=false scale=0.33 name=bltest position="-12, -2, 14" colour="0.2, 1.0, 0.65, 1.0" width=15 length=1500 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
103    </EffectContainer>
104
105  </MultiStateEngine>
106</Template>
Note: See TracBrowser for help on using the repository browser.