Hook up make animation conditions for the default mods.

This commit is contained in:
Paul Chote
2018-10-07 16:29:19 +00:00
committed by abcdefg30
parent 14607f55c5
commit e038b86742
15 changed files with 344 additions and 82 deletions

View File

@@ -587,6 +587,7 @@
<Compile Include="Traits\World\ActorSpawnManager.cs" /> <Compile Include="Traits\World\ActorSpawnManager.cs" />
<Compile Include="Traits\ActorSpawner.cs" /> <Compile Include="Traits\ActorSpawner.cs" />
<Compile Include="UpdateRules\Rules\20180923\MergeCaptureTraits.cs" /> <Compile Include="UpdateRules\Rules\20180923\MergeCaptureTraits.cs" />
<Compile Include="UpdateRules\Rules\20180923\RemovedNotifyBuildComplete.cs" />
<Compile Include="UtilityCommands\CheckYaml.cs" /> <Compile Include="UtilityCommands\CheckYaml.cs" />
<Compile Include="UtilityCommands\ConvertPngToShpCommand.cs" /> <Compile Include="UtilityCommands\ConvertPngToShpCommand.cs" />
<Compile Include="UtilityCommands\ConvertSpriteToPngCommand.cs" /> <Compile Include="UtilityCommands\ConvertSpriteToPngCommand.cs" />

View File

@@ -0,0 +1,86 @@
#region Copyright & License Information
/*
* Copyright 2007-2018 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version. For more
* information, see COPYING.
*/
#endregion
using System.Collections.Generic;
using System.Linq;
namespace OpenRA.Mods.Common.UpdateRules.Rules
{
public class RemovedNotifyBuildComplete : UpdateRule
{
public override string Name { get { return "Render traits are no longer automatically disabled during Building make-animations"; } }
public override string Description
{
get
{
return "Traits are no longer force-disabled while the WithMakeAnimation trait is active.\n" +
"This affects the With*Animation, With*Overlay, and Gate traits.\n" +
"Affected actors are listed so that conditions may be manually defined.";
}
}
static readonly string[] Traits =
{
"WithAcceptDeliveredCashAnimation",
"WithBuildingPlacedAnimation",
"WithBuildingPlacedOverlay",
"WithChargeAnimation",
"WithChargeOverlay",
"WithDockedOverlay",
"WithIdleAnimation",
"WithIdleOverlay",
"WithNukeLaunchAnimation",
"WithNukeLaunchOverlay",
"WithProductionDoorOverlay",
"WithProductionOverlay",
"WithRepairOverlay",
"WithResources",
"WithResupplyAnimation",
"WithSiloAnimation",
"WithSpriteTurret",
"WithVoxelBarrel",
"WithVoxelTurret",
"WithDeliveryAnimation",
"WithCrumbleOverlay",
"WithDeliveryOverlay",
"Gate"
};
readonly Dictionary<string, List<string>> locations = new Dictionary<string, List<string>>();
public override IEnumerable<string> AfterUpdate(ModData modData)
{
if (locations.Any())
yield return "Review the following definitions and, for those that are buildings,\n" +
"define conditions to disable them while WithMakeAnimation is active:\n" +
UpdateUtils.FormatMessageList(locations.Select(
kv => kv.Key + ":\n" + UpdateUtils.FormatMessageList(kv.Value)));
locations.Clear();
}
public override IEnumerable<string> UpdateActorNode(ModData modData, MiniYamlNode actorNode)
{
var used = new List<string>();
foreach (var t in Traits)
if (actorNode.LastChildMatching(t) != null)
used.Add(t);
if (used.Any())
{
var location = "{0} ({1})".F(actorNode.Key, actorNode.Location.Filename);
locations[location] = used;
}
yield break;
}
}
}

View File

@@ -93,6 +93,7 @@ namespace OpenRA.Mods.Common.UpdateRules
new DefineNotificationDefaults(), new DefineNotificationDefaults(),
new MergeRearmAndRepairAnimation(), new MergeRearmAndRepairAnimation(),
new MergeCaptureTraits(), new MergeCaptureTraits(),
new RemovedNotifyBuildComplete(),
}) })
}; };

View File

