Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 13, 2010, 3:32:34 PM (15 years ago)
Author:
dafrick
Message:

Started documenting MetaPcikup, resolved some bugs in PickupCollection and PickupCollectionIdentifier.

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

Legend:

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

    r6498 r6519  
    3838    </pickup>
    3939</PickupRepresentation>
     40
     41<PickupRepresentation
     42    name = "Double Pickup"
     43    description = "Does stuff."
     44    spawnerTemplate = "crazyhealthpickupRepresentation"
     45>
     46    <pickup>
     47        <PickupCollection template=doublepickup />
     48    </pickup>
     49</PickupRepresentation>
  • code/branches/pickup3/data/levels/pickup.oxw

    r6518 r6519  
    3737    <PickupSpawner position="-50,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
    3838        <pickup>
    39             <HealthPickup health=50 healthRate=5 durationType=continuous activationType=onUse healthType=limited />
     39            <HealthPickup health=50 healthRate=5 durationType=continuous activationType=onUse healthType=permanent />
    4040        </pickup>
    4141    </PickupSpawner>
     
    6464        </pickup>
    6565    </PickupSpawner>
     66   
     67    <PickupSpawner position="75,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
     68        <pickup>
     69            <PickupCollection template=doublepickup />
     70        </pickup>
     71    </PickupSpawner>
    6672
    6773    <!--PickupSpawner position="100,100,100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
  • code/branches/pickup3/data/levels/templates/pickup_representation_templates.oxt

    r6512 r6519  
    9898  />
    9999</Template>
     100
     101<Template name=doublepickup>
     102    <PickupCollection>
     103        <pickupables>
     104            <HealthPickup template=smallhealthpickup />
     105            <HealthPickup health=50 healthRate=5 durationType=continuous activationType=immediate healthType=limited />
     106        </pickupables>
     107    </PickupCollection>
     108</Template>
     109   
Note: See TracChangeset for help on using the changeset viewer.