Add WithNukeLaunchAnimation and -Overlay traits.

This commit is contained in:
Matthias Mailänder
2017-08-26 17:45:07 +02:00
committed by Matthias Mailänder
parent c63620e979
commit 4526344eed
12 changed files with 169 additions and 16 deletions

View File

@@ -724,6 +724,7 @@ TMPL:
ArrowSequence: arrow
ClockSequence: clock
CircleSequence: circles
WithNukeLaunchAnimation:
SupportPowerChargeBar:
Power:
Amount: -150

View File

@@ -1072,9 +1072,13 @@ palace:
DisplayBeacon: True
DisplayRadarPing: True
CameraRange: 10c0
ActivationSequence:
ArrowSequence: arrow
CircleSequence: circles
WithNukeLaunchOverlay:
RequiresCondition: !launchpad-damaged
GrantConditionOnDamageState@LAUNCHPADDAMAGED:
Condition: launchpad-damaged
ValidDamageState: Medium, Heavy, Critical
ProduceActorPower@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

View File

@@ -566,6 +566,9 @@ palace.atreides:
idle: DATA.R8
Start: 2924
Offset: -48,48
active: DATA.R8
Start: 2924
Offset: -48,48
make: DATA.R8
Start: 4677
Length: 11
@@ -980,10 +983,10 @@ palace.harkonnen:
damaged-idle: DATA.R8
Start: 3085
Offset: -48,48
# active: DATA.R8 # TODO: overlay
# Start: 5084
# Length: 20
# Offset: -48,64
active: DATA.R8
Start: 5084
Length: 20
Offset: -48,64
damaged-active: DATA.R8
Start: 5084
Length: 20
@@ -1371,6 +1374,9 @@ palace.ordos:
idle: DATA.R8
Start: 3244
Offset: -48,48
active: DATA.R8
Start: 3244
Offset: -48,48
make: DATA.R8
Start: 4677
Length: 11
@@ -1485,6 +1491,9 @@ palace.corrino:
idle: DATA.R8
Start: 3252
Offset: -48,48
active: DATA.R8
Start: 3252
Offset: -48,48
damaged-idle: DATA.R8
Start: 3253
Offset: -48,48

View File

@@ -61,6 +61,7 @@ MSLO:
Amount: -150
MustBeDestroyed:
RequiredForShortGame: false
WithNukeLaunchAnimation:
GAP:
Inherits: ^ScienceBuilding

View File

@@ -378,6 +378,7 @@ NAMISL:
DisplayRadarPing: True
BeaconPoster:
CameraRange: 10c0
WithNukeLaunchOverlay:
SelectionDecorations:
VisualBounds: 75,48

View File

@@ -1871,10 +1871,10 @@ namisl:
make: ntmislmk
Length: 18
ShadowStart: 18
active: ntmisl_a # TODO: This is an overlay, but currently used as animation
active: ntmisl_a
Length: 10
Tick: 80
damaged-active: ntmisl_a # TODO: This is an overlay, but currently used as animation
damaged-active: ntmisl_a
Start: 10
Length: 10
Tick: 80