Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2014, 3:54:05 PM (11 years ago)
Author:
landauf
Message:

moved all invader enemy templates into one file. fixed warning about duplicate definition of "spaceshipescortengine"

Location:
code/trunk/data/levels/templates
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/levels/templates/enemyInvader.oxt

    r9943 r9954  
    4848      <Model position="0,0,0" yaw=180 pitch=270 roll=0 scale=2 mesh="swallow_mat.mesh" />
    4949      <Model position="0,0,0" yaw=180 pitch=270 roll=0 scale=2 mesh="escortWeapon.mesh" />
    50 <!--Model mesh="cube.mesh" mass=10 position="0,0,3" scale3D="10,4,8" />
    51 
    52 swallow_mat.mesh
    53 "ghost.mesh"
    54 
    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" /-->
    5850    </attached>
    5951    <collisionShapes>
     
    6961</Template>
    7062
    71 <!-- <Template name=spaceshipescortcameras defaults=0>
    72   <InvaderEnemy>
    73     <camerapositions>
    74       <CameraPosition position="0,15, 60" drag=true mouselook=true />
    75       <CameraPosition position="0,20, 90" drag=true mouselook=true />
    76       <CameraPosition position="0,30,120" drag=true mouselook=true />
    77       <CameraPosition position="0,300,-100" direction="0, -1, 0" drag=false mouselook=true />
    78     </camerapositions>
    79   </InvaderEnemy>
    80 </Template> -->
     63<Template name=enemyinvadershooter>
     64  <InvaderEnemyShooter
     65   hudtemplate            = spaceshiphud
     66   camerapositiontemplate = spaceshipescortcameras
     67   spawnparticlesource    = "Orxonox/fairytwirl"
     68   spawnparticleduration  = 3
     69   explosionchunks        = 4
     70
     71   health            = 20
     72   maxhealth         = 20
     73   initialhealth     = 20
     74
     75   shieldhealth        = 20
     76   initialshieldhealth = 20
     77   maxshieldhealth     = 20
     78   shieldabsorption    = 0.9
     79   reloadrate          = 1
     80   reloadwaittime      = 1
     81
     82   primaryThrust     = 150
     83   auxilaryThrust    = 30
     84   rotationThrust    = 50
     85
     86   lift = 1;
     87   stallSpeed = 220;
     88
     89   boostPower            = 20
     90   boostPowerRate        = 1
     91   boostRate             = 5
     92   boostCooldownDuration = 10
     93
     94   shakeFrequency = 15
     95   shakeAmplitude = 6
     96
     97   collisionType     = "dynamic"
     98   mass              = 100
     99   linearDamping     = 0
     100   angularDamping    = 0
     101
     102    collisiondamage = 100
     103    enablecollisiondamage = true
     104  >
     105    <engines>
     106      <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipescortengine />
     107      <MultiStateEngine position="-7.6, 0, 0" template=spaceshipescortengine />
     108    </engines>
     109    <attached>
     110      <Model position="0,0,0" yaw=180 pitch=270 roll=0 scale=2 mesh="ghost.mesh" />
     111      <Model position="0,0,0" yaw=180 pitch=270 roll=0 scale=2 mesh="escortWeapon.mesh" />
     112    </attached>
     113    <collisionShapes>
     114      <BoxCollisionShape position="0    ,0 ,  3" halfExtents="10,   4,8" />
     115      <BoxCollisionShape position="12.6 ,-2,  3" halfExtents="2.8,2.8,11"/>
     116      <BoxCollisionShape position="-12.6,-2,  3" halfExtents="2.8,2.8,11"/>
     117      <BoxCollisionShape position="0,     0,-12" halfExtents="4  , 4 ,7" />
     118    </collisionShapes>
     119<?lua
     120  include("../includes/invaderWeaponEnemy.oxi")
     121?>
     122  </InvaderEnemyShooter>
     123</Template>
    81124
    82125<Template name=spaceshipescortengine baseclass=MultiStateEngine>
Note: See TracChangeset for help on using the changeset viewer.