@@ -17,7 +17,6 @@ FACT:
Type: Wood Type: Wood
RevealsShroud: RevealsShroud:
Range: 10c0 Range: 10c0
WithBuildingBib:
Production: Production:
Produces: Building.GDI, Building.Nod, Defence.GDI, Defence.Nod Produces: Building.GDI, Building.Nod, Defence.GDI, Defence.Nod
Transforms: Transforms:
@@ -84,7 +83,11 @@ FACT:
BaseProvider: BaseProvider:
Cooldown: 75 Cooldown: 75
Range: 14c0 Range: 14c0
WithBuildingBib:
WithMakeAnimation:
Condition: build-incomplete
WithBuildingPlacedAnimation: WithBuildingPlacedAnimation:
RequiresCondition: !build-incomplete
Power: Power:
Amount: 0 Amount: 0
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
@@ -205,7 +208,6 @@ PROC:
HP: 100000 HP: 100000
RevealsShroud: RevealsShroud:
Range: 6c0 Range: 6c0
WithBuildingBib:
Refinery: Refinery:
DockAngle: 112 DockAngle: 112
DockOffset: 0,2 DockOffset: 0,2
@@ -226,7 +228,11 @@ PROC:
Actor: HARV Actor: HARV
SpawnOffset: 1,2 SpawnOffset: 1,2
Facing: 64 Facing: 64
WithBuildingBib:
WithMakeAnimation:
Condition: build-incomplete
WithResources: WithResources:
RequiresCondition: !build-incomplete
Power: Power:
Amount: -40 Amount: -40
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
@@ -254,9 +260,10 @@ SILO:
Range: 4c0 Range: 4c0
WithBuildingBib: WithBuildingBib:
HasMinibib: Yes HasMinibib: Yes
RenderSprites: WithMakeAnimation:
WithSpriteBody: Condition: build-incomplete
WithSiloAnimation: WithSiloAnimation:
RequiresCondition: !build-incomplete
StoresResources: StoresResources:
PipCount: 10 PipCount: 10
PipColor: Green PipColor: Green
@@ -406,9 +413,6 @@ AFLD:
HP: 110000 HP: 110000
RevealsShroud: RevealsShroud:
Range: 7c0 Range: 7c0
WithBuildingBib:
WithIdleOverlay@DISH:
Sequence: idle-dish
RallyPoint: RallyPoint:
Offset: 4,2 Offset: 4,2
Exit@1: Exit@1:
@@ -416,7 +420,14 @@ AFLD:
ExitCell: 3,1 ExitCell: 3,1
ProductionAirdrop: ProductionAirdrop:
Produces: Vehicle.Nod Produces: Vehicle.Nod
WithBuildingBib:
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@DISH:
RequiresCondition: !build-incomplete
Sequence: idle-dish
WithDeliveryAnimation: WithDeliveryAnimation:
RequiresCondition: !build-incomplete
ProductionQueue: ProductionQueue:
Type: Vehicle.Nod Type: Vehicle.Nod
Group: Vehicle Group: Vehicle
@@ -463,7 +474,10 @@ WEAP:
RevealsShroud: RevealsShroud:
Range: 4c0 Range: 4c0
WithBuildingBib: WithBuildingBib:
WithMakeAnimation:
Condition: build-incomplete
WithProductionDoorOverlay: WithProductionDoorOverlay:
RequiresCondition: !build-incomplete
Sequence: build-top Sequence: build-top
RallyPoint: RallyPoint:
Offset: 0,2 Offset: 0,2
@@ -521,7 +535,10 @@ HPAD:
HpPerStep: 1000 HpPerStep: 1000
PlayerExperience: 25 PlayerExperience: 25
StartRepairingNotification: Repairing StartRepairingNotification: Repairing
WithMakeAnimation:
Condition: build-incomplete
WithResupplyAnimation: WithResupplyAnimation:
RequiresCondition: !build-incomplete
RallyPoint: RallyPoint:
ProductionQueue@GDI: ProductionQueue@GDI:
Type: Aircraft.GDI Type: Aircraft.GDI
@@ -647,6 +664,10 @@ FIX:
Range: 5c0 Range: 5c0
WithBuildingBib: WithBuildingBib:
HasMinibib: Yes HasMinibib: Yes
WithMakeAnimation:
Condition: build-incomplete
WithResupplyAnimation:
RequiresCondition: !build-incomplete
Reservable: Reservable:
RepairsUnits: RepairsUnits:
HpPerStep: 1000 HpPerStep: 1000
@@ -654,7 +675,6 @@ FIX:
PlayerExperience: 25 PlayerExperience: 25
StartRepairingNotification: Repairing StartRepairingNotification: Repairing
RallyPoint: RallyPoint:
WithResupplyAnimation:
Power: Power:
Amount: -20 Amount: -20
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
@@ -749,7 +769,6 @@ TMPL:
HP: 210000 HP: 210000
RevealsShroud: RevealsShroud:
Range: 6c0 Range: 6c0
WithBuildingBib:
RenderDetectionCircle: RenderDetectionCircle:
DetectCloaked: DetectCloaked:
Range: 5c0 Range: 5c0
@@ -778,8 +797,13 @@ TMPL:
ArrowSequence: arrow ArrowSequence: arrow
ClockSequence: clock ClockSequence: clock
CircleSequence: circles CircleSequence: circles
WithBuildingBib:
WithMakeAnimation:
Condition: build-incomplete
WithNukeLaunchAnimation: WithNukeLaunchAnimation:
RequiresCondition: !build-incomplete
WithNukeLaunchOverlay: WithNukeLaunchOverlay:
RequiresCondition: !build-incomplete
Sequence: smoke Sequence: smoke
SupportPowerChargeBar: SupportPowerChargeBar:
Power: Power:
@@ -906,7 +930,10 @@ OBLI:
Range: 8c0 Range: 8c0
WithBuildingBib: WithBuildingBib:
HasMinibib: Yes HasMinibib: Yes
WithMakeAnimation:
Condition: build-incomplete
WithChargeAnimation: WithChargeAnimation:
RequiresCondition: !build-incomplete
Armament: Armament:
Weapon: Laser Weapon: Laser
LocalOffset: 0,-85,1280 LocalOffset: 0,-85,1280

View File

@@ -392,7 +392,6 @@
SoundOnDamageTransition: SoundOnDamageTransition:
DamagedSounds: EXPLSML1.WAV DamagedSounds: EXPLSML1.WAV
DestroyedSounds: EXPLHG1.WAV DestroyedSounds: EXPLHG1.WAV
WithSpriteBody:
Explodes: Explodes:
Type: Footprint Type: Footprint
Weapon: BuildingExplode Weapon: BuildingExplode
@@ -414,7 +413,6 @@
SellSounds: BUILD1.WAV SellSounds: BUILD1.WAV
Guardable: Guardable:
Range: 3c0 Range: 3c0
WithCrumbleOverlay:
Demolishable: Demolishable:
DamagedByTerrain: DamagedByTerrain:
Damage: 500 Damage: 500
@@ -426,7 +424,11 @@
Weapons: Debris, Debris2, Debris3, Debris4 Weapons: Debris, Debris2, Debris3, Debris4
Pieces: 2, 5 Pieces: 2, 5
Range: 1c512, 4c0 Range: 1c512, 4c0
WithSpriteBody:
WithMakeAnimation: WithMakeAnimation:
Condition: build-incomplete
WithCrumbleOverlay:
RequiresCondition: !build-incomplete
RevealOnDeath: RevealOnDeath:
Duration: 100 Duration: 100
Radius: 4c768 Radius: 4c768
@@ -449,6 +451,7 @@
Range: 1c768 Range: 1c768
-GivesBuildableArea: -GivesBuildableArea:
-WithMakeAnimation: -WithMakeAnimation:
-WithCrumbleOverlay:
-Capturable: -Capturable:
-WithSpriteBody: -WithSpriteBody:
WithWallSpriteBody: WithWallSpriteBody:

View File

