Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 10, 2010, 4:23:29 PM (14 years ago)
Author:
benedict
Message:

did the shield pickup. upload for testing

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

Legend:

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

    r6725 r6884  
     1<!-- Shield pickups -->
     2
     3<PickupRepresentation
     4    pickupName = "Super Shield Pickup"
     5    pickupDescription = "Gives you a shield with 1000000 helath points for 5 minutes"
     6    inventoryRepresentation = "SmallHealth"
     7    spawnerTemplate = "supershieldpickupRepresentation"
     8>
     9    <pickup>
     10        <ShieldPickup template=supershieldpickup />
     11    </pickup>
     12</PickupRepresentation>
    113
    214<!-- Health pickups -->
  • code/branches/ppspickups3/data/levels/pickup.oxw

    r6731 r6884  
    2626    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    2727
     28
     29    <!-- Shield pickups -->
     30   
     31    <PickupSpawner position="-50,50,-100" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
     32        <pickup>
     33            <ShieldPickup template=supershieldpickup />
     34        </pickup>
     35    </PickupSpawner>
     36   
    2837    <!-- Health pickups -->
    2938   
  • code/branches/ppspickups3/data/levels/templates/pickup_representation_templates.oxt

    r6712 r6884  
     1<!-- Shield pickups: -->
     2
     3<Template name=supershieldpickupRepresentation>
     4    <PickupRepresentation>
     5        <spawner-representation>
     6            <StaticEntity>
     7                <attached>
     8                    <Billboard position="0,0,0" colour="1,1,1" material="Sphere2" scale=0.1>
     9                        <attached>
     10                            <Billboard position="0,0,0" colour="1,1,1" material="Shield" scale=10 />
     11                        </attached>
     12                    </Billboard>
     13                </attached>
     14            </StaticEntity>
     15        </spawner-representation>
     16    </PickupRepresentation>
     17</Template>
     18
     19<Template name=supershieldpickup>
     20  <ShieldPickup
     21    absorption = 1
     22    duration = 6000
     23    shieldhealth = 1000000
     24    activationType = "immediate"
     25    durationType = "once"
     26  />
     27</Template>
    128
    229<!-- Health pickups: -->
Note: See TracChangeset for help on using the changeset viewer.