-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCustomMissionData.cs
More file actions
52 lines (44 loc) · 1.42 KB
/
CustomMissionData.cs
File metadata and controls
52 lines (44 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
using System.Collections.Generic;
using GHPC;
using GHPC.Mission;
namespace CustomMissionUtility
{
public class CustomMissionData
{
/// <summary>
/// The name of the mission as it appears in the mission select menu
/// </summary>
public string Name;
/// <summary>
/// Name of the unity scene
/// </summary>
public string Id;
/// <summary>
/// The day/night time options for this mission
/// </summary>
public RandomEnvironment.EnvSettingOption[] TimeOptions;
/// <summary>
/// A value from 0.0 to 1.0 that affects weather conditions
/// 0.0 = always clear skies
/// 1.0 = always cloudy/rainy
/// </summary>
public float CloudBias;
/// <summary>
/// What factions can the player play as? First faction in the array will be the one that is initally selected
/// "BluFor", "RedFor"
/// </summary>
public Faction[] PlayableFactions;
/// <summary>
/// Mission description when NATO is picked
/// </summary>
public string DescriptionBluFor;
/// <summary>
/// Mission description when Pact is picked
/// </summary>
public string DescriptionRedFor;
/// <summary>
/// Determines what map should be loaded
/// </summary>
public References.Theater Theater;
}
}