Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 17, 2016, 8:40:05 PM (9 years ago)
Author:
fvultier
Message:

Fixed errors with pickups.

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

Legend:

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

    r11168 r11169  
    2525?>
    2626
    27 <?lua
    28     include("templates/pickupRepresentationTemplates.oxt")
    29     include("includes/pickups.oxi")
    30  ?>
    31 
    3227<Template name=destroyhoverpickupRepresentation>
    3328    <PickupRepresentation>
     
    4641</Template>
    4742
    48 <Template name=destroymetapickup baseclass=MetaPickup>
    49   <MetaPickup representation="destroy" metaType="destroy" />
     43<Template name=destroyhoverpickup baseclass=MetaPickup>
     44  <MetaPickup representation="destroyhover" metaType="destroy" />
    5045</Template>
    51 
    52 <PickupRepresentation
    53     name = "destroyhover"
    54     pickupName = "Destroy Carrier Pickup"
    55     pickupDescription = "destroys you."
    56     spawnerTemplate = "destroyhoverpickupRepresentation"
    57     inventoryRepresentation = "destroyCarrierPickup"
    58 />
    59 
    6046
    6147<Level
     
    6652    <Template link=lodtemplate_default />
    6753  </templates>
     54
    6855  <?lua include("includes/notifications.oxi") ?>
    6956
     
    7764  >
    7865
     66    <PickupRepresentation
     67      name = "destroyhover"
     68      pickupName = "Destroy Hover Pickup"
     69      pickupDescription = "destroys you."
     70      spawnerTemplate = "destroyhoverpickupRepresentation"
     71      inventoryRepresentation = "destroyHoverPickup"
     72    />
     73
    7974    <StaticEntity position="0,0,0" collisionType="static">
    8075      <attached>
     
    8378          cellSize="<?lua print(MAZE_CELL_SIZE)?>"
    8479          cellHeight="<?lua print(MAZE_CELL_HEIGHT)?>"
    85           pickuptemplate=destroyhoverpickupRepresentation
    86           pickupbase=destroymetapickup
     80          pickuptemplate=destroyhoverpickup
     81          pickuprepresentationtemplate=destroyhoverpickupRepresentation
    8782        />
    8883        <Model
  • code/branches/tgidronFS16/data/overlays/HoverHUD.oxo

    r11168 r11169  
    7676     showpoints     = true
    7777    />
    78 
    79    
    8078  </OverlayGroup>
    81 
    82  </OverlayGroup>
    83 
    8479
    8580</Template>
Note: See TracChangeset for help on using the changeset viewer.