Changeset 11608 for code/branches/Asteroid_HS17/data
- Timestamp:
- Nov 27, 2017, 5:00:59 PM (7 years ago)
- Location:
- code/branches/Asteroid_HS17/data
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Asteroid_HS17/data/levels/Asteroids2D.oxw
r11593 r11608 6 6 /> 7 7 8 9 <!--wird immer gebraucht-->10 8 <?lua 11 9 include("stats.oxo") … … 13 11 ?> 14 12 15 16 13 <?lua 17 include ("overlays/HUDTemplates3.oxo") 14 include("templates/spaceshipAssff2.oxt") 15 include("templates/spaceshipPirate.oxt") 18 16 include("templates/spaceshipAsteroids2D.oxt") 17 include("templates/enemyInvader.oxt") 18 include("overlays/Asteroids2DHUD.oxo") 19 19 ?> 20 20 21 <!--Templates schreiben oder von spaceship kopieren-->22 23 21 <Level 24 plugin = asteroids2D22 plugins = asteroids2D 25 23 gametype = Asteroids2D 26 24 > … … 30 28 <?lua include("includes/notifications.oxi") ?> 31 29 32 <!-- ambientlight = "0.8, 0.8, 0.8"33 skybox = "Orxonox/Starbox"34 WorldRange lieber im src einschraenken-->35 30 <Scene 36 ambientlight = "0.8, 0.7, 0.4" 37 skybox = "Orxonox/skyBoxBasic" 31 ambientlight = "1.0, 1.0, 1.0" 32 skybox = "Orxonox/Starbox" 33 negativeWorldRange = "-100000, -100000, -100000" 34 positiveWorldRange = " 100000, 100000, 100000" 38 35 > 36 37 <WorldAmbientSound 38 source="Earth.ogg" 39 looping="true" 40 playOnLoad="true" 41 /> 42 43 <!-- <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"/> --> 44 <Light type=directional position="-100, 10000, -700" lookat="0.2, -1, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" /> 45 <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass= Asteroids2DShip pawndesign=spaceshipasteroids2d /> 46 47 <Model mesh="axes.mesh" scale=10 position="0,0,0" /> 48 <Asteroids2DCenterPoint name=asteroids2Dcenter /> 39 49 40 <!-- <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"/> -->41 <Light type=directional position="1100, 11000, -7000" lookat="0, 0, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />42 43 <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=Asteroids2DShip pawndesign=spaceshipasteroids2D/>44 45 <Asteroids2DCenterPoint name=asteroids2Dcenter />46 47 <Model mesh="axes.mesh" scale=10 position="0,0,-100" />48 49 50 50 51 </Scene> 51 52 </Level> 52 53 -
code/branches/Asteroid_HS17/data/levels/MiniGameTest.oxw
r11593 r11608 15 15 include("templates/spaceshipMiniGameTest.oxt") 16 16 include("templates/enemyInvader.oxt") 17 include("templates/DodgeRacePattern.oxt") 18 include("overlays/DodgeRaceHUD.oxo") 17 include("overlays/MiniGameTestHUD.oxo") 19 18 ?> 20 19 … … 30 29 <Scene 31 30 ambientlight = "1.0, 1.0, 1.0" 32 skybox = "Orxonox/ skyBoxClouds"31 skybox = "Orxonox/Starbox" 33 32 negativeWorldRange = "-100000, -100000, -100000" 34 33 positiveWorldRange = " 100000, 100000, 100000" … … 43 42 <!-- <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"/> --> 44 43 <Light type=directional position="-100, 10000, -700" lookat="0.2, -1, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" /> 45 <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass= MiniGameTestShip pawndesign=spaceshipdodgerace /> 44 <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass= MiniGameTestShip pawndesign=spaceshipminigametest /> 45 46 <Model mesh="axes.mesh" scale=10 position="0,0,0" /> 46 47 47 48 <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 /> … … 50 51 <MiniGameTestCenterPoint name=invadercenter /> 51 52 52 <StaticEntity position="0,-50,0" direction="0,0,0" scale="1" collisionType=static mass=1 friction=0.01 >53 <attached>54 <Model position="0,0,0" mesh="plane.mesh" scale3D="100000,0,100000" />55 </attached>56 53 57 <collisionShapes>58 <BoxCollisionShape position="0,0,0" halfExtents="1,1,1" />59 </collisionShapes>60 61 </StaticEntity>62 54 63 55 -
code/branches/Asteroid_HS17/data/levels/templates/spaceshipAsteroids2D.oxt
r11593 r11608 1 <Template name=spaceshipasteroids2 D>2 < SpaceShip1 <Template name=spaceshipasteroids2d> 2 <Asteroids2DShip 3 3 hudtemplate = spaceshiphud 4 4 camerapositiontemplate = spaceshipescortcameras 5 5 spawnparticlesource = "Orxonox/fairytwirl" 6 6 spawnparticleduration = 3 7 explosionchunks = 107 explosionchunks = 4 8 8 9 health = 8010 maxhealth = 20011 initialhealth = 809 health = 40 10 maxhealth = 40 11 initialhealth = 40 12 12 13 shieldhealth = 3514 initialshieldhealth = 3515 maxshieldhealth = 6016 shieldabsorption = 0. 913 shieldhealth = 20 14 initialshieldhealth = 20 15 maxshieldhealth = 20 16 shieldabsorption = 0.1 17 17 shieldrechargerate = 1 18 18 shieldrechargewaittime = 1 … … 34 34 35 35 collisionType = "dynamic" 36 mass = 8037 linearDamping = 0. 736 mass = 4200000 37 linearDamping = 0.9999999 38 38 angularDamping = 0.9999999 39 40 collisiondamage = 100 41 enablecollisiondamage = true 42 39 43 > 40 44 <engines> 41 <MultiStateEngine position=" 7.6, 0, 6" template=spaceship escortengine />42 <MultiStateEngine position="-7.6, 0, 0" template=spaceship escortengine />45 <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipinvaderengine /> 46 <MultiStateEngine position="-7.6, 0, 0" template=spaceshipinvaderengine /> 43 47 </engines> 44 48 <attached> … … 56 60 <BoxCollisionShape position="0, 0,-12" halfExtents="4 , 4 ,7" /> 57 61 </collisionShapes> 58 <explosion >62 <explosion > 59 63 <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" /> 60 64 <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" /> 61 65 <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" /> 62 66 63 <ExplosionPart mesh="explosionparts/escort_part_1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> 64 <ExplosionPart mesh="explosionparts/escort_part_2.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> 65 <ExplosionPart mesh="explosionparts/escort_part_3.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> 66 <ExplosionPart mesh="explosionparts/escort_part_4.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> 67 <ExplosionPart mesh="explosionparts/escort_part_5.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> 68 <ExplosionPart mesh="explosionparts/escort_part_6.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> 67 <ExplosionPart minspeed=0 maxspeed=0 effect1="Orxonox/explosion2b" effect2="Orxonox/smoke6" /> 68 <ExplosionPart mesh="CockpitDebris.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> 69 <ExplosionPart mesh="BodyDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> 70 <ExplosionPart mesh="WingDebris1.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> 71 <ExplosionPart mesh="WingDebris2.mesh" effect1="Orxonox/fire4" effect2="Orxonox/smoke6" /> 69 72 </explosion> 70 73 <?lua 71 include("../includes/ weaponSettingsEscort.oxi")74 include("../includes/invaderWeapon.oxi") 72 75 ?> 73 </ SpaceShip>76 </Asteroids2DShip> 74 77 </Template> 75 78 76 79 <Template name=spaceshipescortcameras defaults=0> 77 < SpaceShip>80 <Asteroids2DShip> 78 81 <camerapositions> 79 <CameraPosition position="0,600,0" pitch=-90 absolute=true /> 80 <CameraPosition position="0,50,160" drag=true mouselook=false /> 81 <CameraPosition position="0,40,125" drag=true mouselook=false/> 82 <CameraPosition position="0,30, 90" drag=true mouselook=false/> 82 <!--<CameraPosition position="0,100,180" direction="0, -0.2, -1" drag=false mouselook=true /> 83 <CameraPosition position="0,200,250" direction="0, -0.4, -1" drag=false mouselook=true /> 84 <CameraPosition position="0,30,150" direction="0, 0, -1" drag=false mouselook=true /> 85 <CameraPosition position="0,1300,-100" direction="0, -1, 0" drag=false mouselook=true /> 86 --> 87 <CameraPosition position="0,600,0" pitch=-90 absolute=true /> 88 <CameraPosition position="0,50,160" drag=true mouselook=true /> 89 <CameraPosition position="0,40,125" drag=true mouselook=true /> 90 <CameraPosition position="0,30, 90" drag=true mouselook=true /> 83 91 </camerapositions> 84 </ SpaceShip>92 </Asteroids2DShip> 85 93 </Template> 86 94 87 <Template name=spaceship escortengine baseclass=MultiStateEngine>95 <Template name=spaceshipinvaderengine baseclass=MultiStateEngine> 88 96 <MultiStateEngine 89 97 boostfactor = 2.2 … … 105 113 <EffectContainer condition="idle"> 106 114 <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" looping=1 active=false/> 107 />108 <Backlight mainstate=activity active=false scale=0.33 name=bltest position=" 12, -2, 14" colour="0.2, 0.5, 0.65, 1.0" width=150 length=15 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=2 turnofftime=1 material="Flares/ThrusterFlare1" />109 <Backlight mainstate=activity active=false scale=0.33 name=bltest position="-12, -2, 14" colour="0.2, 0.5, 0.65, 1.0" width=15 length=15 lifetime=2 elements=1 trailmaterial="Trail/backlighttrail" turnontime=2 turnofftime=1 material="Flares/ThrusterFlare1" />110 115 </EffectContainer> 111 116 <EffectContainer condition="not idle"> … … 117 122 </EffectContainer> 118 123 <EffectContainer condition="normal or boost"> 119 <Backlight mainstate=activity active=false scale=0.33 name=bltest position=" 12, -2, 14" colour="0.2, 1.0, 0.65, 1.0" width=5 length=1500 lifetime=2 elements=1trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />120 <Backlight mainstate=activity active=false scale=0.33 name=bltest position="-12, -2, 14" colour="0.2, 1.0, 0.65, 1.0" width=15 length=1500 lifetime=2 elements=1trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />124 <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" /> 125 <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" /> 121 126 </EffectContainer> 122 123 127 <EffectContainer condition="boost"> 124 128 <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" /> -
code/branches/Asteroid_HS17/data/levels/templates/spaceshipMiniGameTest.oxt
r11593 r11608 1 <Template name=spaceship dodgerace>1 <Template name=spaceshipminigametest> 2 2 <MiniGameTestShip 3 3 hudtemplate = spaceshiphud … … 80 80 <MiniGameTestShip> 81 81 <camerapositions> 82 <CameraPosition position="0,100,180" direction="0, -0.2, -1" drag=false mouselook=true /> 83 <CameraPosition position="0,200,250" direction="0, -0.4, -1" drag=false mouselook=true /> 84 <CameraPosition position="0,30,150" direction="0, 0, -1" drag=false mouselook=true /> 85 <CameraPosition position="0,1300,-100" direction="0, -1, 0" drag=false mouselook=true /> 82 <!--<CameraPosition position="0,100,180" direction="0, -0.2, -1" drag=false mouselook=true /> 83 <CameraPosition position="0,200,250" direction="0, -0.4, -1" drag=false mouselook=true /> 84 <CameraPosition position="0,30,150" direction="0, 0, -1" drag=false mouselook=true /> 85 <CameraPosition position="0,1300,-100" direction="0, -1, 0" drag=false mouselook=true /> 86 --> 87 <CameraPosition position="0,600,0" pitch=-90 absolute=true /> 88 <CameraPosition position="0,50,160" drag=true mouselook=true /> 89 <CameraPosition position="0,40,125" drag=true mouselook=true /> 90 <CameraPosition position="0,30, 90" drag=true mouselook=true /> 86 91 </camerapositions> 87 92 </MiniGameTestShip>
Note: See TracChangeset
for help on using the changeset viewer.