@@ -99,6 +99,7 @@ construction_yard:
harkonnen: conyard.harkonnen harkonnen: conyard.harkonnen
corrino: conyard.harkonnen corrino: conyard.harkonnen
WithBuildingPlacedOverlay: WithBuildingPlacedOverlay:
RequiresCondition: !build-incomplete
Palette: d2k Palette: d2k
PrimaryBuilding: PrimaryBuilding:
PrimaryCondition: primary PrimaryCondition: primary
@@ -142,7 +143,6 @@ wind_trap:
Footprint: xx xx == Footprint: xx xx ==
Dimensions: 2,3 Dimensions: 2,3
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
WithBuildingBib:
Health: Health:
HP: 30000 HP: 30000
HitShape: HitShape:
@@ -160,7 +160,9 @@ wind_trap:
fremen: power.atreides fremen: power.atreides
harkonnen: power.harkonnen harkonnen: power.harkonnen
corrino: power.harkonnen corrino: power.harkonnen
WithBuildingBib:
WithIdleOverlay@ZAPS: WithIdleOverlay@ZAPS:
RequiresCondition: !build-incomplete
Sequence: idle-zaps Sequence: idle-zaps
Power: Power:
Amount: 200 Amount: 200
@@ -188,7 +190,6 @@ barracks:
Footprint: xx xx == Footprint: xx xx ==
Dimensions: 2,3 Dimensions: 2,3
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
WithBuildingBib:
Health: Health:
HP: 32000 HP: 32000
HitShape: HitShape:
@@ -232,6 +233,7 @@ barracks:
fremen: barracks.atreides fremen: barracks.atreides
harkonnen: barracks.harkonnen harkonnen: barracks.harkonnen
corrino: barracks.harkonnen corrino: barracks.harkonnen
WithBuildingBib:
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
GrantConditionOnPrerequisite: GrantConditionOnPrerequisite:
Prerequisites: upgrade.barracks Prerequisites: upgrade.barracks
@@ -271,7 +273,6 @@ refinery:
Footprint: =xx xx= === Footprint: =xx xx= ===
Dimensions: 3,3 Dimensions: 3,3
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
WithBuildingBib:
Health: Health:
HP: 30000 HP: 30000
HitShape: HitShape:
@@ -308,12 +309,15 @@ refinery:
fremen: refinery.atreides fremen: refinery.atreides
harkonnen: refinery.harkonnen harkonnen: refinery.harkonnen
corrino: refinery.harkonnen corrino: refinery.harkonnen
WithBuildingBib:
WithIdleOverlay@TOP:
RequiresCondition: !build-incomplete
Sequence: idle-top
WithDockedOverlay@SMOKE: WithDockedOverlay@SMOKE:
RequiresCondition: !build-incomplete
Sequence: smoke Sequence: smoke
Power: Power:
Amount: -75 Amount: -75
WithIdleOverlay@TOP:
Sequence: idle-top
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
silo: silo:
@@ -347,8 +351,8 @@ silo:
fremen: silo.atreides fremen: silo.atreides
harkonnen: silo.harkonnen harkonnen: silo.harkonnen
corrino: silo.harkonnen corrino: silo.harkonnen
WithSpriteBody:
WithSiloAnimation: WithSiloAnimation:
RequiresCondition: !build-incomplete
StoresResources: StoresResources:
PipColor: green PipColor: green
PipCount: 5 PipCount: 5
@@ -384,7 +388,6 @@ light_factory:
Footprint: xxx xx= === Footprint: xxx xx= ===
Dimensions: 3,3 Dimensions: 3,3
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
WithBuildingBib:
Health: Health:
HP: 33000 HP: 33000
HitShape: HitShape:
@@ -403,6 +406,14 @@ light_factory:
fremen: light.atreides fremen: light.atreides
harkonnen: light.harkonnen harkonnen: light.harkonnen
corrino: light.harkonnen corrino: light.harkonnen
WithBuildingBib:
WithIdleOverlay@TOP:
RequiresCondition: !build-incomplete
Sequence: idle-top
WithProductionOverlay@WELDING:
RequiresCondition: !build-incomplete
Queues: Vehicle
Sequence: production-welding
RallyPoint: RallyPoint:
Offset: 2,2 Offset: 2,2
Exit@1: Exit@1:
@@ -431,11 +442,6 @@ light_factory:
Prerequisite: light.raider Prerequisite: light.raider
Factions: ordos, smuggler, mercenary Factions: ordos, smuggler, mercenary
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
WithProductionOverlay@WELDING:
Queues: Vehicle
Sequence: production-welding
WithIdleOverlay@TOP:
Sequence: idle-top
Power: Power:
Amount: -125 Amount: -125
GrantConditionOnPrerequisite: GrantConditionOnPrerequisite:
@@ -474,7 +480,6 @@ heavy_factory:
Footprint: _x_ xxx =xX === Footprint: _x_ xxx =xX ===
Dimensions: 3,4 Dimensions: 3,4
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
WithBuildingBib:
Health: Health:
HP: 35000 HP: 35000
HitShape: HitShape:
@@ -531,11 +536,14 @@ heavy_factory:
harkonnen: heavy.harkonnen harkonnen: heavy.harkonnen
corrino: heavy.harkonnen corrino: heavy.harkonnen
mercenary: heavy.mercenary mercenary: heavy.mercenary
WithBuildingBib:
WithIdleOverlay@TOP:
RequiresCondition: !build-incomplete
Sequence: idle-top
WithProductionOverlay@WELDING: WithProductionOverlay@WELDING:
RequiresCondition: !build-incomplete
Queues: Armor Queues: Armor
Sequence: production-welding Sequence: production-welding
WithIdleOverlay@TOP:
Sequence: idle-top
Power: Power:
Amount: -150 Amount: -150
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
@@ -576,7 +584,6 @@ outpost:
Footprint: xxx xxx === Footprint: xxx xxx ===
Dimensions: 3,3 Dimensions: 3,3
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
WithBuildingBib:
Health: Health:
HP: 35000 HP: 35000
HitShape: HitShape:
@@ -596,10 +603,11 @@ outpost:
fremen: outpost.atreides fremen: outpost.atreides
harkonnen: outpost.harkonnen harkonnen: outpost.harkonnen
corrino: outpost.harkonnen corrino: outpost.harkonnen
WithBuildingBib:
WithIdleOverlay@DISH: WithIdleOverlay@DISH:
RequiresCondition: !build-incomplete && !severe-damaged
Sequence: idle-dish Sequence: idle-dish
PauseOnCondition: disabled PauseOnCondition: disabled
RequiresCondition: !severe-damaged
GrantConditionOnDamageState@STOPDISH: GrantConditionOnDamageState@STOPDISH:
Condition: severe-damaged Condition: severe-damaged
Power: Power:
@@ -658,6 +666,7 @@ starport:
corrino: starport.harkonnen corrino: starport.harkonnen
smuggler: starport.smuggler smuggler: starport.smuggler
WithDeliveryOverlay: WithDeliveryOverlay:
RequiresCondition: !build-incomplete
Palette: starportlights Palette: starportlights
ProductionBar: ProductionBar:
PrimaryBuilding: PrimaryBuilding:
@@ -900,6 +909,7 @@ repair_pad:
harkonnen: repair_pad.harkonnen harkonnen: repair_pad.harkonnen
corrino: repair_pad.harkonnen corrino: repair_pad.harkonnen
WithRepairOverlay: WithRepairOverlay:
RequiresCondition: !build-incomplete
Palette: effect75alpha Palette: effect75alpha
Power: Power:
Amount: -50 Amount: -50
@@ -934,7 +944,6 @@ high_tech_factory:
Footprint: _X_ xxx XXX === Footprint: _X_ xxx XXX ===
Dimensions: 3,4 Dimensions: 3,4
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
WithBuildingBib:
Health: Health:
HP: 35000 HP: 35000
HitShape: HitShape:
@@ -958,6 +967,11 @@ high_tech_factory:
fremen: hightech.atreides fremen: hightech.atreides
harkonnen: hightech.harkonnen harkonnen: hightech.harkonnen
corrino: hightech.harkonnen corrino: hightech.harkonnen
WithBuildingBib:
WithProductionOverlay@WELDING:
RequiresCondition: !build-incomplete
Queues: Aircraft
Sequence: production-welding
ProvidesPrerequisite@upgrade: ProvidesPrerequisite@upgrade:
Prerequisite: hightech.atreides Prerequisite: hightech.atreides
Factions: atreides Factions: atreides
@@ -975,9 +989,6 @@ high_tech_factory:
CameraActor: camera CameraActor: camera
ArrowSequence: arrow ArrowSequence: arrow
CircleSequence: circles CircleSequence: circles
WithProductionOverlay@WELDING:
Queues: Aircraft
Sequence: production-welding
Power: Power:
Amount: -75 Amount: -75
GrantConditionOnPrerequisite: GrantConditionOnPrerequisite:
@@ -1016,7 +1027,6 @@ research_centre:
Footprint: _X_ xxx XXX === Footprint: _X_ xxx XXX ===
Dimensions: 3,4 Dimensions: 3,4
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
WithBuildingBib:
Health: Health:
HP: 25000 HP: 25000
HitShape: HitShape:
@@ -1040,7 +1050,9 @@ research_centre:
fremen: research.atreides fremen: research.atreides
harkonnen: research.harkonnen harkonnen: research.harkonnen
corrino: research.harkonnen corrino: research.harkonnen
WithBuildingBib:
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights Sequence: idle-lights
Power: Power:
Amount: -175 Amount: -175
@@ -1065,8 +1077,6 @@ palace:
Building: Building:
Footprint: xx= xxx =xx Footprint: xx= xxx =xx
Dimensions: 3,3 Dimensions: 3,3
WithBuildingBib:
HasMinibib: True
Health: Health:
HP: 40000 HP: 40000
HitShape: HitShape:
@@ -1092,6 +1102,12 @@ palace:
fremen: palace.atreides fremen: palace.atreides
harkonnen: palace.harkonnen harkonnen: palace.harkonnen
corrino: palace.corrino corrino: palace.corrino
WithBuildingBib:
HasMinibib: True
WithNukeLaunchOverlay:
RequiresCondition: !build-incomplete && !launchpad-damaged && harkonnen
GrantConditionOnDamageState@LAUNCHPADDAMAGED:
Condition: launchpad-damaged
Power: Power:
Amount: -200 Amount: -200
ProvidesPrerequisite@nuke: ProvidesPrerequisite@nuke:
@@ -1136,10 +1152,6 @@ palace:
CameraRange: 10c0 CameraRange: 10c0
ArrowSequence: arrow ArrowSequence: arrow
CircleSequence: circles CircleSequence: circles
WithNukeLaunchOverlay:
RequiresCondition: !launchpad-damaged && harkonnen
GrantConditionOnDamageState@LAUNCHPADDAMAGED:
Condition: launchpad-damaged
ProduceActorPower@fremen: ProduceActorPower@fremen:
Description: Recruit Fremen Description: Recruit Fremen
LongDesc: Elite infantry unit armed with assault rifles and rockets\n Strong vs Infantry, Vehicles\n Weak vs Artillery\n Special Ability: Invisibility LongDesc: Elite infantry unit armed with assault rifles and rockets\n Strong vs Infantry, Vehicles\n Weak vs Artillery\n Special Ability: Invisibility

