Move default values into GlobalDefaultsInfo, add to cnc.
This commit is contained in:
@@ -6,79 +6,79 @@ namespace OpenRA.Traits
|
|||||||
public class GlobalDefaultsInfo : StatelessTraitInfo<GlobalDefaults>
|
public class GlobalDefaultsInfo : StatelessTraitInfo<GlobalDefaults>
|
||||||
{
|
{
|
||||||
/* Special Weapons */
|
/* Special Weapons */
|
||||||
public readonly float GapRegenInterval =0;
|
public readonly float GapRegenInterval = 0.1f;
|
||||||
public readonly int BadgerBombCount = 1;
|
public readonly int BadgerBombCount = 1;
|
||||||
|
|
||||||
/* Chrono Side Effects */
|
/* Chrono Side Effects */
|
||||||
public readonly float QuakeChance = 0;
|
public readonly float QuakeChance = 0.2f;
|
||||||
public readonly float QuakeDamage = 0; /* percent */
|
public readonly float QuakeDamage = 0.33f; /* percent */
|
||||||
public readonly float VortexChance = 0;
|
public readonly float VortexChance = 0.2f;
|
||||||
public readonly int VortexDamage = 0;
|
public readonly int VortexDamage = 200;
|
||||||
public readonly int VortexRange = 0;
|
public readonly int VortexRange = 10;
|
||||||
public readonly int VortexSpeed = 0;
|
public readonly int VortexSpeed = 10;
|
||||||
|
|
||||||
/* Repair & Refit */
|
/* Repair & Refit */
|
||||||
public readonly float RefundPercent = 0;
|
public readonly float RefundPercent = 0.5f;
|
||||||
public readonly float ReloadRate = 0;
|
public readonly float ReloadRate = 0.04f;
|
||||||
public readonly float RepairPercent = 0;
|
public readonly float RepairPercent = 0.2f;
|
||||||
public readonly float RepairRate = 0;
|
public readonly float RepairRate = 0.016f;
|
||||||
public readonly int RepairStep = 0;
|
public readonly int RepairStep = 7;
|
||||||
public readonly float URepairPercent = 0;
|
public readonly float URepairPercent = 0.2f;
|
||||||
public readonly int URepairStep = 0;
|
public readonly int URepairStep = 10;
|
||||||
|
|
||||||
/* Combat & Damage */
|
/* Combat & Damage */
|
||||||
public readonly float TurboBoost = 1.5f;
|
public readonly float TurboBoost = 1.5f;
|
||||||
public readonly float BallisticScatter = 0;
|
public readonly float BallisticScatter = 1.0f;
|
||||||
public readonly float ExpSpread = 0;
|
public readonly float ExpSpread = 0.3f;
|
||||||
public readonly int FireSupress = 0;
|
public readonly int FireSupress = 1;
|
||||||
public readonly float HomingScatter = 0;
|
public readonly float HomingScatter = 2.0f;
|
||||||
public readonly int MaxDamage = 0;
|
public readonly int MaxDamage = 1000;
|
||||||
public readonly int MinDamage = 0;
|
public readonly int MinDamage = 1;
|
||||||
public readonly bool OreExplosive = false;
|
public readonly bool OreExplosive = false;
|
||||||
public readonly bool PlayerAutoCrush = false;
|
public readonly bool PlayerAutoCrush = false;
|
||||||
public readonly bool PlayerReturnFire = false;
|
public readonly bool PlayerReturnFire = false;
|
||||||
public readonly bool PlayerScatter = false;
|
public readonly bool PlayerScatter = false;
|
||||||
public readonly bool TreeTargeting = false;
|
public readonly bool TreeTargeting = false;
|
||||||
public readonly int Incoming = 0;
|
public readonly int Incoming = 10;
|
||||||
|
|
||||||
/* Income & Production */
|
/* Income & Production */
|
||||||
public readonly float BuildSpeed = 0;
|
public readonly float BuildSpeed = 0.4f;
|
||||||
public readonly float BuildupTime = 0;
|
public readonly float BuildupTime = 0.06f;
|
||||||
public readonly float OreTruckRate = 0;
|
public readonly float OreTruckRate = 1;
|
||||||
public readonly bool SeparateAircraft = true;
|
public readonly bool SeparateAircraft = false;
|
||||||
public readonly float SurvivorRate = 0;
|
public readonly float SurvivorRate = 0.4f;
|
||||||
|
|
||||||
/* Audo/Visual Map Controls */
|
/* Audo/Visual Map Controls */
|
||||||
public readonly bool AllyReveal = true;
|
public readonly bool AllyReveal = true;
|
||||||
public readonly float ConditionRed = 0;
|
public readonly float ConditionRed = 0.25f;
|
||||||
public readonly float ConditionYellow = 0;
|
public readonly float ConditionYellow = 0.5f;
|
||||||
public readonly int DropZoneRadius = 0;
|
public readonly int DropZoneRadius = 4;
|
||||||
public readonly bool EnemyHealth = true;
|
public readonly bool EnemyHealth = true;
|
||||||
public readonly int Gravity = 0;
|
public readonly int Gravity = 3;
|
||||||
public readonly float IdleActionFrequency = 0;
|
public readonly float IdleActionFrequency = 0.1f;
|
||||||
public readonly float MessageDelay = 0;
|
public readonly float MessageDelay = 0.6f;
|
||||||
public readonly float MovieTime = 0;
|
public readonly float MovieTime = 0.06f;
|
||||||
public readonly bool NamedCivilians = false;
|
public readonly bool NamedCivilians = false;
|
||||||
public readonly float SavourDelay = 0;
|
public readonly float SavourDelay = 0.03f;
|
||||||
|
|
||||||
public readonly int SpeakDelay = 0;
|
public readonly int SpeakDelay = 2;
|
||||||
public readonly int TimerWarning = 0;
|
public readonly int TimerWarning = 2;
|
||||||
public readonly bool FlashLowPower = false;
|
public readonly bool FlashLowPower = true;
|
||||||
|
|
||||||
/* Computer & Movement Controls */
|
/* Computer & Movement Controls */
|
||||||
public readonly bool CurleyShuffle = false;
|
public readonly bool CurleyShuffle = false;
|
||||||
public readonly float BaseBias = 0;
|
public readonly float BaseBias = 2.0f;
|
||||||
public readonly float BaseDefenseDelay = 0;
|
public readonly float BaseDefenseDelay = 0.25f;
|
||||||
public readonly float CloseEnough = 0;
|
public readonly float CloseEnough = 2.75f;
|
||||||
public readonly int DamageDelay = 0;
|
public readonly int DamageDelay = 1;
|
||||||
public readonly int GameSpeeBias = 0;
|
public readonly int GameSpeeBias = 1;
|
||||||
public readonly int LZScanRadius = 0;
|
public readonly int LZScanRadius = 16;
|
||||||
public readonly bool MineAware = false;
|
public readonly bool MineAware = true;
|
||||||
public readonly float Stray = 0;
|
public readonly float Stray = 2.0f;
|
||||||
public readonly float SubmergeDelay = 0;
|
public readonly float SubmergeDelay = 0.02f;
|
||||||
public readonly float SuspendDelay = 0;
|
public readonly float SuspendDelay = 2.0f;
|
||||||
public readonly int SuspendPriority = 0;
|
public readonly int SuspendPriority = 20;
|
||||||
public readonly float TeamDelay = 0;
|
public readonly float TeamDelay = 0.6f;
|
||||||
|
|
||||||
public readonly int LowPowerSlowdown = 3;
|
public readonly int LowPowerSlowdown = 3;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ Player:
|
|||||||
SelectTargetSound: select1.aud
|
SelectTargetSound: select1.aud
|
||||||
|
|
||||||
World:
|
World:
|
||||||
|
GlobalDefaults:
|
||||||
ScreenShaker:
|
ScreenShaker:
|
||||||
# WaterPaletteRotation:
|
# WaterPaletteRotation:
|
||||||
BuildingInfluence:
|
BuildingInfluence:
|
||||||
|
|||||||
@@ -65,67 +65,6 @@ Player:
|
|||||||
|
|
||||||
World:
|
World:
|
||||||
GlobalDefaults:
|
GlobalDefaults:
|
||||||
GapRegenInterval: .1
|
|
||||||
BadgerBombCount: 1
|
|
||||||
QuakeChance: 20%
|
|
||||||
QuakeDamage: 33%
|
|
||||||
VortexChance: 20%
|
|
||||||
VortexDamage: 200
|
|
||||||
VortexRange: 10
|
|
||||||
VortexSpeed: 10
|
|
||||||
RefundPercent: 50%
|
|
||||||
ReloadRate: .04
|
|
||||||
RepairPercent: 20%
|
|
||||||
RepairRate: .016
|
|
||||||
RepairStep: 7
|
|
||||||
URepairPercent: 20%
|
|
||||||
URepairStep: 10
|
|
||||||
TurboBoost: 1.5
|
|
||||||
BallisticScatter: 1.0
|
|
||||||
ExpSpread: .3
|
|
||||||
FireSupress: 1
|
|
||||||
HomingScatter: 2.0
|
|
||||||
MaxDamage: 1000
|
|
||||||
MinDamage: 1
|
|
||||||
OreExplosive: no
|
|
||||||
PlayerAutoCrush: no
|
|
||||||
PlayerReturnFire: no
|
|
||||||
PlayerScatter: no
|
|
||||||
TreeTargeting: no
|
|
||||||
Incoming: 10
|
|
||||||
BuildSpeed: .4
|
|
||||||
BuildupTime: .06
|
|
||||||
OreTruckRate: 1
|
|
||||||
SeparateAircraft: no
|
|
||||||
SurvivorRate: .4
|
|
||||||
AllyReveal: yes
|
|
||||||
ConditionRed: 25%
|
|
||||||
ConditionYellow: 50%
|
|
||||||
DropZoneRadius: 4
|
|
||||||
EnemyHealth: yes
|
|
||||||
Gravity: 3
|
|
||||||
IdleActionFrequency: .1
|
|
||||||
MessageDelay: .6
|
|
||||||
MovieTime: .06
|
|
||||||
NamedCivilians: no
|
|
||||||
SavourDelay: .03
|
|
||||||
SpeakDelay: 2
|
|
||||||
TimerWarning: 2
|
|
||||||
FlashLowPower: yes
|
|
||||||
CurleyShuffle: no
|
|
||||||
BaseBias: 2
|
|
||||||
BaseDefenseDelay: .25
|
|
||||||
CloseEnough: 2.75
|
|
||||||
DamageDelay: 1
|
|
||||||
GameSpeeBias: 1
|
|
||||||
LZScanRadius: 16
|
|
||||||
MineAware: yes
|
|
||||||
Stray: 2.0
|
|
||||||
SubmergeDelay: .02
|
|
||||||
SuspendDelay: 2
|
|
||||||
SuspendPriority: 20
|
|
||||||
TeamDelay: .6
|
|
||||||
LowPowerSlowdown: 3
|
|
||||||
ScreenShaker:
|
ScreenShaker:
|
||||||
WaterPaletteRotation:
|
WaterPaletteRotation:
|
||||||
ChronoshiftPaletteEffect:
|
ChronoshiftPaletteEffect:
|
||||||
|
|||||||
Reference in New Issue
Block a user