Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2017, 2:05:12 PM (7 years ago)
Author:
merholzl
Message:

Cleanup of level files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FlappyOrx_HS17/data/levels/templates/spaceshipFlappyOrx.oxt

    r11580 r11596  
    11<Template name=spaceshipFlappyOrx>
    22  <FlappyOrxShip
    3    hudtemplate            = spaceshiphud
     3
    44   camerapositiontemplate = spaceshipescortcameras
    55   spawnparticlesource    = "Orxonox/fairytwirl"
    6    spawnparticleduration  = 3
    7    explosionchunks        = 4
     6   spawnparticleduration  = 6
    87
    98   health            = 80
     
    1110   initialhealth     = 80
    1211
    13    shieldhealth        = 35
    14    initialshieldhealth = 35
    15    maxshieldhealth     = 60
    16    shieldabsorption    = 0.9
    17    shieldrechargerate  = 1
    18    shieldrechargewaittime = 1
    19 
    2012   primaryThrust     = 150
    2113   auxilaryThrust    = 30
    2214   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 = 15
    33    shakeAmplitude = 6
    3415
    3516   collisionType     = "dynamic"
     
    5132    <attached>
    5233      <Model position="0,0,0" yaw=180 pitch=90 roll=270 scale=9 mesh="FlappyOrxShip.mesh" />
    53       <!-- <Model position="0,0,0" yaw=180 pitch=90 roll=0 scale=4 mesh="escortWeapon.mesh" /> -->
    54 <!--Model mesh="cube.mesh" mass=10 position="0,0,3" scale3D="10,4,8" />
    55 <Model mesh="cube.mesh" mass=10 position="12.6,-2,3" scale3D="2.8,2.8,11" />
    56 <Model mesh="cube.mesh" mass=10 position="-12.6,-2,3" scale3D="2.8,2.8,11" />
    57 <Model mesh="cube.mesh" mass=10 position="0,0,-12" scale3D="4,4,7" /-->
     34   
    5835    </attached>
    5936    <collisionShapes>
     
    6239      <SphereCollisionShape position="0   ,0 ,  11" radius="12.5" />
    6340    </collisionShapes>
    64     <explosion >
    65       <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" />
    66       <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" />
    67       <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" />
    68 
    69       <ExplosionPart minspeed=0 maxspeed=0 effect1="Orxonox/explosion2b" effect2="Orxonox/smoke6" />
    70       <ExplosionPart mesh="CockpitDebris.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
    71       <ExplosionPart mesh="BodyDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
    72       <ExplosionPart mesh="WingDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
    73       <ExplosionPart mesh="WingDebris2.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" />
    74     </explosion>
    75 <?lua
    76   include("../includes/FlappyOrxWeapon.oxi")
    77 ?>
     41 
    7842  </FlappyOrxShip>
    7943</Template>
     
    8246  <FlappyOrxShip>
    8347    <camerapositions>
    84 <!--       <CameraPosition position="0,15, 60" drag=true mouselook=true />
    85       <CameraPosition position="0,20, 90" drag=true mouselook=true />
    86       <CameraPosition position="0,30,120" drag=true mouselook=true /> -->
    8748      <CameraPosition position="0,300,-100" direction="0, -1, 0" drag=false absolute=true mouselook=true />
    8849    </camerapositions>
     
    9051</Template>
    9152
    92 <Template name=spaceshipFlappyOrxengine baseclass=MultiStateEngine>
    93   <MultiStateEngine
    94    boostfactor    = 2.2
    95 
    96    speedfront     = 200
    97    speedback      =  70
    98    speedleftright =  70
    99    speedupdown    =  70
    100 
    101    defEngineSndNormal = "sounds/Engine_low.ogg"
    102    defEngineSndBoost = "sounds/Engine_high.ogg"
    103 
    104    accelerationfront     = 700
    105    accelerationbrake     = 700
    106    accelerationback      =  125
    107    accelerationleftright =  125
    108    accelerationupdown    =  125
    109   >
    110     <EffectContainer condition="idle">
    111       <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/>
    112     </EffectContainer>
    113     <EffectContainer condition="not idle">
    114       <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 />
    115       <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 />
    116     </EffectContainer>
    117     <EffectContainer condition="normal or brake">
    118 
    119     </EffectContainer>
    120     <EffectContainer condition="normal or boost">
    121       <Backlight mainstate=activity active=false scale=0.33 name=bltest position=" 12, 0, 10" colour="0.2, 1.0, 0.65, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    122       <Backlight mainstate=activity active=false scale=0.33 name=bltest position="-12, 0, 10" colour="0.2, 1.0, 0.65, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    123     </EffectContainer>
    124     <EffectContainer condition="boost">
    125       <Backlight mainstate=activity active=false scale=0.33 name=bltest position=" 12, 0, 10" colour="0.6, 0.8, 0.75, 0.7" width=25 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    126       <Backlight mainstate=activity active=false scale=0.33 name=bltest position="-12, 0, 10" colour="0.6, 0.8, 0.75, 0.7" width=25 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    127     </EffectContainer>
    128 
    129   </MultiStateEngine>
    130 </Template>
Note: See TracChangeset for help on using the changeset viewer.