Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9810


Ignore:
Timestamp:
Nov 25, 2013, 3:23:07 PM (10 years ago)
Author:
lumperte
Message:

Box-Labyrinth und end of mission

Location:
code/branches/levelElias/data/levels
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/levelElias/data/levels/EscapeTheBastards.oxw

    r9772 r9810  
    9696        <events>
    9797            <trigger>
    98                 <TeamSpawnPoint team=0 position="-3000,12000,-5500" direction="0.3,1.2,-5.5" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage>>
    99 <!-- Spawnpoint aendern zu 8050 nachher direction="1,0.3,0.2"-->
     98
     99                <TeamSpawnPoint team=0 position="-42600,-30000,33800" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage>
     100<!-- Spawnpoint aendern zu -8050,0,0 nachher direction="1,0.3,0.2"-->
     101<!-- Spawnpoint aendern zu 3000,12000,-5500 nachher direction="0.3,1.2,-5.5" Fuer homeplanet-->
     102<!-- Spawnpoint aendern zu -46950,-30000,30000 nachher direction="1,0,0" Fuer inBox-->
    100103                  <EventTrigger invert=true>
    101104                    <events>
     
    155158        </QuestEffectBeacon>
    156159
     160        <QuestEffectBeacon times=1 >
     161            <effects>
     162                <CompleteQuest questId="wayhome.4" />
     163            </effects>
     164            <events>
     165                <execute>
     166                    <EventListener event="reachedend" />
     167                </execute>
     168            </events>
     169        </QuestEffectBeacon>
     170
     171                        <!-- END OF GAME -->
     172    <Script code="Mission endMission true" onLoad="false">
     173        <events>
     174            <trigger>
     175                <EventListener event=reachedend />
     176            </trigger>
     177        </events>
     178    </Script>
     179                        <!-- END OF GAME END -->
    157180
    158181
     
    163186        <DistanceTrigger name="reachedhomeplanet" position="-3000,12000,-6990" target="Pawn" distance=60 stayActive="true" delay=2>
    164187    </DistanceTrigger>
    165 
    166 
     188        <DistanceTrigger name="reachedend" position="-3000,12000,-6990" target="Pawn" distance=60 stayActive="true" delay=2>
     189    </DistanceTrigger>
    167190
    168191          <EventTrigger name="boxtrigger" activations="1" stayactive="true" delay=0.1>
     
    209232
    210233<!-- Box with Pickups -->
    211     <Pawn team=1 health=30 position="2200,1000,-600" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Something" >
     234    <Pawn team=1 health=30 position="0,0,-900" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Something" >
    212235        <events>
    213236          <visibility>
     
    221244            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
    222245        </collisionShapes>
     246        <controller>
     247                      <WaypointController team=1>
     248                    </WaypointController>
     249        </controller>
    223250    </Pawn>
    224251
    225 <Billboard position="2200,1000,-600" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">
     252<Billboard position="0,0,-900" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">
    226253          <events>
    227254            <visibility>
     
    584611
    585612
    586                                                         <!--Asteroids Random-->
     613                                                        <!--Asteroids Random
     614
     615                                "The game lags, when you're flying far away"
     616
    587617
    588618        <?lua for i=0,300,1 do
     
    601631        </MovableEntity>
    602632        <?lua end ?>
    603 
     633-->
    604634                                                        <!--Asteroids  Random end-->
    605635
    606636                                                        <!--Asteroid Elipse-->
     637<!-- LAAAGS :-(
     638
     639                                "The game lags, when you're flying far away"           
    607640
    608641    <?lua
     
    615648        asteroidBelt(-3000,12000,-10000, 30, 0, 30, 30, 50, 14000, 15000, 350, 1)
    616649    ?>
    617 
     650-->
    618651
    619652
     
    657690                                                        <!--Asteroid Elipse end-->
    658691
    659                                                         <!--Planet-->
     692                                                        <!--Planet sun-->
    660693    <Planet position="15000,0,0" scale=1500 pitch=-90 mesh="planets/sol.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=0 imagesize=1024.0f />
    661694    <StaticEntity position="2600,0,0" collisionType=static>
     
    738771      </collisionShapes>
    739772    </Planet>
     773<!-- LAAAGS :-(
     774
     775                                "The game lags, when you're flying far away"
    740776
    741777    <?lua
     
    743779        asteroidBelt(-20000,6000,7000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1)
    744780    ?>
     781-->
    745782                                                        <!-- Anotherplanet  END-->
    746783
     
    755792-->
    756793
    757         <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=0 mass="500" position="-2900,12080,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
     794        <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=0 mass="500"  pitch="90" roll="86" yaw="12" position="-2900,12080,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
    758795        <attached>
    759796                <Model scale="70" mesh="asteroid_ice.mesh"  shadow=false/>
     
    764801        </MovableEntity>
    765802
    766         <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" position="-3200,11950,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
     803        <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500"   pitch="30" roll="11" yaw="51" position="-3200,11950,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
    767804        <attached>
    768805                <Model scale="90" mesh="asteroid_ice.mesh"  shadow=false/>
     
    773810        </MovableEntity>
    774811
     812        <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500"  pitch="0" roll="12" yaw="81"  position="-2800,12150,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
     813        <attached>
     814                <Model scale="90" mesh="asteroid_ice.mesh"  shadow=false/>
     815         </attached>
     816         <collisionShapes>
     817                <SphereCollisionShape radius="90" />
     818        </collisionShapes>
     819        </MovableEntity>
     820
     821        <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500"  pitch="0" roll="0" yaw="0" position="-3300,11800,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
     822        <attached>
     823                <Model scale="155" mesh="asteroid_ice.mesh"  shadow=false/>
     824         </attached>
     825         <collisionShapes>
     826                <SphereCollisionShape radius="155" />
     827        </collisionShapes>
     828        </MovableEntity>
     829
     830
     831        <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500"  pitch="0" roll="0" yaw="12" position="-3230,12300,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
     832        <attached>
     833                <Model scale="150" mesh="asteroid_ice.mesh"  shadow=false/>
     834         </attached>
     835         <collisionShapes>
     836                <SphereCollisionShape radius="150" />
     837        </collisionShapes>
     838        </MovableEntity>
     839
     840        <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="13" roll="23"yaw="120" position="-3000,12000,-6820" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
     841        <attached>
     842                <Model scale="100" mesh="asteroid_ice.mesh"  shadow=false/>
     843         </attached>
     844         <collisionShapes>
     845                <SphereCollisionShape radius="100" />
     846        </collisionShapes>
     847        </MovableEntity>
     848
     849        <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="2" roll="12" yaw="43" position="-3250,12100,-6850" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
     850        <attached>
     851                <Model scale="70" mesh="asteroid_ice.mesh"  shadow=false/>
     852         </attached>
     853         <collisionShapes>
     854                <SphereCollisionShape radius="70" />
     855        </collisionShapes>
     856        </MovableEntity>
     857
     858        <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="0" roll="0" yaw="0"  position="-3230,11800,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
     859        <attached>
     860                <Model scale="85" mesh="asteroid_ice.mesh"  shadow=false/>
     861         </attached>
     862         <collisionShapes>
     863                <SphereCollisionShape radius="85" />
     864        </collisionShapes>
     865        </MovableEntity>
     866
    775867                                                        <!-- Homeplanet Architecture END-->
    776868
     869                                                        <!-- Portal-->
     870    <Template name=PortalDefault>
     871        <PortalEndPoint>
     872            <attached>
     873                <Model mesh="Spacegate.mesh" yaw="90"/>
     874            </attached>
     875        </PortalEndPoint>
     876    </Template>
     877
     878    <PortalEndPoint position="-3000,12000,-6990" id="1" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/>
     879    <PortalEndPoint position="-47000,-30000,30000" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/>
     880    <PortalLink fromID="1" toID="2" />
     881    <PortalLink fromID="2" toID="1" />
     882
     883
     884                                                        <!-- Portal END-->
     885
     886
     887        <!-- The Cave-->
     888<!-- verhaeltniss Cube.mesh <-> Crate.mesh 1:5 -->
     889
     890                                        <!-- 15 Boxes forward-->
     891 <?lua
     892    max = 15
     893    for i = 0, max, 1
     894    do
     895    y=(i*200)-47200
     896
     897    ?>
     898
     899    <?lua
     900    for j = 0, 2, 1
     901    do
     902    z =30200-(j*200)
     903    ?>   
     904   
     905    <?lua
     906    for k = 0, 1, 1
     907    do
     908    x =-30200+(k*400)
     909    ?>
     910
     911
     912
     913
     914  <StaticEntity position="<?lua print(y) ?>,<?lua print(x) ?>,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     915     <attached>
     916        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20"  />
     917      </attached>
     918      <collisionShapes>
     919        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     920
     921      </collisionShapes>
     922</StaticEntity>
     923
     924
     925    <?lua end ?>
     926    <?lua end ?>
     927    <?lua end ?>
     928
     929 <?lua
     930    max = 15
     931    for i = 0, max, 1
     932    do
     933    y=(i*200)-47200
     934
     935    ?>
     936    <?lua
     937    for j = 0, 1, 1
     938    do
     939    z =30200-(j*400)
     940    ?>   
     941  <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     942     <attached>
     943        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
     944      </attached>
     945      <collisionShapes>
     946        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     947
     948      </collisionShapes>
     949</StaticEntity>
     950    <?lua end ?>
     951    <?lua end ?>
     952
     953  <StaticEntity position="-47200,-30000,30000" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     954     <attached>
     955        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
     956      </attached>
     957      <collisionShapes>
     958        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     959
     960      </collisionShapes>
     961</StaticEntity>
     962
     963                                        <!-- 15 Boxes forward END -->
     964                                        <!-- 18 Boxes right-->
     965
     966 <?lua
     967    max = 18
     968    for i = 0, max, 1
     969    do
     970    z=29800+(i*200)
     971
     972    ?>
     973
     974    <?lua
     975    for j = 0, 2, 1
     976    do
     977    y = (j*200)-44000
     978    ?>   
     979   
     980    <?lua
     981    for k = 0, 1, 1
     982    do
     983    x =-30200+(k*400)
     984    ?>
     985
     986
     987
     988
     989  <StaticEntity position="<?lua print(y) ?>,<?lua print(x) ?>,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     990     <attached>
     991        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
     992      </attached>
     993      <collisionShapes>
     994        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     995
     996      </collisionShapes>
     997</StaticEntity>
     998
     999
     1000    <?lua end ?>
     1001    <?lua end ?>
     1002    <?lua end ?>
     1003
     1004 <?lua
     1005    max = 16
     1006    for i = 0, max, 1
     1007    do
     1008    z = 30200+(i*200)
     1009
     1010    ?>
     1011    <?lua
     1012    for j = 0, 1, 1
     1013    do
     1014     y = (j*400)-44000
     1015    ?>   
     1016  <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     1017     <attached>
     1018        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
     1019      </attached>
     1020      <collisionShapes>
     1021        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     1022
     1023      </collisionShapes>
     1024</StaticEntity>
     1025    <?lua end ?>
     1026    <?lua end ?>
     1027
     1028  <StaticEntity position="-43600,-30000,30000" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     1029     <attached>
     1030        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
     1031      </attached>
     1032      <collisionShapes>
     1033        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     1034
     1035      </collisionShapes>
     1036</StaticEntity>
     1037
     1038 <?lua
     1039    for i = 0, 2, 1
     1040    do
     1041    y = -44000+(i*200)
     1042
     1043    ?>
     1044  <StaticEntity position="<?lua print(y) ?>,-30000,29800" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     1045     <attached>
     1046        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
     1047      </attached>
     1048      <collisionShapes>
     1049        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     1050
     1051      </collisionShapes>
     1052</StaticEntity>
     1053
     1054    <?lua end ?>
     1055
     1056                                        <!-- 18 Boxes right END-->
     1057                                        <!-- 17 Boxes forward-->
     1058 <?lua
     1059    max = 17
     1060    for i = 0, max, 1
     1061    do
     1062    y=(i*200)-44000
     1063
     1064    ?>
     1065
     1066    <?lua
     1067    for j = 0, 2, 1
     1068    do
     1069    z =34000 - (j*200)
     1070    ?>   
     1071   
     1072    <?lua
     1073    for k = 0, 1, 1
     1074    do
     1075    x =-30200+(k*400)
     1076    ?>
     1077
     1078
     1079
     1080
     1081  <StaticEntity position="<?lua print(y) ?>,<?lua print(x) ?>,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     1082     <attached>
     1083        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
     1084      </attached>
     1085      <collisionShapes>
     1086        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     1087
     1088      </collisionShapes>
     1089</StaticEntity>
     1090
     1091
     1092    <?lua end ?>
     1093    <?lua end ?>
     1094    <?lua end ?>
     1095
     1096 <?lua
     1097    max = 15
     1098    for i = 0, max, 1
     1099    do
     1100    y=(i*200)-43600
     1101
     1102    ?>
     1103
     1104    <?lua
     1105    for j = 0, 0, 1
     1106    do
     1107    z =34000 - (i*5.5)
     1108    ?>
     1109
     1110  <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     1111     <attached>
     1112        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
     1113      </attached>
     1114      <collisionShapes>
     1115        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     1116
     1117      </collisionShapes>
     1118</StaticEntity>
     1119
     1120    <?lua end ?>
     1121    <?lua end ?>
     1122 <?lua
     1123    max = 15
     1124    for i = 0, max, 1
     1125    do
     1126    y=(i*200)-43600
     1127
     1128    ?>
     1129
     1130    <?lua
     1131    for j = 0, 0, 1
     1132    do
     1133    z =33600 + (i*5.5)
     1134    ?>
     1135
     1136  <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     1137     <attached>
     1138        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
     1139      </attached>
     1140      <collisionShapes>
     1141        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     1142
     1143      </collisionShapes>
     1144</StaticEntity>
     1145    <?lua end ?>
     1146    <?lua end ?>
     1147
     1148
     1149 <?lua
     1150    for i = 0, 1, 1
     1151    do
     1152    y = -44000+(i*200)
     1153
     1154    ?>
     1155  <StaticEntity position="<?lua print(y) ?>,-30000,34000" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     1156     <attached>
     1157        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
     1158      </attached>
     1159      <collisionShapes>
     1160        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     1161
     1162      </collisionShapes>
     1163</StaticEntity>
     1164
     1165    <?lua end ?>
     1166
     1167  <StaticEntity position="-44000,-30000,33800" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     1168     <attached>
     1169        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
     1170      </attached>
     1171      <collisionShapes>
     1172        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     1173
     1174      </collisionShapes>
     1175</StaticEntity>
     1176
     1177  <StaticEntity position="-44000,-30000,33600" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     1178     <attached>
     1179        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
     1180      </attached>
     1181      <collisionShapes>
     1182        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     1183
     1184      </collisionShapes>
     1185</StaticEntity>
     1186                                        <!-- 17 Boxes forward END-->
     1187    <Billboard position="-40600,-30000,33800" material="Flares/backlightflare" colour="0,1.4,2.1" scale=10 />
     1188
     1189  <StaticEntity position="-40400,-30000,33800" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
     1190     <attached>
     1191        <Model position="0,0,0" mesh="cube_green.mesh" scale3D="100,100,100" />
     1192      </attached>
     1193      <collisionShapes>
     1194        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
     1195
     1196      </collisionShapes>
     1197</StaticEntity>
     1198
     1199        <!-- The Cave END-->
    7771200
    7781201  </Scene>
  • code/branches/levelElias/data/levels/missionOne.oxw

    r9348 r9810  
     1<!-- -->
    12<LevelInfo
    23 name = "Mission One"
  • code/branches/levelElias/data/levels/templates/lodInformation.oxt

    r9526 r9810  
    1717      <MeshLodInformation mesh=turretHead.mesh enabled=false />
    1818      <MeshLodInformation mesh=LaserBeam.mesh enabled=false/>
     19      <MeshLodInformation mesh=asteroid_ice.mesh enabled=false/>
     20      <MeshLodInformation mesh=ast1.mesh  lodQuality=0.1/>
     21      <MeshLodInformation mesh=ast2.mesh  lodQuality=0.1/>
     22      <MeshLodInformation mesh=ast3.mesh  lodQuality=0.1/>
     23      <MeshLodInformation mesh=ast4.mesh  lodQuality=0.1/>
     24      <MeshLodInformation mesh=ast5.mesh  lodQuality=0.1/>
     25      <MeshLodInformation mesh=ast6.mesh  lodQuality=0.1/>
     26
     27
     28
     29
     30
     31
     32
     33
    1934
    2035      <!-- disable LOD for some debris meshes which caused a crash (fixed in Ogre 1.7.3) -->
Note: See TracChangeset for help on using the changeset viewer.