Updated Custom campaigns (markdown)

SnappyComebacks
2021-05-14 23:28:07 -06:00
parent c3ed790d7c
commit 9b34f02901

@@ -160,6 +160,7 @@ Strike targets make up the bulk of the objective locations and will be spawned c
* Bunkers
* Villages
* Army camps
* Map Objects
Note that it is possible to require that certain SAM locations are generated, and each required SAM will cause a random SAM to be skipped (though it will not skip other objective locations). This is described further in the IADS section.
@@ -169,6 +170,31 @@ To define a ground based strike location, place a CJTF Blue S-300PS SR 64H6E at
To define an offshore strike target, place a CJTF Blue Oil Platform.
Beginning in DCS Liberation 3.0, it is also possible to create strike targets using built in map objects. These are the buildings/trees/scenery that are placed by the map developer (Eagle Dynamics, etc). Liberation uses trigger zones to define scenery as a strike target.
**How to define scenery as a strike target:**
Determine some buildings that you would like to use as part of an objective. For each building, right click and select "assign as...", this will create a trigger zone, centered on the buildings geometric center. You may leave the name of the trigger zone as its default, or rename it to what you'd like the player to see. Do not modify the color (white), or the properties. Note that the more buildings at an objective, the more income the objective will create. Once a group of buildings has been determined, create new _circular_ trigger zone through the Mission Editor's sidebar, and give it the color of blue (`0 Red`, `0 Green`, `255 Blue`; there is a shortcut button that is blue in case you do not want to type the RGB numbers in manually). Move this trigger zone near the center of your desired objective building group, then scale the blue trigger zone's radius until the blue trigger zone surrounds all of the objective's white trigger zones (specifically their centers). Ensure each blue trigger zone has a unique name. Because blue trigger zones define objectives, you must tell Liberation what type of objective it is. Create a property for the objective definition, with the value field as be any of the entries listed in `game/db.py : REWARDS`, repeated below for convenience. This must be the first property in the objective definition (blue) trigger zone.
- `power`
- `warehouse`
- `ware`
- `fuel`
- `ammo`
- `farp`
- `fob`
- `factory`
- `comms`
- `oil`
- `derrick`
**Map Object Limitations:**
- Objective definitions (Blue TriggerZones) in campaign definition cannot overlap.
- Campaign creator must define objective type.
- No images for the various buildings.
- Every blue trigger zone must have a unique name.
#### Ships
Ships can be generated at airbases, carriers, and LHAs (but not off-map spawns). Ships will not be spawned if the player has disabled either player or enemy navies in the campaign generation options, or if the faction does not have naval units defined. The number of naval groups spawned is determined randomly between 0 and the limit defined by the faction, uniformly. There is no limit on how many can be spawned as is it is up to the faction designer, so place as can sensibly be placed (a dozen should be more than enough, and five should be plenty).