Merge pull request #9615 from reaperrr/d2k-rest1
Remaining D2k changes to restore original balancing/gameplay
This commit is contained in:
@@ -18,16 +18,16 @@ namespace OpenRA.Mods.D2k.Traits
|
||||
class SandwormInfo : WandersInfo, Requires<MobileInfo>, Requires<WithSpriteBodyInfo>, Requires<AttackBaseInfo>
|
||||
{
|
||||
[Desc("Time between rescanning for targets (in ticks).")]
|
||||
public readonly int TargetRescanInterval = 32;
|
||||
public readonly int TargetRescanInterval = 125;
|
||||
|
||||
[Desc("The radius in which the worm \"searches\" for targets.")]
|
||||
public readonly WDist MaxSearchRadius = WDist.FromCells(27);
|
||||
public readonly WDist MaxSearchRadius = WDist.FromCells(20);
|
||||
|
||||
[Desc("The range at which the worm launches an attack regardless of noise levels.")]
|
||||
public readonly WDist IgnoreNoiseAttackRange = WDist.FromCells(3);
|
||||
|
||||
[Desc("The chance this actor has of disappearing after it attacks (in %).")]
|
||||
public readonly int ChanceToDisappear = 80;
|
||||
public readonly int ChanceToDisappear = 100;
|
||||
|
||||
[Desc("Name of the sequence that is used when the actor is idle or moving (not attacking).")]
|
||||
[SequenceReference] public readonly string IdleSequence = "idle";
|
||||
|
||||
@@ -20,13 +20,13 @@ namespace OpenRA.Mods.D2k.Traits
|
||||
class WormManagerInfo : ITraitInfo
|
||||
{
|
||||
[Desc("Minimum number of worms")]
|
||||
public readonly int Minimum = 2;
|
||||
public readonly int Minimum = 0;
|
||||
|
||||
[Desc("Maximum number of worms")]
|
||||
public readonly int Maximum = 4;
|
||||
|
||||
[Desc("Time (in ticks) between worm spawn.")]
|
||||
public readonly int SpawnInterval = 3000;
|
||||
public readonly int SpawnInterval = 6000;
|
||||
|
||||
[Desc("Name of the actor that will be spawned.")]
|
||||
public readonly string WormSignature = "sandworm";
|
||||
|
||||
@@ -31,12 +31,12 @@ sandworm:
|
||||
Name: Sandworm
|
||||
Description: Attracted by vibrations in the sand.\nWill eat units whole and has a large appetite.
|
||||
Health:
|
||||
HP: 1200
|
||||
Radius: 3
|
||||
HP: 9990
|
||||
Radius: 256
|
||||
Armor:
|
||||
Type: None
|
||||
Mobile:
|
||||
Speed: 50
|
||||
Speed: 42
|
||||
TerrainSpeeds:
|
||||
Sand: 100
|
||||
Dune: 100
|
||||
|
||||
@@ -22,22 +22,22 @@
|
||||
1600: firepower, damage, speed, reload, inaccuracy, rank, eliteweapon, selfheal
|
||||
FirepowerMultiplier@EXPERIENCE:
|
||||
UpgradeTypes: firepower
|
||||
Modifier: 105, 110, 120, 130
|
||||
Modifier: 105, 110, 115, 125
|
||||
DamageMultiplier@EXPERIENCE:
|
||||
UpgradeTypes: damage
|
||||
Modifier: 95, 90, 85, 75
|
||||
Modifier: 96, 92, 88, 80
|
||||
SpeedMultiplier@EXPERIENCE:
|
||||
UpgradeTypes: speed
|
||||
Modifier: 105, 110, 120, 140
|
||||
Modifier: 105, 110, 115, 125
|
||||
ReloadDelayMultiplier@EXPERIENCE:
|
||||
UpgradeTypes: reload
|
||||
Modifier: 95, 90, 85, 75
|
||||
Modifier: 96, 92, 88, 80
|
||||
InaccuracyMultiplier@EXPERIENCE:
|
||||
UpgradeTypes: inaccuracy
|
||||
Modifier: 90, 80, 70, 50
|
||||
SelfHealing@ELITE:
|
||||
Step: 2
|
||||
Ticks: 100
|
||||
Ticks: 125
|
||||
HealIfBelow: 1
|
||||
DamageCooldown: 125
|
||||
UpgradeTypes: selfheal
|
||||
@@ -124,13 +124,10 @@
|
||||
Targetable:
|
||||
TargetTypes: Ground, Vehicle
|
||||
RequiresForceFire: yes
|
||||
Capturable:
|
||||
Type: husk
|
||||
AllowAllies: yes
|
||||
CaptureThreshold: 1.0
|
||||
TransformOnCapture:
|
||||
ForceHealthPercentage: 25
|
||||
DisabledOverlay:
|
||||
Explodes:
|
||||
Weapon: UnitExplodeMed
|
||||
EmptyWeapon: UnitExplodeMed
|
||||
|
||||
^AircraftHusk:
|
||||
Inherits: ^Husk
|
||||
@@ -178,7 +175,7 @@
|
||||
Rough: 80
|
||||
SelectionDecorations:
|
||||
Selectable:
|
||||
Bounds: 12,18,0,-6
|
||||
Bounds: 12,20,0,-4
|
||||
Targetable:
|
||||
TargetTypes: Ground, Infantry
|
||||
QuantizeFacingsFromSequence:
|
||||
@@ -259,7 +256,7 @@
|
||||
WithBuildingExplosion:
|
||||
RepairableBuilding:
|
||||
EmitInfantryOnSell:
|
||||
ActorTypes: light_inf,light_inf,light_inf,light_inf,light_inf,trooper,trooper,trooper,engineer
|
||||
ActorTypes: light_inf
|
||||
MustBeDestroyed:
|
||||
RequiredForShortGame: true
|
||||
FrozenUnderFog:
|
||||
@@ -276,8 +273,8 @@
|
||||
DamagedWithoutFoundation:
|
||||
ThrowsShrapnel:
|
||||
Weapons: Debris, Debris2, Debris3, Debris4
|
||||
Pieces: 3, 7
|
||||
Range: 2c0, 5c0
|
||||
Pieces: 2, 5
|
||||
Range: 1c512, 4c0
|
||||
WithMakeAnimation:
|
||||
|
||||
^Defense:
|
||||
@@ -294,9 +291,9 @@
|
||||
LineBuildNode:
|
||||
Types: turret
|
||||
ThrowsShrapnel:
|
||||
Weapons: Debris, Debris2, Debris3, Debris4
|
||||
Pieces: 2, 5
|
||||
Range: 2c0, 5c0
|
||||
Weapons: Debris, Debris3
|
||||
Pieces: 2, 2
|
||||
Range: 2c0, 4c0
|
||||
MustBeDestroyed:
|
||||
RequiredForShortGame: false
|
||||
|
||||
|
||||
@@ -164,6 +164,7 @@ upgrade.conyard:
|
||||
Description: Unlocks new construction options
|
||||
Buildable:
|
||||
BuildPaletteOrder: 50
|
||||
Prerequisites: construction_yard
|
||||
Queue: Upgrade
|
||||
BuildLimit: 1
|
||||
Valued:
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
RemoveInstead: true
|
||||
Buildable:
|
||||
Queue: Building
|
||||
Prerequisites: construction_yard
|
||||
BuildPaletteOrder: 10
|
||||
|
||||
concretea:
|
||||
@@ -38,7 +39,7 @@ concreteb:
|
||||
CustomBuildTimeValue:
|
||||
Value: 81
|
||||
Buildable:
|
||||
Prerequisites: upgrade.conyard
|
||||
Prerequisites: construction_yard, upgrade.conyard
|
||||
|
||||
construction_yard:
|
||||
Inherits: ^Building
|
||||
@@ -60,7 +61,6 @@ construction_yard:
|
||||
Range: 5c768
|
||||
Production:
|
||||
Produces: Building, Upgrade
|
||||
Exit:
|
||||
Valued:
|
||||
Cost: 2000
|
||||
Tooltip:
|
||||
@@ -82,11 +82,13 @@ construction_yard:
|
||||
WithBuildingPlacedOverlay:
|
||||
Palette: d2k
|
||||
PrimaryBuilding:
|
||||
ProvidesPrerequisite@buildingname:
|
||||
|
||||
wind_trap:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Queue: Building
|
||||
Prerequisites: construction_yard
|
||||
BuildPaletteOrder: 10
|
||||
Selectable:
|
||||
Bounds: 64,64
|
||||
@@ -122,7 +124,7 @@ wind_trap:
|
||||
barracks:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Prerequisites: wind_trap
|
||||
Prerequisites: construction_yard, wind_trap
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 40
|
||||
Selectable:
|
||||
@@ -180,7 +182,7 @@ barracks:
|
||||
refinery:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Prerequisites: wind_trap
|
||||
Prerequisites: construction_yard, wind_trap
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 20
|
||||
Selectable:
|
||||
@@ -233,7 +235,7 @@ refinery:
|
||||
silo:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Prerequisites: refinery
|
||||
Prerequisites: construction_yard, refinery
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 30
|
||||
Selectable:
|
||||
@@ -278,7 +280,7 @@ silo:
|
||||
light_factory:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Prerequisites: refinery
|
||||
Prerequisites: construction_yard, refinery
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 70
|
||||
Selectable:
|
||||
@@ -337,7 +339,7 @@ light_factory:
|
||||
heavy_factory:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Prerequisites: refinery
|
||||
Prerequisites: construction_yard, refinery
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 100
|
||||
Selectable:
|
||||
@@ -402,7 +404,7 @@ outpost:
|
||||
CanPowerDown:
|
||||
DisabledOverlay:
|
||||
Buildable:
|
||||
Prerequisites: barracks, ~techlevel.medium
|
||||
Prerequisites: construction_yard, barracks, ~techlevel.medium
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 50
|
||||
Selectable:
|
||||
@@ -443,7 +445,7 @@ starport:
|
||||
Name: Starport
|
||||
Description: Dropzone for quick reinforcements, at a price.\n Requires power to operate
|
||||
Buildable:
|
||||
Prerequisites: heavy_factory, outpost, ~techlevel.high
|
||||
Prerequisites: construction_yard, heavy_factory, outpost, ~techlevel.high
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 80
|
||||
Valued:
|
||||
@@ -503,7 +505,7 @@ wall:
|
||||
HiddenUnderShroud:
|
||||
Buildable:
|
||||
Queue: Building
|
||||
Prerequisites: barracks
|
||||
Prerequisites: construction_yard, barracks
|
||||
BuildPaletteOrder: 60
|
||||
SoundOnDamageTransition:
|
||||
DamagedSounds:
|
||||
@@ -552,7 +554,7 @@ medium_gun_turret:
|
||||
Inherits: ^Defense
|
||||
Buildable:
|
||||
Queue: Building
|
||||
Prerequisites: barracks
|
||||
Prerequisites: construction_yard, barracks
|
||||
BuildPaletteOrder: 90
|
||||
Valued:
|
||||
Cost: 550
|
||||
@@ -594,7 +596,7 @@ large_gun_turret:
|
||||
Inherits: ^Defense
|
||||
Buildable:
|
||||
Queue: Building
|
||||
Prerequisites: outpost, upgrade.conyard, ~techlevel.medium
|
||||
Prerequisites: construction_yard, outpost, upgrade.conyard, ~techlevel.medium
|
||||
BuildPaletteOrder: 120
|
||||
Valued:
|
||||
Cost: 750
|
||||
@@ -637,7 +639,7 @@ repair_pad:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Queue: Building
|
||||
Prerequisites: heavy_factory, upgrade.heavy, ~techlevel.medium
|
||||
Prerequisites: construction_yard, heavy_factory, upgrade.heavy, ~techlevel.medium
|
||||
BuildPaletteOrder: 130
|
||||
Valued:
|
||||
Cost: 800
|
||||
@@ -680,7 +682,7 @@ repair_pad:
|
||||
high_tech_factory:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Prerequisites: outpost, ~techlevel.medium
|
||||
Prerequisites: construction_yard, outpost, ~techlevel.medium
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 110
|
||||
Selectable:
|
||||
@@ -738,7 +740,7 @@ research_centre:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Queue: Building
|
||||
Prerequisites: outpost, heavy_factory, upgrade.heavy, ~techlevel.high
|
||||
Prerequisites: construction_yard, outpost, heavy_factory, upgrade.heavy, ~techlevel.high
|
||||
BuildPaletteOrder: 140
|
||||
Selectable:
|
||||
Bounds: 96,64,0,16
|
||||
@@ -775,7 +777,7 @@ research_centre:
|
||||
palace:
|
||||
Inherits: ^Building
|
||||
Buildable:
|
||||
Prerequisites: research_centre, ~techlevel.high
|
||||
Prerequisites: construction_yard, research_centre, ~techlevel.high
|
||||
Queue: Building
|
||||
BuildPaletteOrder: 150
|
||||
Selectable:
|
||||
|
||||
Reference in New Issue
Block a user