SupplyDepotClass

Classlabel: "supplydepot"

Class Tree: Entity->GameObject->Building->PoweredBuilding->SupplyDepot

Description:
SupplyDepots are Buildings that can repair objects nearby.

Default ODF Properties:
[GameObjectClass]
categoryTypeOverride = 12 //TEAM_SLOT_SERVICE
isSingle = true

ODF Properties:
  • [SupplyDepotClass]

    supplyRange = 20.0f
    How close an object has to be to start recieving Servicing.

    healthRate = 0.0f
    Amount of Health supplied per second.

    ammoRate = 0.0f
    Amount of Ammo supplied per second.

    supplyRate = 0.0f
    This is the amount of Health and Ammo supplied per second. This overrides HealthRate/AmmoRate if specified.

    localAmmoRate = 0.0f
    How much Local Ammo is supplied per second. This applies to all Local Ammo Weapons on the craft.

    ServiceAllies = true
    If this is true, it will automatically Service Allied things. if false, will only Service same Team.

    ServiceParallel = false
    If this is true, it services all nearby valid Targets simultaneously instead of the lowest health/ammo one first.

    supplySound = ""
    The sound file used when this object is Servicing.

    SupplyDepotClassServiceMask = 0
    Bit Mask used against GameObjectClassServiceMatch/GameObjectClassServiceProvides for filtering what kind of objects this SupplyDepot can service.

    SupplyDepotClassServiceMatch = 0
    Bit Mask used against GameObjectClassServiceMask/GameObjectClassServiceProvides for filtering what kind of objects this SupplyDepot can service.

    SupplyDepotClassServiceProvides = 0
    Bit Mask this object provides against GameObjectClassServiceMask/GameObjectClassServiceMatch for filtering what kind of objects this SupplyDepot can service.

    Auto Service Selection

    ServiceSTs = true
    If true, will automatically service other Service Trucks.

    ServiceCraft = true
    If true, will automatically service Craft.

    ServiceBuildings = false
    if true, will automatically service Buildings.

    ServicePilots = false
    If true, will automatically service Persons.

    ServiceOther = false
    If true, will automatically service Other.
On this page