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