2020-12-22 03:13:43 +00:00
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
|
|
|
|
using System;
|
2020-11-27 22:47:33 +00:00
|
|
|
|
using System.Collections;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
|
|
[CreateAssetMenu(fileName = "Sector Display Properties", menuName = "Aetheria/Sector Display Properties")]
|
2020-12-01 00:16:11 +00:00
|
|
|
|
public class GameSettings : ScriptableObject
|
2020-11-27 22:47:33 +00:00
|
|
|
|
{
|
2021-03-06 02:42:19 +00:00
|
|
|
|
public float HeatstrokePhasingFloor = 0;
|
|
|
|
|
|
public float HeatstrokePhasingFrequency = 5;
|
2021-03-05 14:31:18 +00:00
|
|
|
|
public float WormholeDistanceRatio;
|
2020-12-01 00:16:11 +00:00
|
|
|
|
public float DefaultZoneRadius;
|
|
|
|
|
|
public float DefaultZoneMass;
|
2020-11-27 22:47:33 +00:00
|
|
|
|
public float DefaultViewDistance;
|
2020-12-02 16:42:09 +00:00
|
|
|
|
public float MinimapZoneGravityRange;
|
|
|
|
|
|
public float[] MinimapZoomLevels;
|
|
|
|
|
|
public int DefaultMinimapZoom;
|
2020-12-18 13:48:03 +00:00
|
|
|
|
public ExponentialCurve IconSize;
|
2020-12-01 20:38:28 +00:00
|
|
|
|
public int AsteroidMeshCount = 5;
|
2020-12-03 17:32:34 +00:00
|
|
|
|
public float MinimapAsteroidSize = 3;
|
2020-12-05 23:43:02 +00:00
|
|
|
|
public float PlanetRotationSpeed = 1;
|
|
|
|
|
|
public BodySettingsCollection[] BodySettingsCollections;
|
2020-12-01 00:16:11 +00:00
|
|
|
|
public PlanetSettings PlanetSettings;
|
|
|
|
|
|
public ZoneGenerationSettings ZoneSettings;
|
2020-12-10 23:20:38 +00:00
|
|
|
|
public GameplaySettings GameplaySettings;
|
2021-01-08 12:44:10 +00:00
|
|
|
|
public Color HullHitColor;
|
|
|
|
|
|
public Color ArmorHitColor;
|
|
|
|
|
|
public Color HardpointHitColor;
|
|
|
|
|
|
public Color GearHitColor;
|
2021-01-10 03:59:47 +00:00
|
|
|
|
public Gradient ArmorGradient;
|
|
|
|
|
|
public Gradient DurabilityGradient;
|
2020-12-31 19:53:16 +00:00
|
|
|
|
[HideInInspector] public Sprite[] ItemIcons;
|
2020-11-27 22:47:33 +00:00
|
|
|
|
}
|
2020-11-29 22:50:12 +00:00
|
|
|
|
|
2020-12-05 23:43:02 +00:00
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BodySettingsCollection
|
|
|
|
|
|
{
|
|
|
|
|
|
public float MinimumMass;
|
|
|
|
|
|
public CelestialBodySettings[] BodySettings;
|
|
|
|
|
|
}
|