Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 26, 2011, 1:53:52 PM (14 years ago)
Author:
dafrick
Message:

Adjusting Assff2 to fit new engines.

Location:
code/branches/presentation/data/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/data/levels/emptyLevel.oxw

    r7679 r8593  
    1212
    1313<?lua
    14   include("templates/spaceshipAssff.oxt")
     14  include("templates/spaceshipAssff2.oxt")
    1515  include("templates/spaceshipPirate.oxt")
    1616?>
     
    3030
    3131    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
    32     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     32    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
    3333   
    3434  </Scene>
  • code/branches/presentation/data/levels/templates/spaceshipAssff2.oxt

    r8592 r8593  
    33   hudtemplate            = spaceshiphud
    44   camerapositiontemplate = spaceshipassffcameras2
    5    engine                 = spaceshipassffengine2
    65   spawnparticlesource    = "Orxonox/fairytwirl"
    76   spawnparticleduration  = 3
     
    1211   initialhealth     = 50
    1312
     13   shieldhealth        = 130
     14   initialshieldhealth = 130
     15   maxshieldhealth     = 150
     16   shieldabsorption    = 0.95
     17   reloadrate          = 5
     18   reloadwaittime      = 0.5
     19
    1420   primaryThrust     = 100;
    1521   auxilaryThrust    = 30;
    1622   rotationThrust    = 25;
     23
     24   boostPower            = 10
     25   boostPowerRate        = 1
     26   boostRate             = 5
     27   boostCooldownDuration = 10
     28
     29   shakeFrequency = 15
     30   shakeAmplitude = 7
    1731
    1832   collisionType     = "dynamic"
     
    2135   angularDamping    = 0.9999999
    2236  >
     37    <engines>
     38      <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipassffengine2 />
     39      <MultiStateEngine position="-7.6, 0, 0" template=spaceshipassffengine2 />
     40    </engines>
    2341    <attached>
    2442      <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" />
     
    7795    </EffectContainer>
    7896    <EffectContainer condition="not idle">
    79       <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 />
    80 <!--
    81       <Light mainstate=visibility position=" 8, 0, 8" diffuse="0.3, 0.6, 1.0" specular="0.3, 0.6, 1.0" attenuation="600, 1.0, 0.007, 0.0002" type=point />
    82       <Light mainstate=visibility position="-8, 0, 8" diffuse="0.3, 0.6, 1.0" specular="0.3, 0.6, 1.0" attenuation="600, 1.0, 0.007, 0.0002" type=point />
    83 -->
     97      <FadingBillboard mainstate=activity active=false scale=0.1 position="7.6, 0, 9" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     98      <FadingBillboard mainstate=activity active=false scale=0.1 position="-7.6, 0, 9" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    8499    </EffectContainer>
    85100    <EffectContainer condition="normal or brake">
     
    87102    </EffectContainer>
    88103    <EffectContainer condition="normal or boost">
    89       <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" />
    90       <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" />
     104      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 0" 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" />
     105      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 0" 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" />
    91106    </EffectContainer>
    92107    <EffectContainer condition="boost">
     
    94109      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    95110    </EffectContainer>
    96     <EffectContainer condition="brake">
     111<!--    <EffectContainer condition="brake">
    97112      <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 />
    98113      <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 />
     
    100115      <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 />
    101116    </EffectContainer>
     117-->
    102118  </MultiStateEngine>
    103119</Template>
     120
     121<!--Template name=spaceshippirate>
     122  <SpaceShip
     123   health            = 100
     124   maxhealth         = 200
     125   initialhealth     = 100
     126
     127   maxspeed          = 250
     128   maxsecondaryspeed = 50
     129   maxrotation       = 100
     130   transacc          = 200
     131   rotacc            = 140
     132   transdamp         = 75
     133  >
     134    <attached>
     135      <Model position="0,-10,-45" yaw=90 pitch=-90 roll=0 scale=4 mesh="pirate.mesh" />
     136    </attached>
     137  </SpaceShip>
     138</Template>
     139
     140<Template name=spaceshipspacecruiser>
     141  <SpaceShip
     142   health            = 100
     143   maxhealth         = 200
     144   initialhealth     = 100
     145
     146   maxspeed          = 250
     147   maxsecondaryspeed = 50
     148   maxrotation       = 100
     149   transacc          = 200
     150   rotacc            = 140
     151   transdamp         = 75
     152  >
     153    <attached>
     154      <Model position="8,-30,-120" yaw=90 pitch=-90 roll=0 scale=4 mesh="spacecruiser.mesh" />
     155    </attached>
     156  </SpaceShip>
     157</Template-->
Note: See TracChangeset for help on using the changeset viewer.