Files
OpenRA/mods/ts/rules/critters.yaml

150 lines
2.8 KiB
YAML

DOGGIE:
Inherits@1: ^Infantry
Inherits@2: ^RegularInfantryDeath
Inherits@3: ^HealsOnTiberium
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
MapEditorData:
Categories: Critter
Tooltip:
Name: Tiberian Fiend
Health:
HP: 25000
Selectable:
Bounds: 24,24
Valued:
Cost: 100
Armor:
Type: Light
RevealsShroud:
Range: 4c0
Mobile:
Speed: 113
Voiced:
VoiceSet: Fiend
Targetable:
TargetTypes: Ground, Creep
Armament:
Weapon: FiendShard
AttackFrontal:
Voice: Attack
AttackWander:
WanderMoveRadius: 2
MinMoveDelay: 200
MaxMoveDelay: 600
-SpawnActorOnDeath@FLAMEGUY:
WithDeathAnimation@fire:
DeathSequence: die-
DeathTypes:
FireDeath: burning
HitShape:
Type: Circle
Radius: 213
GrantConditionOnTerrain:
Condition: hidingplace
TerrainTypes: Tiberium, BlueTiberium
GrantConditionOnMovement:
Condition: moving
GrantConditionOnAttack:
ArmamentNames: primary
Condition: attacking
RenderSprites:
Palette: greentiberium
WithSpriteBody:
RequiresCondition: hidingplace && !moving && !attacking
StartSequence: laydown
Sequence: hide
WithInfantryBody:
RequiresCondition: !hidingplace || moving || attacking
VISC_SML:
Inherits: ^Visceroid
Tooltip:
Name: Baby Visceroid
Health:
HP: 20000
AttackWander:
WanderMoveRadius: 2
MinMoveDelay: 30
MaxMoveDelay: 60
RenderSprites:
Image: vissml
Mobile:
Locomotor: smallvisc
Crushable:
CrushClasses: visceroid-fusing
WarnProbability: 0
CrushedByFriendlies: True
TransformCrusherOnCrush:
IntoActor: visc_lrg
CrushClasses: visceroid-fusing
VISC_LRG:
Inherits: ^Visceroid
Inherits@CRATESTATS: ^CrateStatModifiers
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
Tooltip:
Name: Adult Visceroid
Health:
HP: 50000
Armor:
Type: Heavy
RevealsShroud:
Range: 4c0
Armament:
Weapon: SlimeAttack
FireDelay: 10
AutoTarget:
ScanRadius: 5
AttackFrontal:
Voice: Attack
AttackWander:
WanderMoveRadius: 2
MinMoveDelay: 25
MaxMoveDelay: 50
WithAttackAnimation:
Sequence: attack
RenderSprites:
Image: vislrg
JFISH:
Inherits: ^Visceroid
Inherits@CRATESTATS: ^CrateStatModifiers
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
Tooltip:
Name: Tiberium Floater
Health:
HP: 50000
RevealsShroud:
Range: 5c0
Mobile:
Speed: 72
Locomotor: hover
Armament:
Weapon: Tentacle
FireDelay: 10
AutoTarget:
ScanRadius: 5
AttackFrontal:
AttackWander:
WanderMoveRadius: 6
MinMoveDelay: 250
MaxMoveDelay: 600
WithAttackAnimation:
Sequence: attack
WithAttackOverlay@muzzle:
Sequence: attack-shock
Palette: bright
RenderSprites:
Image: floater
Palette: player-nobright
Selectable:
Bounds: 32,32,0,-5
AmbientSound:
SoundFiles: floatmov.aud, flotmov2.aud, flotmov3.aud, flotmov4.aud
Delay: 150, 450
Interval: 300, 800
HitShape:
Type: Circle
Radius: 363
VerticalTopOffset: 768