Replace * 25 in internal tick defaults with actual total
While the idea behind it is understandable, this was inconsistent with the bulk of other defaults.
This commit is contained in:
@@ -30,7 +30,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
[Desc("Creates a new beacon that stays for the specified time at the specified WPos. " +
|
||||
"Does not remove player set beacons, nor gets removed by placing them. " +
|
||||
"Requires the 'PlaceBeacon' trait on the player actor.")]
|
||||
public void New(Player owner, WPos position, int duration = 30 * 25, bool showRadarPings = true)
|
||||
public void New(Player owner, WPos position, int duration = 750, bool showRadarPings = true)
|
||||
{
|
||||
var beacon = owner.PlayerActor.Info.TraitInfoOrDefault<PlaceBeaconInfo>();
|
||||
if (beacon == null)
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
}
|
||||
|
||||
[Desc("Creates a new radar ping that stays for the specified time at the specified WPos.")]
|
||||
public void Ping(Player player, WPos position, Color color, int duration = 30 * 25)
|
||||
public void Ping(Player player, WPos position, Color color, int duration = 750)
|
||||
{
|
||||
radarPings?.Add(() => player.World.RenderPlayer == player, position, color, duration);
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly int PanicChance = 100;
|
||||
|
||||
[Desc("How long (in ticks) the actor should panic for.")]
|
||||
public readonly int PanicLength = 25 * 10;
|
||||
public readonly int PanicLength = 250;
|
||||
|
||||
[Desc("Panic movement speed as a percentage of the normal speed.")]
|
||||
public readonly int PanicSpeedModifier = 200;
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly Color RadarPingColor = Color.Red;
|
||||
|
||||
[Desc("Length of time (in ticks) to display a location ping in the minimap.")]
|
||||
public readonly int RadarPingDuration = 10 * 25;
|
||||
public readonly int RadarPingDuration = 250;
|
||||
|
||||
[NotificationReference("Speech")]
|
||||
[Desc("The audio notification type to play.")]
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly Color RadarPingColor = Color.Red;
|
||||
|
||||
[Desc("Length of time (in ticks) to display a location ping in the minimap.")]
|
||||
public readonly int RadarPingDuration = 10 * 25;
|
||||
public readonly int RadarPingDuration = 250;
|
||||
|
||||
[NotificationReference("Speech")]
|
||||
[Desc("The audio notification type to play.")]
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("A beacon that is constructed from a circle sprite that is animated once and a moving arrow sprite.")]
|
||||
public class PlaceBeaconInfo : TraitInfo
|
||||
{
|
||||
public readonly int Duration = 30 * 25;
|
||||
public readonly int Duration = 750;
|
||||
|
||||
public readonly string NotificationType = "Sounds";
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly bool DisplayRadarPing = false;
|
||||
|
||||
[Desc("Measured in ticks.")]
|
||||
public readonly int RadarPingDuration = 5 * 25;
|
||||
public readonly int RadarPingDuration = 125;
|
||||
|
||||
public readonly string OrderName;
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly int Maximum = 255;
|
||||
|
||||
[Desc("Average time (ticks) between crate spawn.")]
|
||||
public readonly int SpawnInterval = 180 * 25;
|
||||
public readonly int SpawnInterval = 4500;
|
||||
|
||||
[Desc("Delay (in ticks) before the first crate spawns.")]
|
||||
public readonly int InitialSpawnDelay = 0;
|
||||
|
||||
Reference in New Issue
Block a user