View File

@@ -142,10 +142,13 @@ WEAF:
Footprint: xxx xxx === Footprint: xxx xxx ===
Dimensions: 3,3 Dimensions: 3,3
LocalCenterOffset: 0,-512,0 LocalCenterOffset: 0,-512,0
WithBuildingBib:
RenderSprites: RenderSprites:
Image: WEAP Image: WEAP
WithBuildingBib:
WithMakeAnimation:
Condition: build-incomplete
WithProductionDoorOverlay: WithProductionDoorOverlay:
RequiresCondition: !build-incomplete
Sequence: build-top Sequence: build-top
Valued: Valued:
Cost: 200 Cost: 200

View File

@@ -60,7 +60,10 @@ MSLO:
Amount: -150 Amount: -150
MustBeDestroyed: MustBeDestroyed:
RequiredForShortGame: false RequiredForShortGame: false
WithMakeAnimation:
Condition: build-incomplete
WithNukeLaunchAnimation: WithNukeLaunchAnimation:
RequiresCondition: !build-incomplete
GAP: GAP:
Inherits: ^ScienceBuilding Inherits: ^ScienceBuilding
@@ -969,7 +972,10 @@ WEAP:
RevealsShroud@GAPGEN: RevealsShroud@GAPGEN:
Range: 4c0 Range: 4c0
WithBuildingBib: WithBuildingBib:
WithMakeAnimation:
Condition: build-incomplete
WithProductionDoorOverlay: WithProductionDoorOverlay:
RequiresCondition: !build-incomplete
Sequence: build-top Sequence: build-top
RallyPoint: RallyPoint:
Exit@1: Exit@1:
@@ -1101,7 +1107,6 @@ FACT:
RevealGeneratedShroud: False RevealGeneratedShroud: False
RevealsShroud@GAPGEN: RevealsShroud@GAPGEN:
Range: 4c0 Range: 4c0
WithBuildingBib:
Production: Production:
PauseOnCondition: being-captured PauseOnCondition: being-captured
Produces: Building, Defense Produces: Building, Defense
@@ -1131,8 +1136,11 @@ FACT:
BaseProvider: BaseProvider:
PauseOnCondition: being-captured PauseOnCondition: being-captured
Range: 16c0 Range: 16c0
WithBuildingBib:
WithMakeAnimation:
Condition: build-incomplete
WithBuildingPlacedAnimation: WithBuildingPlacedAnimation:
RequiresCondition: !chrono-vortex RequiresCondition: !build-incomplete && !chrono-vortex
Power: Power:
Amount: 0 Amount: 0
WithDeathAnimation: WithDeathAnimation:
@@ -1180,7 +1188,6 @@ PROC:
RevealGeneratedShroud: False RevealGeneratedShroud: False
RevealsShroud@GAPGEN: RevealsShroud@GAPGEN:
Range: 4c0 Range: 4c0
WithBuildingBib:
Refinery: Refinery:
DockAngle: 64 DockAngle: 64
DockOffset: 1,2 DockOffset: 1,2
@@ -1198,7 +1205,11 @@ PROC:
Percentage: 50 Percentage: 50
Types: SpyInfiltrate Types: SpyInfiltrate
Notification: CreditsStolen Notification: CreditsStolen
WithBuildingBib:
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@TOP: WithIdleOverlay@TOP:
RequiresCondition: !build-incomplete
Sequence: idle-top Sequence: idle-top
Power: Power:
Amount: -30 Amount: -30
@@ -1244,7 +1255,10 @@ SILO:
Range: 4c0 Range: 4c0
WithBuildingBib: WithBuildingBib:
HasMinibib: Yes HasMinibib: Yes
WithMakeAnimation:
Condition: build-incomplete
WithSiloAnimation: WithSiloAnimation:
RequiresCondition: !build-incomplete
StoresResources: StoresResources:
PipCount: 5 PipCount: 5
Capacity: 3000 Capacity: 3000
@@ -1286,6 +1300,10 @@ HPAD:
RevealsShroud@GAPGEN: RevealsShroud@GAPGEN:
Range: 4c0 Range: 4c0
WithBuildingBib: WithBuildingBib:
WithMakeAnimation:
Condition: build-incomplete
WithResupplyAnimation:
RequiresCondition: !build-incomplete
Exit@1: Exit@1:
SpawnOffset: 0,-256,0 SpawnOffset: 0,-256,0
ExitCell: 0,0 ExitCell: 0,0
@@ -1345,7 +1363,6 @@ HPAD:
ReferencePoint: Top ReferencePoint: Top
ZOffset: 256 ZOffset: 256
RequiresCondition: primary RequiresCondition: primary
WithResupplyAnimation:
AFLD: AFLD:
Inherits: ^Building Inherits: ^Building
@@ -1486,7 +1503,10 @@ AFLD:
ReferencePoint: Top ReferencePoint: Top
ZOffset: 256 ZOffset: 256
RequiresCondition: primary RequiresCondition: primary
WithMakeAnimation:
Condition: build-incomplete
WithResupplyAnimation: WithResupplyAnimation:
RequiresCondition: !build-incomplete
AFLD.Ukraine: AFLD.Ukraine:
Inherits: AFLD Inherits: AFLD
@@ -1875,8 +1895,6 @@ FIX:
RevealGeneratedShroud: False RevealGeneratedShroud: False
RevealsShroud@GAPGEN: RevealsShroud@GAPGEN:
Range: 4c0 Range: 4c0
WithBuildingBib:
HasMinibib: Yes
Reservable: Reservable:
RallyPoint: RallyPoint:
RepairsUnits: RepairsUnits:
@@ -1885,7 +1903,12 @@ FIX:
StartRepairingNotification: Repairing StartRepairingNotification: Repairing
FinishRepairingNotification: UnitRepaired FinishRepairingNotification: UnitRepaired
PlayerExperience: 15 PlayerExperience: 15
WithBuildingBib:
HasMinibib: Yes
WithMakeAnimation:
Condition: build-incomplete
WithResupplyAnimation: WithResupplyAnimation:
RequiresCondition: !build-incomplete
Power: Power:
Amount: -30 Amount: -30
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:

