Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2014, 5:17:54 PM (11 years ago)
Author:
flsueess
Message:

alle collisionshapes fertig

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/weaponupdateHS14/data/levels/FPS_Level_HS14.oxw

    r10155 r10169  
    1 <!--  -->
     1<!--FPS mode level
     2        autor: Florian Süess-->
    23<LevelInfo
    34 name = "FPS Level HS14"
     
    102103
    103104
    104 <!-- Docking  I -->
    105     <Dock position="2830,20,50" roll=0 yaw=0 >
    106         <animations>
    107             <MoveToDockingTarget target="fistperson" />
    108         </animations>
    109         <effects>
    110             <DockToShip target="fistperson" />
    111         </effects>
    112         <events>
    113             <execute>
    114                 <EventListener event="dockMe" />
    115             </execute>
    116 
    117 <!--    <undocking>
    118                 <EventListener event="undockMe" />
    119             </undocking> -->
    120        
    121         </events>
    122         <attached>
    123 
    124         <!-- Trigger for docking with billboard  -->
    125        
    126             <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
    127             <DistanceTrigger position="0,0,0" distance="200" target="Pawn"
    128                 beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
    129             />
    130 
    131         <!-- Trigger for undocking with billboard  -->
    132        
    133             <Billboard position="-2800,-20055,-700" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
    134             <DistanceTrigger position="-2800,-20055,-700" distance="150" target="Pawn"
    135                 beaconMode="identify" targetname="bcnDestroyer" name="undockMe"
    136             />
    137         </attached>
    138 
    139     </Dock>
    140    
    141 
    142 <!-- FPS Player as destination of the dock -->
    143 <!-- My position after docking -->
    144 
    145     <FpsPlayer template = "fps_HS14" radarname = "First Person Player" position = "500,-20000,0"  >
    146         <!--"500,-20000,0"-->
    147       <attached>
    148         <DistanceTriggerBeacon name="bcnDestroyer" />
    149         <DockingTarget name="fistperson" />
    150       </attached>
    151     </FpsPlayer>
    152 
    153 
    154 
    155 
    156 <!-- Docking  II -->
    157     <Dock position="-840,-20055,1.8" roll=0 yaw=0 >
    158         <animations>
    159             <MoveToDockingTarget target="spaceShip" />
    160         </animations>
    161         <effects>
    162             <DockToShip target="spaceShip" />
    163         </effects>
    164         <events>
    165             <execute>
    166                 <EventListener event="dockMe" />
    167             </execute>
    168 
    169             <undocking>
    170                 <EventListener event="undockMe" />
    171             </undocking>
    172        
    173         </events>
    174         <attached>
    175        
    176         <!-- Trigger for docking with billboard -->
    177             <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 />
    178             <DistanceTrigger position="0,0,0" distance="200" target="Pawn"
    179                 beaconMode="exclude" targetname="bcnSpaceShip" name="dockMe"
    180             />
    181         <!-- Trigger for undocking with billboard -->
    182             <Billboard position="4140,20055,-295" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 />
    183             <DistanceTrigger position="4140,20055,-295" distance="300" target="Pawn"
    184                 beaconMode="identify" targetname="bcnSpaceShip" name="undockMe"
    185             />
    186         </attached>
    187 
    188     </Dock>
     105        <!-- Docking I -->
     106            <Dock position="2830,20,50" roll=0 yaw=0 >
     107                <animations>
     108                    <MoveToDockingTarget target="fistperson" />
     109                </animations>
     110                <effects>
     111                    <DockToShip target="fistperson" />
     112                </effects>
     113                <events>
     114                    <execute>
     115                        <EventListener event="dockMe" />
     116                    </execute>
     117
     118                    <undocking>
     119                        <EventListener event="undockMe" />
     120                    </undocking>
     121               
     122                </events>
     123                <attached>
     124                <!-- Trigger for docking with billboard -->
     125                    <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
     126                    <DistanceTrigger position="0,0,0" distance="200" target="Pawn"
     127                        beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
     128                    />
     129                <!-- Trigger for undocking with billboard -->
     130                    <Billboard position="-2800,-20055,-700" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
     131                    <DistanceTrigger position="-2800,-20055,-700" distance="150" target="Pawn"
     132                        beaconMode="identify" targetname="bcnDestroyer" name="undockMe"
     133                    />
     134                </attached>
     135
     136            </Dock>
     137           
     138        <!-- FPS Player as destination of the dock -->
     139        <!-- My position after docking -->
     140            <FpsPlayer template = "fps_HS14" radarname = "First Person Player" position = "1330,-20016,0" >
     141              <attached>
     142                <DistanceTriggerBeacon name="bcnDestroyer" />
     143                <DockingTarget name="fistperson" />
     144              </attached>
     145            </FpsPlayer>
     146
     147
     148
     149
     150        <!-- Docking  II -->
     151            <Dock position="160,-20055,-700" roll=0 yaw=0 >
     152                <animations>
     153                    <MoveToDockingTarget target="spaceShip" />
     154                </animations>
     155                <effects>
     156                    <DockToShip target="spaceShip" />
     157                </effects>
     158                <events>
     159                    <execute>
     160                        <EventListener event="dockMe" />
     161                    </execute>
     162
     163                    <undocking>
     164                        <EventListener event="undockMe" />
     165                    </undocking>
     166               
     167                </events>
     168                <attached>
     169                <!-- Trigger for docking with billboard -->
     170                    <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 />
     171                    <DistanceTrigger position="0,0,0" distance="200" target="Pawn"
     172                        beaconMode="exclude" targetname="bcnSpaceShip" name="dockMe"
     173                    />
     174                <!-- Trigger for undocking with billboard -->
     175                    <Billboard position="4140,20055,-295" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 />
     176                    <DistanceTrigger position="4140,20055,-295" distance="300" target="Pawn"
     177                        beaconMode="identify" targetname="bcnSpaceShip" name="undockMe"
     178                    />
     179                </attached>     
     180         </Dock>
    189181
    190182 <!-- Enemy ships -->
     
    265257<!-- Hilfsobjekte fuer Koordinatensystem -->
    266258
    267 <Model position="0,0,0" mesh="cube_red.mesh" scale3D="10000,10,10" />
     259<!-- The axis from the coordinatesystem are "red,green,yellow" and the orange boxe shows the negative direction.
     260         But atention, each element is different! A few of them are already rotatet with yaw, roll and pitch:
     261         -> "pitch" is a rotation around "red" in the "yellow, green" plain.
     262         -> "yaw" is a rotation around "green" in the "red, yellow" plain.
     263         -> "roll" is a rotation around "yellow" in the "green,red" plain.
     264         this chanches their negativ/positiv direction of the axis.
     265         -->
     266                       
     267
     268<!--<Model position="0,0,0" mesh="cube_red.mesh" scale3D="10000,10,10" />
    268269<Model position="0,0,0" mesh="cube_green.mesh" scale3D="10,10000,10" />
    269270<Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10000" />
     
    279280<Model position="0,-20100,0" mesh="cube_orange.mesh" scale3D="15,15,15" />
    280281<Model position="-100,-20000,0" mesh="cube_orange.mesh" scale3D="15,15,15" />
    281 <Model position="0,-20000,-100" mesh="cube_orange.mesh" scale3D="15,15,15" />
    282 
    283 
     282<Model position="0,-20000,-100" mesh="cube_orange.mesh" scale3D="15,15,15" /> -->
     283
     284
     285<!-- Spacestation elements merged -->
    284286<StaticEntity position="0,-20000,0" direction="0,-1,0" collisionType=static mass=100000 friction=0.01 pitch=-90>
    285287     
     
    288290        <Model template = "ss_flag_room" position="750,-16,0"   yaw=180 />
    289291       
    290         <Model template = "ss_machine" position="1545,190,370"  yaw=32  pitch=180 />
    291         <Model template = "ss_flag_aean" position="1330,16,0"   pitch=180 />
    292        
    293         <Model template = "ss_tube"             position="500,0,0" />
    294         <Model template = "ss_curve"    position="-200,0,0" yaw=180 />
    295         <Model template = "ss_tube_x"   position="-200,0,600" />
    296 
    297 <!--<Model template     = "ss_curve"    position="-200,0,0" yaw=180 />
    298         <Model template = "ss_curve"    position="-10,0,700" yaw=0 />
    299         <Model template = "ss_tube"             position="-700,0,700" />
    300         <Model template = "ss_tube_x"   position="1200,0,0" />-->
    301        
    302        
    303        
    304  <!--   <Model position="0,0,0" mesh="ss_tube.mesh" scale3D="100,100,100" />
    305         <Model position="500,0,0" mesh="ss_tube.mesh" scale3D="100,100,100" />
    306         <Model position="1200,0,0" mesh="ss_tube_x.mesh" scale3D="100,100,100" />
    307         <Model position="1900,0,0" mesh="ss_curve.mesh" scale3D="100,100,100" />
    308         <Model position="1200,0,703.5" mesh="ss_curve.mesh" scale3D="100,100,100" />
    309         <Model position="1805.0,0,-800" mesh="ss_curve.mesh" scale3D="100,100,100" yaw=90 />
    310         <Model position="1010.0,0,-700.0" mesh="ss_curve.mesh" scale3D="100,100,100" yaw=-180 />
    311        
    312        
    313         <Model position="750,-16,703.5" pitch=-90 mesh="ss_flag_room.mesh" scale3D="100,100,100" />
    314         <Model position="-250,-16,0" pitch=-90 mesh="ss_flag_room.mesh" scale3D="100,100,100" />
    315         <Model position="1200,100,-100" roll=180 mesh="ss_machine.mesh" scale3D="0.15,0.15,0.15" />
    316         <Model position="-100,100,0" roll=180 mesh="ss_table.mesh" scale3D="25,25,25" />
    317         <Model position="-300,100,0" roll=180 mesh="ss_table_cracked.mesh" scale3D="25,25,25" />
    318         <Model position="600,75,0" roll=180 mesh="ss_cylinder.mesh" scale3D="25,25,25" />
    319         <Model position="300,50,0" roll=180  pitch=20 mesh="ss_chair.mesh" scale3D="20,20,20" />
    320         <Model position="1000,50,0" roll=180 mesh="ss_wall.mesh" scale3D="20,20,20" />
    321         <Model position="-830,20,0" roll=180 mesh="ss_flag_aean.mesh" scale3D="40,40,40" />
    322 -->
    323 
    324 <!-- <Model mesh="cube.mesh" mass=10 position="0,-100,0" scale3D="5000,0.5,1000" yaw=0 />
    325     <Model mesh="cube.mesh" mass=10 position="0,100,0" scale3D="2000,0.5,1000" yaw=0 />
    326     <!--Model mesh="cube.mesh" mass=10 position="0,0,100" scale3D="5000,100,0.5" yaw=0 />
    327     <Model mesh="cube.mesh" mass=10 position="0,0,-100" scale3D="5000,100,0.5" yaw=0 />
    328       </attached>
    329       <collisionShapes>
    330         <BoxCollisionShape position="0,-100,0" halfExtents="5000,0,1000"/>
    331             <BoxCollisionShape position="0,100,0" halfExtents="2000,0,1000" />
    332             <BoxCollisionShape position="0,0,100" halfExtents="5000,100,0" />
    333             <BoxCollisionShape position="0,0,-100" halfExtents="5000,100,0" />
    334       </collisionShapes>
    335 -->
     292        <Model template = "ss_machine"   position="1545,190,370"        yaw=32  pitch=180 />
     293        <Model template = "ss_flag_aean" position="1330,16,0"           pitch=180 />
     294        <Model template = "ss_chair"     position="1700,145,0" />
     295       
     296        <Model template = "ss_tube"              position="500,0,0" />
     297        <Model template = "ss_table"     position="650,100,0" />
     298        <Model template = "ss_cylinder"  position="0,75,0" />
     299       
     300        <Model template = "ss_curve"     position="-200,0,0"    yaw=180 />
     301        <Model template = "ss_tube_x"    position="-10,0,700" />
     302         
     303        <Model template = "ss_curve"     position="-905,0,700"  yaw=180 />
     304        <Model template = "ss_curve"     position="-810,0,1500" yaw=270/>
     305        <Model template = "ss_curve"     position="-10,0,1405"  yaw=0 />
     306         
     307        <Model template = "ss_wall"                     yaw=0   position="250,20,700" />
     308        <Model template = "ss_table_cracked"    yaw=0   position="-110,100,700" />
     309
     310               
    336311 </attached>
    337312  </StaticEntity>
    338 
    339 
    340 <!--       
    341 
    342 -->
    343 
    344 
    345   <!--Model position="2820,-20,-160" yaw="90" pitch="-90" roll="0" scale="10" mesh="ss_tube.mesh" />
    346   <Model position="2820,-20,-210" yaw="90" pitch="-90" roll="0" scale="10" mesh="ss_tube.mesh" />
    347   <Model position="2820,-20,-280" yaw="90" pitch="-90" roll="0" scale="10" mesh="ss_curve.mesh" />
    348   <Model position="2820,-100,-270.5" yaw="0" pitch="180" roll="90" scale="10" mesh="ss_curve.mesh" /-->
    349  
     313       
    350314   
    351315<!-- Homogenous gravitationfield to simulate local gravity (activating the normal gravity will affect the spaceship terribly) -->
Note: See TracChangeset for help on using the changeset viewer.