[12337] | 1 | <Template name=spaceshipOrxoBlox> |
---|
[12315] | 2 | <OrxoBloxShip |
---|
| 3 | hudtemplate = spaceshiphud |
---|
| 4 | camerapositiontemplate = spaceshipescortcameras |
---|
| 5 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 6 | spawnparticleduration = 3 |
---|
| 7 | explosionchunks = 4 |
---|
| 8 | |
---|
[12370] | 9 | health = 10 |
---|
| 10 | maxhealth = 10 |
---|
| 11 | initialhealth = 10 |
---|
| 12 | |
---|
| 13 | shieldhealth = 20 |
---|
| 14 | initialshieldhealth = 20 |
---|
| 15 | maxshieldhealth = 20 |
---|
| 16 | shieldabsorption = 0.1 |
---|
| 17 | shieldrechargerate = 1 |
---|
| 18 | shieldrechargewaittime = 1 |
---|
| 19 | |
---|
[12315] | 20 | primaryThrust = 150 |
---|
| 21 | auxilaryThrust = 30 |
---|
| 22 | rotationThrust = 100 |
---|
| 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 |
---|
| 34 | |
---|
| 35 | collisionType = "dynamic" |
---|
| 36 | mass = 4200000 |
---|
| 37 | linearDamping = 0.9 |
---|
| 38 | angularDamping = 0.9999999 |
---|
[12370] | 39 | |
---|
| 40 | collisiondamage = 100 |
---|
| 41 | enablecollisiondamage = true |
---|
[12315] | 42 | |
---|
| 43 | > |
---|
| 44 | <engines> |
---|
[12337] | 45 | <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipOrxoBloxengine /> |
---|
| 46 | <MultiStateEngine position="-7.6, 0, 0" template=spaceshipOrxoBloxengine /> |
---|
[12315] | 47 | </engines> |
---|
| 48 | <attached> |
---|
[12373] | 49 | <Model position="0,0,0" direction="0,0,0" roll=0 scale=1 mesh="escortShip.mesh" /> |
---|
| 50 | <Model position="0,0,0" direction="0,0,0" roll=0 scale=1 mesh="escortWeapon.mesh" /> |
---|
[12315] | 51 | <!--Model mesh="cube.mesh" mass=10 position="0,0,3" scale3D="10,4,8" /> |
---|
| 52 | <Model mesh="cube.mesh" mass=10 position="12.6,-2,3" scale3D="2.8,2.8,11" /> |
---|
| 53 | <Model mesh="cube.mesh" mass=10 position="-12.6,-2,3" scale3D="2.8,2.8,11" /> |
---|
| 54 | <Model mesh="cube.mesh" mass=10 position="0,0,-12" scale3D="4,4,7" /--> |
---|
| 55 | </attached> |
---|
| 56 | <explosion > |
---|
| 57 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" /> |
---|
| 58 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" /> |
---|
| 59 | <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" /> |
---|
| 60 | |
---|
| 61 | <ExplosionPart minspeed=0 maxspeed=0 effect1="Orxonox/explosion2b" effect2="Orxonox/smoke6" /> |
---|
| 62 | <ExplosionPart mesh="CockpitDebris.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
| 63 | <ExplosionPart mesh="BodyDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
| 64 | <ExplosionPart mesh="WingDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
| 65 | <ExplosionPart mesh="WingDebris2.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> |
---|
| 66 | </explosion> |
---|
| 67 | <?lua |
---|
| 68 | include("../includes/OrxoBloxWeapon.oxi") |
---|
| 69 | ?> |
---|
| 70 | </OrxoBloxShip> |
---|
| 71 | </Template> |
---|
| 72 | |
---|
| 73 | <Template name=spaceshipescortcameras defaults=0> |
---|
| 74 | <OrxoBloxShip> |
---|
| 75 | <camerapositions> |
---|
[12367] | 76 | <CameraPosition position="0,100,0" pitch=-90 absolute=true drag = false mouselook=true/> |
---|
| 77 | <CameraPosition position="0,0,0" drag=true mouselook=true /> |
---|
[12315] | 78 | <CameraPosition position="0,40,125" drag=true mouselook=true /> |
---|
| 79 | <CameraPosition position="0,30, 90" drag=true mouselook=true /> |
---|
| 80 | </camerapositions> |
---|
| 81 | </OrxoBloxShip> |
---|
| 82 | </Template> |
---|
| 83 | |
---|
[12337] | 84 | <Template name=spaceshipOrxoBloxengine baseclass=MultiStateEngine> |
---|
[12315] | 85 | <MultiStateEngine |
---|
| 86 | boostfactor = 2.2 |
---|
| 87 | |
---|
[12370] | 88 | |
---|
[12315] | 89 | defEngineSndNormal = "sounds/Engine_low.ogg" |
---|
| 90 | defEngineSndBoost = "sounds/Engine_high.ogg" |
---|
| 91 | > |
---|
| 92 | |
---|
| 93 | |
---|
| 94 | </MultiStateEngine> |
---|
[12393] | 95 | </Template> |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | <Template name=OrxoBloxstone> |
---|
| 99 | <OrxoBloxStones collisionType=dynamic> |
---|
| 100 | <attached> |
---|
| 101 | <Model position="0,0,0" mesh="CuboidBody.mesh" scale3D="4.5,4.5,4.5" /> |
---|
| 102 | <Model position="0,0,0" mesh="cube_orange.mesh" scale=4.3 /> |
---|
| 103 | </attached> |
---|
| 104 | <collisionShapes> |
---|
[12394] | 105 | <BoxCollisionShape position="0,0,0" halfExtents="4,4,4" /> |
---|
[12393] | 106 | </collisionShapes> |
---|
| 107 | </OrxoBloxStones> |
---|
[12315] | 108 | </Template> |
---|