View File

@@ -1140,6 +1140,7 @@
Condition: build-incomplete Condition: build-incomplete
-WithSpriteBody: -WithSpriteBody:
WithGateSpriteBody: WithGateSpriteBody:
PauseOnCondition: !build-incomplete
OpenSequence: open OpenSequence: open
Tooltip: Tooltip:
Buildable: Buildable:

View File

@@ -22,10 +22,13 @@ GAPOWR:
RevealsShroud: RevealsShroud:
Range: 4c0 Range: 4c0
MaxHeightDelta: 3 MaxHeightDelta: 3
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !empdisable RequiresCondition: !build-incomplete && !empdisable
Sequence: idle-lights Sequence: idle-lights
WithIdleOverlay@PLUG: WithIdleOverlay@PLUG:
RequiresCondition: !build-incomplete
PauseOnCondition: empdisable PauseOnCondition: empdisable
Sequence: idle-plug Sequence: idle-plug
Selectable: Selectable:
@@ -42,19 +45,23 @@ GAPOWR:
Offset: 0,1 Offset: 0,1
Conditions: Conditions:
powrup: powrup.a powrup: powrup.a
Requirements:
powrup: !build-incomplete
Power@pluga: Power@pluga:
RequiresCondition: !empdisable && powrup.a RequiresCondition: !empdisable && powrup.a
Amount: 50 Amount: 50
WithIdleOverlay@pluga: WithIdleOverlay@pluga:
RequiresCondition: powrup.a RequiresCondition: !build-incomplete && powrup.a
PauseOnCondition: empdisable PauseOnCondition: empdisable
Sequence: idle-powrupa Sequence: idle-powrupa
Pluggable@plugb: Pluggable@plugb:
Offset: 1,1 Offset: 1,1
Conditions: Conditions:
powrup: powrup.b powrup: powrup.b
Requirements:
powrup: !build-incomplete
WithIdleOverlay@plugb: WithIdleOverlay@plugb:
RequiresCondition: powrup.b RequiresCondition: !build-incomplete && powrup.b
PauseOnCondition: empdisable PauseOnCondition: empdisable
Sequence: idle-powrupb Sequence: idle-powrupb
Power@plugb: Power@plugb:
@@ -105,11 +112,16 @@ GAPILE:
PrimaryCondition: primary PrimaryCondition: primary
SelectionNotification: PrimaryBuildingSelected SelectionNotification: PrimaryBuildingSelected
ProductionBar: ProductionBar:
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights Sequence: idle-lights
WithIdleOverlay@LIGHT: WithIdleOverlay@LIGHT:
RequiresCondition: !build-incomplete
Sequence: idle-light Sequence: idle-light
WithIdleOverlay@FLAG: WithIdleOverlay@FLAG:
RequiresCondition: !build-incomplete
Sequence: idle-flag Sequence: idle-flag
Power: Power:
Amount: -20 Amount: -20
@@ -166,16 +178,24 @@ GAWEAP:
PrimaryCondition: primary PrimaryCondition: primary
SelectionNotification: PrimaryBuildingSelected SelectionNotification: PrimaryBuildingSelected
ProductionBar: ProductionBar:
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@ROOF: WithIdleOverlay@ROOF:
RequiresCondition: !build-incomplete
Sequence: idle-roof Sequence: idle-roof
WithProductionDoorOverlay@DOOR: WithProductionDoorOverlay@DOOR:
RequiresCondition: !build-incomplete
WithIdleOverlay@WHITELIGHTS: WithIdleOverlay@WHITELIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights-white Sequence: idle-lights-white
WithIdleOverlay@REDLIGHTS: WithIdleOverlay@REDLIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights-red Sequence: idle-lights-red
WithIdleOverlay@TURBINES: WithIdleOverlay@TURBINES:
RequiresCondition: !build-incomplete
Sequence: idle-turbines Sequence: idle-turbines
WithIdleOverlay@BIB: WithIdleOverlay@BIB:
RequiresCondition: !build-incomplete
Sequence: bib Sequence: bib
Power: Power:
Amount: -30 Amount: -30
@@ -228,9 +248,13 @@ GAHPAD:
PlayerExperience: 15 PlayerExperience: 15
StartRepairingNotification: Repairing StartRepairingNotification: Repairing
ProductionBar: ProductionBar:
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@PLATFORM: WithIdleOverlay@PLATFORM:
RequiresCondition: !build-incomplete
Sequence: idle-platform Sequence: idle-platform
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights Sequence: idle-lights
WithDeathAnimation@BIB: WithDeathAnimation@BIB:
DeathSequence: dead-platform DeathSequence: dead-platform
@@ -282,19 +306,25 @@ GADEPT:
RallyPoint: RallyPoint:
Palette: mouse Palette: mouse
IsPlayerPalette: false IsPlayerPalette: false
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@LIGHT: WithIdleOverlay@LIGHT:
RequiresCondition: !build-incomplete
Sequence: idle-light Sequence: idle-light
WithIdleOverlay@GROUND: WithIdleOverlay@GROUND:
RequiresCondition: !build-incomplete
Sequence: ground Sequence: ground
WithIdleOverlay@CIRCUITS: WithIdleOverlay@CIRCUITS:
RequiresCondition: !build-incomplete
Sequence: circuits Sequence: circuits
WithRepairOverlay@CRANE: WithRepairOverlay@CRANE:
RequiresCondition: !build-incomplete
PauseOnCondition: empdisable PauseOnCondition: empdisable
StartSequence: crane-start StartSequence: crane-start
Sequence: crane-loop Sequence: crane-loop
EndSequence: crane-end EndSequence: crane-end
WithRepairOverlay@PLATFORM: WithRepairOverlay@PLATFORM:
RequiresCondition: !empdisable RequiresCondition: !build-incomplete && !empdisable
Sequence: platform Sequence: platform
WithDeathAnimation@BIB: WithDeathAnimation@BIB:
DeathSequence: dead-ground DeathSequence: dead-ground
@@ -343,9 +373,12 @@ GARADR:
RevealsShroud: RevealsShroud:
Range: 10c0 Range: 10c0
MaxHeightDelta: 3 MaxHeightDelta: 3
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@DISH: WithIdleOverlay@DISH:
Sequence: idle-dish RequiresCondition: !build-incomplete
PauseOnCondition: disabled || empdisable PauseOnCondition: disabled || empdisable
Sequence: idle-dish
Targetable: Targetable:
TargetTypes: Ground, Building, C4, SpyInfiltrate TargetTypes: Ground, Building, C4, SpyInfiltrate
Power: Power:
@@ -381,8 +414,10 @@ GATECH:
RevealsShroud: RevealsShroud:
Range: 4c0 Range: 4c0
MaxHeightDelta: 3 MaxHeightDelta: 3
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled RequiresCondition: !build-incomplete && !disabled
Sequence: idle-lights Sequence: idle-lights
Power: Power:
Amount: -150 Amount: -150
@@ -408,14 +443,17 @@ GAPLUG:
Building: Building:
Footprint: xxx xxx Footprint: xxx xxx
Dimensions: 2,3 Dimensions: 2,3
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@DISH: WithIdleOverlay@DISH:
RequiresCondition: !build-incomplete
PauseOnCondition: disabled || empdisable PauseOnCondition: disabled || empdisable
Sequence: idle-dish Sequence: idle-dish
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled && !empdisable RequiresCondition: !build-incomplete && !disabled && !empdisable
Sequence: idle-lights Sequence: idle-lights
WithIdleOverlay@STRIP: WithIdleOverlay@STRIP:
RequiresCondition: !disabled && !empdisable RequiresCondition: !build-incomplete && !disabled && !empdisable
Sequence: idle-strip Sequence: idle-strip
Health: Health:
HP: 100000 HP: 100000
@@ -469,14 +507,14 @@ GAPLUG:
plug.ioncannon: plug.ioncannona plug.ioncannon: plug.ioncannona
plug.hunterseeker: plug.hunterseekera plug.hunterseeker: plug.hunterseekera
Requirements: Requirements:
plug.ioncannon: !plug.ioncannonb && !plug.ioncannona && !plug.hunterseekera plug.ioncannon: !build-incomplete && !plug.ioncannonb && !plug.ioncannona && !plug.hunterseekera
plug.hunterseeker: !plug.hunterseekerb && !plug.ioncannona && !plug.hunterseekera plug.hunterseeker: !build-incomplete && !plug.hunterseekerb && !plug.ioncannona && !plug.hunterseekera
WithIdleOverlay@ioncannona: WithIdleOverlay@ioncannona:
RequiresCondition: plug.ioncannona RequiresCondition: !build-incomplete && plug.ioncannona
PauseOnCondition: disabled PauseOnCondition: disabled
Sequence: idle-ioncannona Sequence: idle-ioncannona
WithIdleOverlay@hunterseekera: WithIdleOverlay@hunterseekera:
RequiresCondition: plug.hunterseekera RequiresCondition: !build-incomplete && plug.hunterseekera
PauseOnCondition: disabled PauseOnCondition: disabled
Sequence: idle-hunterseekera Sequence: idle-hunterseekera
Pluggable@plugb: Pluggable@plugb:
@@ -485,14 +523,14 @@ GAPLUG:
plug.ioncannon: plug.ioncannonb plug.ioncannon: plug.ioncannonb
plug.hunterseeker: plug.hunterseekerb plug.hunterseeker: plug.hunterseekerb
Requirements: Requirements:
plug.ioncannon: !plug.ioncannona && !plug.ioncannonb && !plug.hunterseekerb plug.ioncannon: !build-incomplete && !plug.ioncannona && !plug.ioncannonb && !plug.hunterseekerb
plug.hunterseeker: !plug.hunterseekera && !plug.ioncannonb && !plug.hunterseekerb plug.hunterseeker: !build-incomplete && !plug.hunterseekera && !plug.ioncannonb && !plug.hunterseekerb
WithIdleOverlay@ioncannonb: WithIdleOverlay@ioncannonb:
RequiresCondition: plug.ioncannonb RequiresCondition: !build-incomplete && plug.ioncannonb
PauseOnCondition: disabled PauseOnCondition: disabled
Sequence: idle-ioncannonb Sequence: idle-ioncannonb
WithIdleOverlay@hunterseekerb: WithIdleOverlay@hunterseekerb:
RequiresCondition: plug.hunterseekerb RequiresCondition: !build-incomplete && plug.hunterseekerb
PauseOnCondition: disabled PauseOnCondition: disabled
Sequence: idle-hunterseekerb Sequence: idle-hunterseekerb
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:

