ServiceTruckClass

Classlabel: "service"

Class Tree: Entity->GameObject->Craft->TrackedVehicle->ServiceTruck

Supported Animations:
  • Deploy

Description:
Service Trucks are Tracked vehicles that can repair a single object nearby.

Default ODF Properties:
[GameObjectClass]
categoryTypeOverride = 24 //TEAM_SLOT_UTILITY
needPilot = false

[CraftClass]
canRescue = false

Recommended AI Process:
aiName = "ServiceProcess"
aiName2 = "ServiceProcess"

ODF Properties:
  • [ServiceTruck]

    supplyRange = 20.0f
    How close it has to be to start Servicing.

    supplyRadius = 5.0f
    The radius of the healing sphere.

    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 = false
    If this is true, it will automatically Service Allied things.

    AllyRangeScan = supplyRange
    If ServiceAllies is true, this is the range which it uses to select Allied targets to heal. Default is EngageRange if not specified.

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

    supplyHard = ""
    Model piece name that the Service Beam is emitted from.

    supplyEffect = ""
    Render name for the Service Beam.

    objPush = -0.5f
    Factor of Push applied to the Service Target.

    objDrag = -0.1f
    Factor of Drag applied to the Service Target.

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

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

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

    Auto Service Selection

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

    ServiceCraft = true
    If true, will automatically service Craft.

    ServiceBuildings = true
    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