Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 2, 2010, 5:35:14 PM (15 years ago)
Author:
dafrick
Message:

Lua bugs fixed.
Renamed name and description in PickupRepresentation to pickupName and pickupDescription to avoid problems.
More work on PickupInventory.

Location:
code/branches/pickup4/data/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup4/data/levels/includes/pickups.oxi

    r6524 r6675  
    11<PickupRepresentation
    2     name = "Small Health Boost"
    3     description = "Adds a small amout of health to the ship."
     2    pickupName = "Small Health Boost"
     3    pickupDescription = "Adds a small amout of health to the ship."
    44    spawnerTemplate = "smallhealthpickupRepresentation"
    55>
     
    1010
    1111<PickupRepresentation
    12     name = "Medium Health Boost"
    13     description = "Adds a medium amout of health to the ship."
     12    pickupName = "Medium Health Boost"
     13    pickupDescription = "Adds a medium amout of health to the ship."
    1414    spawnerTemplate = "mediumhealthpickupRepresentation"
    1515>
     
    2020
    2121<PickupRepresentation
    22     name = "Huge Health Boost"
    23     description = "Adds a huge amout of health to the ship."
     22    pickupName = "Huge Health Boost"
     23    pickupDescription = "Adds a huge amout of health to the ship."
    2424    spawnerTemplate = "hugehealthpickupRepresentation"
    2525>
     
    3030
    3131<PickupRepresentation
    32     name = "Crazy Madness Health Boost"
    33     description = "Adds a crazy amout of health to the ship."
     32    pickupName = "Crazy Madness Health Boost"
     33    pickupDescription = "Adds a crazy amout of health to the ship."
    3434    spawnerTemplate = "crazyhealthpickupRepresentation"
    3535>
     
    4040
    4141<PickupRepresentation
    42     name = "Double Pickup"
    43     description = "Does stuff."
     42    pickupName = "Double Pickup"
     43    pickupDescription = "Does stuff."
    4444    spawnerTemplate = "crazyhealthpickupRepresentation"
    4545>
  • code/branches/pickup4/data/levels/pickup.oxw

    r6524 r6675  
    3737    <PickupSpawner position="-50,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
    3838        <pickup>
    39             <HealthPickup health=50 healthRate=5 durationType=continuous activationType=immediate healthType=permanent />
     39            <HealthPickup health=50 healthRate=5 durationType=continuous activationType=onUse healthType=permanent />
     40        </pickup>
     41    </PickupSpawner>
     42   
     43    <PickupSpawner position="-50,0,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
     44        <pickup>
     45            <HealthPickup health=50 healthRate=5 durationType=continuous activationType=onUse healthType=permanent />
    4046        </pickup>
    4147    </PickupSpawner>
Note: See TracChangeset for help on using the changeset viewer.