View File

@@ -76,16 +76,18 @@ GACTWR:
AttackTurreted: AttackTurreted:
RequiresCondition: tower.vulcan || tower.rocket || tower.sam RequiresCondition: tower.vulcan || tower.rocket || tower.sam
PauseOnCondition: empdisable || disabled PauseOnCondition: empdisable || disabled
WithMakeAnimation:
Condition: build-incomplete
WithSpriteTurret@VULC: WithSpriteTurret@VULC:
RequiresCondition: tower.vulcan RequiresCondition: !build-incomplete && tower.vulcan
Recoils: false Recoils: false
Sequence: turret-vulcan Sequence: turret-vulcan
WithSpriteTurret@ROCKET: WithSpriteTurret@ROCKET:
RequiresCondition: tower.rocket RequiresCondition: !build-incomplete && tower.rocket
Recoils: false Recoils: false
Sequence: turret-rocket Sequence: turret-rocket
WithSpriteTurret@SAM: WithSpriteTurret@SAM:
RequiresCondition: tower.sam RequiresCondition: !build-incomplete && tower.sam
Recoils: false Recoils: false
Sequence: turret-sam Sequence: turret-sam
Armament@VULCPRIMARY: Armament@VULCPRIMARY:
@@ -112,9 +114,9 @@ GACTWR:
Weapon: RedEye2 Weapon: RedEye2
LocalOffset: 543,0,1697 LocalOffset: 543,0,1697
WithMuzzleOverlay: WithMuzzleOverlay:
RequiresCondition: tower.vulcan RequiresCondition: !build-incomplete && tower.vulcan
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled RequiresCondition: !build-incomplete && !disabled
Sequence: idle-lights Sequence: idle-lights
LineBuildNode: LineBuildNode:
Types: turret Types: turret
@@ -132,6 +134,10 @@ GACTWR:
tower.vulcan: tower.vulcan tower.vulcan: tower.vulcan
tower.rocket: tower.rocket tower.rocket: tower.rocket
tower.sam: tower.sam tower.sam: tower.sam
Requirements:
tower.vulcan: !build-incomplete
tower.rocket: !build-incomplete
tower.sam: !build-incomplete
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
SelectionDecorations: SelectionDecorations:
Replacement: Replacement:

