Remove sniper

This commit is contained in:
Gustas
2022-12-05 15:43:34 +02:00
committed by Smittytron
parent 55cf40ec52
commit b619dd14c5
10 changed files with 146 additions and 156 deletions

View File

@@ -80,10 +80,6 @@ SPY:
Buildable:
Prerequisites: ~disabled
SNIPER:
Buildable:
Prerequisites: ~disabled
MGG:
Buildable:
Prerequisites: ~disabled

View File

@@ -465,4 +465,6 @@ Rules: rules.yaml
Weapons: weapons.yaml
Sequences: sequences.yaml
Music: music.yaml

View File

@@ -273,12 +273,60 @@ SHOK:
Cost: 150
SNIPER:
Inherits: ^Soldier
Valued:
Cost: 200
Tooltip:
Name: Sniper
UpdatesPlayerStatistics:
AddToArmyValue: true
Buildable:
Queue: Infantry
BuildAtProductionType: Soldier
BuildPaletteOrder: 80
Prerequisites: barracks
Description: Elite sniper infantry unit.\nCan detect cloaked units.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft
Health:
HP: 20000
Passenger:
CustomPipType: red
RevealsShroud:
Range: 6c0
AutoTarget:
InitialStance: HoldFire
InitialStanceAI: ReturnFire
AutoTargetPriority@DEFAULT:
ValidTargets: Infantry
Armament@PRIMARY:
Weapon: Sniper
Armament@GARRISONED:
Name: garrisoned
Weapon: Sniper
MuzzleSequence: garrison-muzzle
WithInfantryBody:
DefaultAttackSequence: shoot
RequiresCondition: !parachute
WithInfantryBody@PARACHUTE:
RequiresCondition: parachute
Palette: player-noshadow
IsPlayerPalette: true
Cloak:
InitialDelay: 250
CloakDelay: 120
CloakSound:
UncloakSound:
UncloakOn: Attack, Unload, Infiltrate, Demolish, Move
IsPlayerPalette: true
PauseOnCondition: cloak-force-disabled
GrantConditionOnDamageState@UNCLOAK:
Condition: cloak-force-disabled
ValidDamageStates: Critical
-MustBeDestroyed:
ProducibleWithLevel:
Prerequisites: barracks.upgraded
WithProductionIconOverlay:
Types: Veterancy
Prerequisites: barracks.upgraded
SNIPER.soviets:
Inherits: SNIPER

View File

@@ -0,0 +1,89 @@
sniper:
stand:
Facings: 8
stand2:
Start: 8
Facings: 8
run:
Start: 16
Length: 6
Facings: 8
Tick: 100
shoot:
Start: 64
Length: 16
Facings: 8
prone-stand:
Start: 208
Stride: 4
Facings: 8
prone-stand2:
Start: 208
Stride: 4
Facings: 8
prone-run:
Start: 208
Length: 4
Facings: 8
Tick: 100
liedown:
Start: 192
Length: 2
Facings: 8
standup:
Start: 240
Length: 2
Facings: 8
prone-shoot:
Start: 256
Length: 16
Facings: 8
idle1:
Start: 384
Length: 14
Tick: 120
idle2:
Start: 399
Length: 16
Tick: 120
die1:
Start: 416
Length: 8
Tick: 80
die2:
Start: 424
Length: 8
Tick: 80
die3:
Start: 432
Length: 8
Tick: 80
die4:
Start: 440
Length: 12
Tick: 80
die5:
Start: 452
Length: 18
Tick: 80
die6: electro
Frames: 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
Length: *
Tick: 80
UseTilesetExtension: true
TilesetOverrides:
DESERT: TEMPERAT
INTERIOR: TEMPERAT
die-crushed: corpse1
Length: 6
Tick: 1600
ZOffset: -511
UseTilesetExtension: true
TilesetOverrides:
DESERT: TEMPERAT
INTERIOR: TEMPERAT
garrison-muzzle: minigun
Length: 3
Stride: 6
Facings: 8
icon: snipericon

View File

