ServicePowerup

Classlabel: "servicepod" or "repairkit" or "ammopack"

Class Tree: Entity->GameObject->PowerUp->ServicePowerup

Description:
This is a powerup that can resupply health or ammo. Default soundPickup is "repair.wav"

Default ODF Properties:
[PowerUpClass]
soundPickup = "repair.wav"

ODF Properties:
Depending on the Classlabel, one of these is used:
  • [ServicePowerupClass] or [HealthPowerupClass] or [AmmoPowerupClass]

    healthUp = 0
    How much Health it supplies. Default is 1000 for repairkit and servicepod.

    ammoUp = 0
    How much Ammo it supplies. Default is 1000 for ammopack and servicepod.

    serviceUp = 0
    This sets both healthUp and ammoUp, and overrides those if used. Default is 1000 for both for servicepod.

    localAmmoUp = 0
    How much Local Ammo this powerup can replenish. Resupplies all Local Ammo Weapons on the vehicle that picks it up.
On this page