View File

@@ -25,8 +25,10 @@ NAPOWR:
RevealsShroud: RevealsShroud:
Range: 4c0 Range: 4c0
MaxHeightDelta: 3 MaxHeightDelta: 3
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !empdisable RequiresCondition: !build-incomplete && !empdisable
Sequence: idle-lights Sequence: idle-lights
Power: Power:
Amount: 100 Amount: 100
@@ -64,8 +66,10 @@ NAAPWR:
RevealsShroud: RevealsShroud:
Range: 4c0 Range: 4c0
MaxHeightDelta: 3 MaxHeightDelta: 3
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !empdisable RequiresCondition: !build-incomplete && !empdisable
Sequence: idle-lights Sequence: idle-lights
Power: Power:
Amount: 200 Amount: 200
@@ -119,9 +123,13 @@ NAHAND:
PrimaryCondition: primary PrimaryCondition: primary
SelectionNotification: PrimaryBuildingSelected SelectionNotification: PrimaryBuildingSelected
ProductionBar: ProductionBar:
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights Sequence: idle-lights
WithIdleOverlay@LIGHT: WithIdleOverlay@LIGHT:
RequiresCondition: !build-incomplete
Sequence: idle-light Sequence: idle-light
Power: Power:
Amount: -20 Amount: -20
@@ -178,12 +186,18 @@ NAWEAP:
PrimaryCondition: primary PrimaryCondition: primary
SelectionNotification: PrimaryBuildingSelected SelectionNotification: PrimaryBuildingSelected
ProductionBar: ProductionBar:
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@ROOF: WithIdleOverlay@ROOF:
RequiresCondition: !build-incomplete
Sequence: idle-roof Sequence: idle-roof
WithProductionDoorOverlay@DOOR: WithProductionDoorOverlay@DOOR:
RequiresCondition: !build-incomplete
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights Sequence: idle-lights
WithIdleOverlay@BIB: WithIdleOverlay@BIB:
RequiresCondition: !build-incomplete
Sequence: bib Sequence: bib
Power: Power:
Amount: -30 Amount: -30
@@ -236,9 +250,13 @@ NAHPAD:
PlayerExperience: 15 PlayerExperience: 15
StartRepairingNotification: Repairing StartRepairingNotification: Repairing
ProductionBar: ProductionBar:
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@PLATFORM: WithIdleOverlay@PLATFORM:
RequiresCondition: !build-incomplete
Sequence: idle-platform Sequence: idle-platform
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights Sequence: idle-lights
WithDeathAnimation@BIB: WithDeathAnimation@BIB:
DeathSequence: dead-platform DeathSequence: dead-platform
@@ -292,9 +310,12 @@ NARADR:
RevealsShroud: RevealsShroud:
Range: 10c0 Range: 10c0
MaxHeightDelta: 3 MaxHeightDelta: 3
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@DISH: WithIdleOverlay@DISH:
Sequence: idle-dish RequiresCondition: !build-incomplete
PauseOnCondition: disabled || empdisable PauseOnCondition: disabled || empdisable
Sequence: idle-dish
Targetable: Targetable:
TargetTypes: Ground, Building, C4, SpyInfiltrate TargetTypes: Ground, Building, C4, SpyInfiltrate
Power: Power:
@@ -330,8 +351,10 @@ NATECH:
RevealsShroud: RevealsShroud:
Range: 4c0 Range: 4c0
MaxHeightDelta: 3 MaxHeightDelta: 3
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled RequiresCondition: !build-incomplete && !disabled
Sequence: idle-lights Sequence: idle-lights
Power: Power:
Amount: -150 Amount: -150
@@ -370,8 +393,10 @@ NATMPL:
MaxHeightDelta: 3 MaxHeightDelta: 3
Power: Power:
Amount: -200 Amount: -200
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled RequiresCondition: !build-incomplete && !disabled
Sequence: idle-lights Sequence: idle-lights
ProduceActorPower: ProduceActorPower:
PauseOnCondition: empdisable || disabled PauseOnCondition: empdisable || disabled

View File

