Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/templates/OrxoKartKart.oxt @ 12343

Last change on this file since 12343 was 12194, checked in by merholzl, 6 years ago

Merging OrxoKart

File size: 4.2 KB
Line 
1
2<Template name=OrxoKartKart>
3  <SpaceShip
4   hudtemplate            = spaceshiporxokarthud
5   camerapositiontemplate = spaceshipcameras
6   spawnparticlesource    = "Orxonox/fairytwirl"
7   spawnparticleduration  = 3
8   explosionchunks        = 6
9
10   health            = 100
11   maxhealth         = 200
12   initialhealth     = 100
13
14   shieldhealth        = 25
15   initialshieldhealth = 25
16   maxshieldhealth     = 40
17   shieldabsorption    = 0.6
18   reloadrate          = 2
19   reloadwaittime      = 0.5
20
21   primaryThrust     = 600
22   auxilaryThrust    = 300
23   rotationThrust    = 50
24   lift = 1;
25   stallSpeed = 500;
26
27   boostPower            = 10
28   boostPowerRate        = 1000
29   boostRate             = 1
30   boostCooldownDuration = 1
31
32   collisionType     = "dynamic"
33   mass              = 2000
34   linearDamping     = 0.5
35   angularDamping    = 0.99999
36  >
37    <engines>
38      <MultiStateEngine position=" 0, 0, 0" template=spaceshipengine />
39    </engines>
40    <attached>
41      <Model position="0,0,-20" mesh="hovership_body.mesh" scale="5" yaw=180/> 
42      <Model position="0,0,-20" mesh="hovership_engine.mesh" scale="5" yaw=180/>             
43    </attached>
44    <collisionShapes>
45      <BoxCollisionShape position="0,-2 ,7" halfExtents="7, 4 ,30" />
46    </collisionShapes>
47    <explosion>
48      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" />
49      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" scale=2 />
50      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" />
51
52      <ExplosionPart mesh="explosionparts/pirate_part_1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
53      <ExplosionPart mesh="explosionparts/pirate_part_2.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
54      <ExplosionPart mesh="explosionparts/pirate_part_3.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
55      <ExplosionPart mesh="explosionparts/pirate_part_4.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
56    </explosion>
57  </SpaceShip>
58</Template>
59 
60<Template name=spaceshipcameras defaults=0>
61  <SpaceShip>
62    <camerapositions>
63      <CameraPosition position="0,8, 5" drag=True mouselook=False />
64      <CameraPosition position="0,8,5" yaw="180" drag=True mouselook=False />
65    </camerapositions>
66  </SpaceShip>
67</Template>
68
69<Template name=spaceshipengine baseclass=Engine>
70  <MultiStateEngine
71   boostfactor    = 2
72
73   speedfront     =  300
74   speedback      =  40
75   speedleftright =  300
76   speedupdown    =  40
77
78   accelerationfront     = 300
79   accelerationbrake     = 300
80   accelerationback      =  125
81   accelerationleftright =  125
82   accelerationupdown    =  125
83  >
84    <EffectContainer condition="not idle">
85      <FadingBillboard mainstate=activity active=false scale=0.02 position=" 1.3, 0, 15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 />
86      <FadingBillboard mainstate=activity active=false scale=0.02 position=" 0, 0, 15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 />
87      <FadingBillboard mainstate=activity active=false scale=0.02 position="-1.3, 0, 15" colour="1.0, 0.65, 0.2, 1.0" material="Examples/FlareZwei" turnontime=0.5 turnofftime=0.5 />
88    </EffectContainer>
89    <EffectContainer condition="normal or boost">
90      <Backlight mainstate=activity active=false scale=0.8 name=bltest position=" 0, 0,  40" colour="1.0, 0.65, 0.2, 1.0" width=10 length=800 lifetime=1 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
91     
92    </EffectContainer>
93    <EffectContainer condition="boost">
94      <Backlight mainstate=activity active=false scale=0.8 name=bltest position="  0, 0, 40" colour="1.0, 0.65, 0.2, 1.0" width=10 length=1600 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
95    </EffectContainer>
96    <EffectContainer condition="brake">
97      <FadingBillboard mainstate=activity active=false scale=0.5 position=" 0, 0, 40" colour="0.8, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
98     
99    </EffectContainer>
100  </MultiStateEngine>
101</Template>
Note: See TracBrowser for help on using the repository browser.