Jump to content

4.1 Construction Yard Logic


Guest Mauler

Recommended Posts

To create a working construction yard, place an appropriate building on your terrain. Then create a building controller of type construction yard.

The following settings are specific to construction yard objects:

RepairRate (the rate to use when repairing buildings, in seconds)VehicleRepairRate (the rate to use when repairing buildings set up as vehicles, in seconds)RepairAmount (the amount to repair)LowPowerRepairAmount (the amount to repair when the power is down)RepairWarhead (the warhead to use to do the repairs)

The way it works is that every RepairRate seconds, it will apply repair damage to all buildings of the correct team that are still alive, using RepairAmount or LowPowerRepairAmount and RepairWarhead.
For vehicles it uses VehicleRepairRate and it will repair any vehicles of the correct team that have their Encyclopedia Type set to Building in leveledit. (it made sense as a convenient way to tell the construction yard logic what to repair and what not to repair)

Note that the construction yard object will not repair itself.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.