@@ -174,3 +174,10 @@ SilencedPPK:
ValidTargets: Infantry, Vehicle, Husk
Versus:
Heavy: 50
Sniper:
Inherits: ^SnipeWeapon
ReloadDelay: 70
Range: 10c0
Warhead@1Dam: SpreadDamage
Damage: 14000

View File

@@ -731,62 +731,6 @@ SHOK:
Types: Veterancy
Prerequisites: barracks.upgraded
SNIPER:
Inherits: ^Soldier
Valued:
Cost: 700
Tooltip:
Name: Sniper
UpdatesPlayerStatistics:
AddToArmyValue: true
Buildable:
Queue: Infantry
BuildAtProductionType: Soldier
BuildPaletteOrder: 80
Prerequisites: ~disabled
Description: Elite sniper infantry unit.\nCan detect cloaked units.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft
Health:
HP: 8000
Passenger:
CustomPipType: red
RevealsShroud:
Range: 6c0
AutoTarget:
InitialStance: HoldFire
InitialStanceAI: ReturnFire
AutoTargetPriority@DEFAULT:
ValidTargets: Infantry
Armament@PRIMARY:
Weapon: Sniper
Armament@GARRISONED:
Name: garrisoned
Weapon: Sniper
MuzzleSequence: garrison-muzzle
WithInfantryBody:
DefaultAttackSequence: shoot
RequiresCondition: !parachute
WithInfantryBody@PARACHUTE:
RequiresCondition: parachute
Palette: player-noshadow
IsPlayerPalette: true
Cloak:
InitialDelay: 250
CloakDelay: 120
CloakSound:
UncloakSound:
UncloakOn: Attack, Unload, Infiltrate, Demolish, Move
IsPlayerPalette: true
PauseOnCondition: cloak-force-disabled
GrantConditionOnDamageState@UNCLOAK:
Condition: cloak-force-disabled
ValidDamageStates: Critical
-MustBeDestroyed:
ProducibleWithLevel:
Prerequisites: barracks.upgraded
WithProductionIconOverlay:
Types: Veterancy
Prerequisites: barracks.upgraded
Zombie:
Inherits: ^Soldier
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove

View File

@@ -114,96 +114,6 @@ e1:
Frames: 42,43,44,45,46,47,42,43,44,45,46,47
icon: e1icon
sniper:
stand:
Facings: 8
stand2:
Start: 8
Facings: 8
run:
Start: 16
Length: 6
Facings: 8
Tick: 100
shoot:
Start: 64
Length: 16
Facings: 8
prone-stand:
Start: 208
Stride: 4
Facings: 8
prone-stand2:
Start: 208
Stride: 4
Facings: 8
prone-run:
Start: 208
Length: 4
Facings: 8
Tick: 100
liedown:
Start: 192
Length: 2
Facings: 8
standup:
Start: 240
Length: 2
Facings: 8
prone-shoot:
Start: 256
Length: 16
Facings: 8
idle1:
Start: 384
Length: 14
Tick: 120
idle2:
Start: 399
Length: 16
Tick: 120
die1:
Start: 416
Length: 8
Tick: 80
die2:
Start: 424
Length: 8
Tick: 80
die3:
Start: 432
Length: 8
Tick: 80
die4:
Start: 440
Length: 12
Tick: 80
die5:
Start: 452
Length: 18
Tick: 80
die6: electro
Frames: 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
Length: *
Tick: 80
UseTilesetExtension: true
TilesetOverrides:
DESERT: TEMPERAT
INTERIOR: TEMPERAT
die-crushed: corpse1
Length: 6
Tick: 1600
ZOffset: -511
UseTilesetExtension: true
TilesetOverrides:
DESERT: TEMPERAT
INTERIOR: TEMPERAT
garrison-muzzle: minigun
Length: 3
Stride: 6
Facings: 8
icon: snipericon
e3:
stand:
Facings: 8

View File

@@ -334,9 +334,3 @@ Colt45:
Warhead@1Dam: SpreadDamage
Damage: 5000
Sniper:
Inherits: ^SnipeWeapon
ReloadDelay: 70
Range: 10c0
Warhead@1Dam: SpreadDamage
Damage: 14000