Tweak D2k worm disappear chance, spawn interval and minimum

This commit is contained in:
reaperrr
2015-10-12 00:27:24 +02:00
parent 7fdc8f9ad9
commit e37729f634
3 changed files with 8 additions and 8 deletions

View File

@@ -18,16 +18,16 @@ namespace OpenRA.Mods.D2k.Traits
class SandwormInfo : WandersInfo, Requires<MobileInfo>, Requires<WithSpriteBodyInfo>, Requires<AttackBaseInfo> class SandwormInfo : WandersInfo, Requires<MobileInfo>, Requires<WithSpriteBodyInfo>, Requires<AttackBaseInfo>
{ {
[Desc("Time between rescanning for targets (in ticks).")] [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.")] [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.")] [Desc("The range at which the worm launches an attack regardless of noise levels.")]
public readonly WDist IgnoreNoiseAttackRange = WDist.FromCells(3); public readonly WDist IgnoreNoiseAttackRange = WDist.FromCells(3);
[Desc("The chance this actor has of disappearing after it attacks (in %).")] [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).")] [Desc("Name of the sequence that is used when the actor is idle or moving (not attacking).")]
[SequenceReference] public readonly string IdleSequence = "idle"; [SequenceReference] public readonly string IdleSequence = "idle";

View File

@@ -20,13 +20,13 @@ namespace OpenRA.Mods.D2k.Traits
class WormManagerInfo : ITraitInfo class WormManagerInfo : ITraitInfo
{ {
[Desc("Minimum number of worms")] [Desc("Minimum number of worms")]
public readonly int Minimum = 2; public readonly int Minimum = 0;
[Desc("Maximum number of worms")] [Desc("Maximum number of worms")]
public readonly int Maximum = 4; public readonly int Maximum = 4;
[Desc("Time (in ticks) between worm spawn.")] [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.")] [Desc("Name of the actor that will be spawned.")]
public readonly string WormSignature = "sandworm"; public readonly string WormSignature = "sandworm";

View File

@@ -31,12 +31,12 @@ sandworm:
Name: Sandworm Name: Sandworm
Description: Attracted by vibrations in the sand.\nWill eat units whole and has a large appetite. Description: Attracted by vibrations in the sand.\nWill eat units whole and has a large appetite.
Health: Health:
HP: 1200 HP: 9990
Radius: 3 Radius: 256
Armor: Armor:
Type: None Type: None
Mobile: Mobile:
Speed: 50 Speed: 42
TerrainSpeeds: TerrainSpeeds:
Sand: 100 Sand: 100
Dune: 100 Dune: 100