@@ -63,8 +63,6 @@ NAPOST:
NodeTypes: laserfencenode NodeTypes: laserfencenode
SegmentType: nafnce SegmentType: nafnce
SegmentsRequireNode: true SegmentsRequireNode: true
WithMakeAnimation:
Condition: make-animation-playing
Selectable: Selectable:
Bounds: 42, 44, 0, -12 Bounds: 42, 44, 0, -12
LineBuildNode: LineBuildNode:
@@ -73,14 +71,16 @@ NAPOST:
Amount: -25 Amount: -25
RevealsShroud: RevealsShroud:
Range: 4c0 Range: 4c0
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled RequiresCondition: !build-incomplete && !disabled
Sequence: lights Sequence: lights
WithIdleOverlay@CHAINOFLIGHTS: WithIdleOverlay@CHAINOFLIGHTS:
RequiresCondition: !disabled RequiresCondition: !build-incomplete && !disabled
Sequence: chainoflights Sequence: chainoflights
LineBuildSegmentExternalCondition: LineBuildSegmentExternalCondition:
RequiresCondition: !disabled && !make-animation-playing RequiresCondition: !build-incomplete && !disabled
Condition: active-posts Condition: active-posts
NAFNCE: NAFNCE:
@@ -173,8 +173,11 @@ NALASR:
Armament: Armament:
Weapon: TurretLaserFire Weapon: TurretLaserFire
LocalOffset: 498,0,317 LocalOffset: 498,0,317
WithMakeAnimation:
Condition: build-incomplete
RenderVoxels: RenderVoxels:
WithVoxelTurret: WithVoxelTurret:
RequiresCondition: !build-incomplete
Power: Power:
Amount: -40 Amount: -40
SelectionDecorations: SelectionDecorations:
@@ -218,11 +221,14 @@ NAOBEL:
RequiresCondition: charging && !disabled RequiresCondition: charging && !disabled
SoundFiles: obelpowr.aud SoundFiles: obelpowr.aud
Interval: 30, 40 Interval: 30, 40
WithMakeAnimation:
Condition: build-incomplete
WithChargeOverlay: WithChargeOverlay:
RequiresCondition: !build-incomplete
Palette: player Palette: player
IsPlayerPalette: true IsPlayerPalette: true
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled RequiresCondition: !build-incomplete && !disabled
Sequence: idle-lights Sequence: idle-lights
Power: Power:
Amount: -150 Amount: -150
@@ -257,7 +263,10 @@ NASAM:
InitialFacing: 224 InitialFacing: 224
AttackTurreted: AttackTurreted:
PauseOnCondition: empdisable || disabled PauseOnCondition: empdisable || disabled
WithMakeAnimation:
Condition: build-incomplete
WithSpriteTurret: WithSpriteTurret:
RequiresCondition: !build-incomplete
Recoils: false Recoils: false
Armament: Armament:
Weapon: RedEye2 Weapon: RedEye2
@@ -291,9 +300,11 @@ NASTLH:
RevealsShroud: RevealsShroud:
Range: 6c0 Range: 6c0
MaxHeightDelta: 3 MaxHeightDelta: 3
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@pulse: WithIdleOverlay@pulse:
RequiresCondition: !build-incomplete && !disabled
Sequence: pulse Sequence: pulse
RequiresCondition: !disabled
WithRangeCircle: WithRangeCircle:
Range: 12c0 Range: 12c0
Type: cloakgenerator Type: cloakgenerator
@@ -339,8 +350,10 @@ NAMISL:
Type: Wood Type: Wood
RevealsShroud: RevealsShroud:
Range: 4c0 Range: 4c0
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled RequiresCondition: !build-incomplete && !disabled
Sequence: idle-lights Sequence: idle-lights
Power: Power:
Amount: -50 Amount: -50
@@ -407,12 +420,16 @@ NAWAST:
Actor: WEED Actor: WEED
SpawnOffset: 3,1 SpawnOffset: 3,1
Facing: 160 Facing: 160
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@GLOW: WithIdleOverlay@GLOW:
RequiresCondition: !build-incomplete
Sequence: idle-glow Sequence: idle-glow
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights Sequence: idle-lights
WithIdleOverlay@BIB: WithIdleOverlay@BIB:
RequiresCondition: !build-incomplete
Sequence: bib Sequence: bib
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
SelectionDecorations: SelectionDecorations:
RenderSprites:

View File

@@ -40,13 +40,19 @@ GACNST:
ProductionType: Building ProductionType: Building
ProductionBar@Defense: ProductionBar@Defense:
ProductionType: Defense ProductionType: Defense
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@TOP: WithIdleOverlay@TOP:
RequiresCondition: !build-incomplete
Sequence: idle-top Sequence: idle-top
WithIdleOverlay@SIDE: WithIdleOverlay@SIDE:
RequiresCondition: !build-incomplete
Sequence: idle-side Sequence: idle-side
WithIdleOverlay@FRONT: WithIdleOverlay@FRONT:
RequiresCondition: !build-incomplete
Sequence: idle-front Sequence: idle-front
WithBuildingPlacedOverlay: WithBuildingPlacedOverlay:
RequiresCondition: !build-incomplete
Power: Power:
Amount: 0 Amount: 0
Selectable: Selectable:
@@ -97,14 +103,20 @@ PROC:
Actor: HARV Actor: HARV
SpawnOffset: 2,1 SpawnOffset: 2,1
Facing: 160 Facing: 160
WithMakeAnimation:
Condition: build-incomplete
WithIdleOverlay@REDLIGHTS: WithIdleOverlay@REDLIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-redlights Sequence: idle-redlights
WithIdleOverlay@BIB: WithIdleOverlay@BIB:
RequiresCondition: !build-incomplete
Sequence: bib Sequence: bib
WithDockedOverlay@FLAME: WithDockedOverlay@FLAME:
RequiresCondition: !build-incomplete
Sequence: flame Sequence: flame
Palette: effect Palette: effect
WithDockingOverlay@UNLOAD: WithDockingOverlay@UNLOAD:
RequiresCondition: !build-incomplete
Power: Power:
Amount: -30 Amount: -30
ProvidesPrerequisite@buildingname: ProvidesPrerequisite@buildingname:
@@ -148,11 +160,15 @@ GASILO:
FactionImages: FactionImages:
gdi: gasilo.gdi gdi: gasilo.gdi
nod: gasilo.nod nod: gasilo.nod
WithSpriteBody: WithMakeAnimation:
Condition: build-incomplete
WithSiloAnimation: WithSiloAnimation:
RequiresCondition: !build-incomplete
WithIdleOverlay@UNDERLAY: WithIdleOverlay@UNDERLAY:
RequiresCondition: !build-incomplete
Sequence: idle-underlay Sequence: idle-underlay
WithIdleOverlay@LIGHTS: WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights Sequence: idle-lights
StoresResources: StoresResources:
PipColor: Green PipColor: Green

View File

@@ -32,7 +32,10 @@ NAPULS:
Weapon: EMPulseCannon Weapon: EMPulseCannon
LocalOffset: 212,0,1768 LocalOffset: 212,0,1768
LocalYaw: 0,100 LocalYaw: 0,100
WithMakeAnimation:
Condition: build-incomplete
WithSpriteTurret: WithSpriteTurret:
RequiresCondition: !build-incomplete
Sequence: turret Sequence: turret
Power: Power:
Amount: -150 Amount: -150