Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 19, 2016, 5:50:36 PM (9 years ago)
Author:
tgidron
Message:

New Floor, Level HUD, Pickups work

Location:
code/branches/tgidronFS16/data
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tgidronFS16/data/levels/Hover.oxw

    r11184 r11192  
    2525MAZE_SIZE = MAZE_NUM_CELLS*MAZE_CELL_SIZE
    2626?>
    27 <!--
    28 <Template name=mediumdamagehoverpickupRepresentation>
    29     <PickupRepresentation>
    30         <spawner-representation>
    31             <StaticEntity>
    32                 <attached>
    33                     <Billboard position="0,0,0" colour="0.95,0.10,0.05" material="Sphere2" scale=0.1 >
    34                         <attached>
    35                             <Billboard position="0,0,0" colour="0.70,0.10,0.10" material="Damage" scale=0.5 />
    36                         </attached>
    37                     </Billboard>
    38                 </attached>
    39             </StaticEntity>
    40         </spawner-representation>
    41     </PickupRepresentation>
    42 </Template>
    43 
    44 <Template name=damagehover baseclass=DamageBoostPickup>
    45   <DamageBoostPickup
    46     representation = "mediumdamagehoverpickup"
    47     duration = 10.0
    48     damageMultiplier = 5.0
    49     activationType = "immediate"
    50     durationType = "continuous"
    51   />
    52 </Template> -->
    5327
    5428<!-- Shrink Pickup Representation -->
     
    5933            <StaticEntity>
    6034                <attached>
    61                     <Billboard position="0,50,0" colour="1.0,0.55,1.0" material="Sphere2" scale=1>
     35                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.5>
    6236                        <attached>
    6337                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.35 />
     
    7549    representation = "smallshrinkpickup"
    7650    duration = 10.0
    77     shrinkFactor = 2.5
     51    shrinkFactor = 2
    7852    activaionType = "immediate"
    7953    durationType = "continuous"
     
    8862            <StaticEntity>
    8963                <attached>
    90                     <Billboard position="0,50,0" colour="0.99,0.96,0.52" material="Sphere2" scale=1>
     64                    <Billboard position="0,0,0" colour="0.99,0.96,0.52" material="Sphere2" scale=0.5>
    9165                        <attached>
    9266                            <Billboard position="0,0,0" colour="0.98,0.94,0.22" material="3arrowsup" scale=0.7 />
     
    10478    duration = 10.0
    10579    speedAdd = 0.0
    106     SpeedMultiply = 50.0
     80    SpeedMultiply = 5.0
    10781    activationType = "immediate"
    10882    durationType = "continuous"
     
    11791            <StaticEntity>
    11892                <attached>
    119                     <Billboard position="0,50,0" colour="0.6,0.⁰,0.8" material="Sphere2" scale=1>
     93                    <Billboard position="0,0,0" colour="0.6,0.⁰,0.8" material="Sphere2" scale=0.5>
    12094                        <attached>
    12195                            <Billboard position="0,0,0" colour="0.6,0.⁰,0.8" material="Asterisk" scale=0.65 />
     
    135109
    136110<Template name=obstacle baseclass=Pawn>
    137     <Pawn team=1 health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 4" >
     111    <Pawn team=1 health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=10000000000000 name=box RVName = "Box 4" >
    138112        <attached>
    139             <Model position="0,50,0" mesh="crate.mesh" scale3D="15,15,15" />
     113            <Model position="0,0,0" mesh="crate.mesh" scale3D="15,15,15" />
    140114        </attached>
    141115        <collisionShapes>
     
    145119</Template>
    146120
     121<!-- Ground Template -->
     122
     123<Template name=ground baseclass=StaticEntity>
     124    <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000000 friction=0.01 >
     125      <attached>
     126        <Model position="0,0,0" mesh="CubeGround.mesh" scale3D="300,20,300" />
     127      </attached>
     128      <collisionShapes>
     129        <BoxCollisionShape position="0,0,0" halfExtents="300,10,300" />
     130      </collisionShapes>
     131    </StaticEntity>
     132</Template>
    147133
    148134<Level
     
    156142  <?lua include("includes/notifications.oxi") ?>
    157143
    158 
    159   <?lua
    160       for i = 1, 10, 1 do
    161           for j = 1,10 ,1 do
    162   ?>
    163 
    164   <StaticEntity position="0,0,0" collisionType="static">
    165     <attached>
    166       <Model
    167         position="<?lua print(MAZE_CELL_SIZE*i)?>, -16, <?lua print(MAZE_CELL_SIZE*j)?>"
    168         scale3D="<?lua print(MAZE_CELL_SIZE*i)?>, 16, <?lua print(MAZE_CELL_SIZE*j)?>"
    169         mesh="CubeGround.mesh"
    170         />
    171     </attached>
    172       <collisionShapes>
    173         <BoxCollisionShape
    174           position="<?lua print(MAZE_CELL_SIZE*i)?>, <?lua print(MAZE_CELL_HEIGHT+1)?>, <?lua print(MAZE_CELL_SIZE*j)?>"
    175           halfExtents="<?lua print(MAZE_CELL_SIZE*i)?>,1,<?lua print(MAZE_CELL_SIZE*j)?>"
    176         />
    177         <BoxCollisionShape
    178           position="<?lua print(MAZE_CELL_SIZE*i)?>,-1,<?lua print(MAZE_CELL_SIZE*j)?>"
    179           halfExtents="<?lua print(MAZE_CELL_SIZE*i)?>,1,<?lua print(MAZE_CELL_SIZE*j)?>"
    180         />
    181       </collisionShapes>
    182 
    183   <?lua
    184       end
    185     end
    186    ?>
    187 
    188   </StaticEntity>
    189 
    190144  <Scene
    191145    ambientlight = "0.8, 0.8, 0.8"
     
    217171      inventoryRepresentation = "SmallShrink"
    218172    />
    219 <!--
    220     <PickupRepresentation
    221       name = "damagehover"
    222       pickupName = "Medium Damage Hover Pickup"
    223       pickupDescription = "Multiplies the ship damage with 5."
    224       spawnerTemplate = "mediumdamagehoverpickupRepresentation"
    225       inventoryRepresentation = "MediumDamageHover"
    226     /> -->
    227173
    228174    <StaticEntity position="0,0,0" collisionType="static">
     
    239185          pickuptemplateshrink=smallshrinkpickup
    240186          pickuprepresentationtemplateshrink=smallshrinkpickupRepresentation
     187          groundtemplate=ground
    241188        />
    242         </attached>
    243        
     189
     190      </attached>
     191     
    244192    </StaticEntity>
    245193
     
    262210  </Scene>
    263211</Level>
    264 
    265 
    266 
    267 <!--<<Model
    268           position="<?lua print(MAZE_SIZE/2)?>,-16,<?lua print(MAZE_SIZE/2)?>"
    269           scale3D="<?lua print(MAZE_SIZE/2)?>,16,<?lua print(MAZE_SIZE/2)?>"
    270           mesh="ss_wall.mesh"
    271         />
    272       </attached>
    273      
    274       <collisionShapes>
    275         <BoxCollisionShape
    276           position="<?lua print(MAZE_SIZE/2)?>,<?lua print(MAZE_CELL_HEIGHT+1)?>,<?lua print(MAZE_SIZE/2)?>"
    277           halfExtents="<?lua print(MAZE_SIZE/2)?>,1,<?lua print(MAZE_SIZE/2)?>"
    278         />
    279         <BoxCollisionShape
    280           position="<?lua print(MAZE_SIZE/2)?>,-1,<?lua print(MAZE_SIZE/2)?>"
    281           halfExtents="<?lua print(MAZE_SIZE/2)?>,1,<?lua print(MAZE_SIZE/2)?>"
    282         />
    283       </collisionShapes> -->
  • code/branches/tgidronFS16/data/levels/includes/weaponSettingsHover.oxi

    r11184 r11192  
    1414    </links>
    1515    <Weapon>
    16       <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=9.3 material="Flares/point_lensflare" muzzleoffset=" 1, 1,-18 " projectileMesh="LaserBeam2.mesh" />
     16      <HsW01 mode=0 munitionpershot=0 delay=0.125 speed=2000.0f damage=9.3 material="Flares/point_lensflare" muzzleoffset=" 1, 1,-50 " projectileMesh="LaserBeam2.mesh" />
    1717    </Weapon>
    1818    <Weapon>
    19       <EnergyDrink mode=0 munitionpershot=0 delay=0 damage=9.3 material="Flares/point_lensflare" muzzleoffset=" 0.8, 1, -18.0" projectileMesh="LaserBeam2.mesh" />
     19      <HsW01 mode=0 munitionpershot=0 delay=0.125 speed=2000.0f damage=9.3 material="Flares/point_lensflare" muzzleoffset=" 0.8, 1,-50" projectileMesh="LaserBeam2.mesh" />
    2020    </Weapon>
    2121  </WeaponPack>
     
    2727</weaponpacks> 
    2828<munition>
    29   <LaserMunition initialmagazines=1 maxmagazines=1 munitionpermagazine=10/>
    30   <FusionMunition initialmagazines=1 maxmagazines=1 munitionpermagazine=10/>
     29  <LaserMunition initialmagazines=2 maxmagazines=2 munitionpermagazine=20/>
    3130</munition>
  • code/branches/tgidronFS16/data/levels/templates/spaceshipHover.oxt

    r11184 r11192  
    2222   rotationThrust    = 45
    2323
    24    jumpBoost = 230
     24   jumpBoost = 450
    2525
    2626   lift = 1;
     
    3333
    3434   collisionType     = "dynamic"
    35    mass              = 100000
     35   mass              = 1000000
    3636   linearDamping     = 0.2
    3737   angularDamping    = 0.9999999
     
    4747    </attached>
    4848    <collisionShapes>
    49       <BoxCollisionShape position="0,-12, 42" halfExtents="42, 24 ,180" />
     49      <BoxCollisionShape position="0,-12, 42" halfExtents="49, 24 ,180" />
    5050    </collisionShapes>
    5151    <explosion>
    5252      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" />
    53       <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" scale=2 />
     53      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" scale=12 />
    5454      <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" />
    5555
     
    8181   speedfront     = 1400
    8282   speedback      =  800
    83    speedleftright =  600
    84    speedupdown    =  600
     83   speedleftright =  700
     84   speedupdown    =  700
    8585
    8686   accelerationfront     = 1000
    8787   accelerationbrake     = 1000
    8888   accelerationback      =  250
    89    accelerationleftright =  250
     89   accelerationleftright =  350
    9090   accelerationupdown    =  125
    9191  >
  • code/branches/tgidronFS16/data/overlays/HoverHUD.oxo

    r11177 r11192  
    4545    </HUDHealthBar>
    4646
    47    
    48     <HUDNavigation
    49      name          = "Navigation"
    50      correctaspect = true
    51      font          = "Monofur"
    52      textsize      = 0.02
    53      navMarkerSize = 0.03
    54      aimMarkerSize = 0.02
    55     />
    5647
    5748
Note: See TracChangeset for help on using the changeset viewer.