Skip to content

Commit

Permalink
split guardtower and gunpowder
Browse files Browse the repository at this point in the history
split guardtower and gunpowder cannon between baron and king
with balance those two in dps/spread and vs damage.
adjusted range circles on various defense buildings
  • Loading branch information
CombinE88 committed Jan 21, 2019
1 parent edea44e commit c9be8f2
Show file tree
Hide file tree
Showing 7 changed files with 267 additions and 268 deletions.
48 changes: 48 additions & 0 deletions mods/mw/rules/faction_baron/defense_baron.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
GUNNEW:
Inherits: ^MWDefense
Inherits@AUTOTARGET: ^AutoTargetGround
Inherits@Hitshape: ^1x1Shape
Valued:
Cost: 1400
CustomSellValue:
Value: 700
Tooltip:
Name: Gunpowder Cannon
Building:
Health:
HP: 40000
Armor:
Type: HeavyBuilding
RevealsShroud:
Range: 6c0
WithBuildingBib:
Palette: bibs
HasMinibib: Yes
Turreted:
TurnSpeed: 12
InitialFacing: 56
-WithSpriteBody:
WithEmbeddedTurretSpriteBody:
Armament:
Weapon: cannonboulder
LocalOffset: 512,0,212
MuzzleSequence: muzzle
AttackTurreted:
WithMuzzleOverlay:
-WithDeathAnimation:
RenderSprites:
Image: gunnew
PlayerPalette: raplayer
DetectCloaked:
Range: 3c0
BodyOrientation:
QuantizedFacings: 32
Selectable:
Bounds: 25,25,0,0
SelectionDecorations:
ThrowsShrapnel@SMALL:
Weapons: SmallStone1, SmallStone2, LargeStone1
Pieces: 2, 3
Range: 0c512, 3c0
Targetable@CombatRole:
TargetTypes: Defenses
SAMNEW:
Inherits: ^MWDefense
Inherits@AUTOTARGET: ^AutoTargetAir
Expand Down
61 changes: 60 additions & 1 deletion mods/mw/rules/faction_baron/scaffolds_baron.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,62 @@
GUNNEW.scaff:
Inherits: ^1x1SITE
Inherits@Hitshape: ^1x1Shape
Armor:
Type: HeavyBuilding
RenderSprites:
PlayerPalette: raplayer
Image: gunnew
CustomSellValue:
Value: 700
Valued:
Cost: 1300
Tooltip:
Name: Construction Site (Gunpowder Cannon)
Buildable:
Description: The early Cannon uses gunpowder to throw a large boulder. \nIt's most effectively used against large targets.\n Strong vs Cavalry and Spectral Units\n Weak vs Infantry\n\n
BuildPaletteOrder: 60
Queue: MMilitary.Nod
IconPalette: raicon
BuildDurationModifier: 60
BuildDuration: 1000
Health:
HP: 20000
RevealsShroud:
Range: 4c0
WithBuildingBib:
Palette: bibs
HasMinibib: Yes
Selectable:
Bounds: 25,25,0,0
SelectionDecorations:
WithSpriteBody:
RequiresCondition: inactive
DebugTransformOnCondition@Finsihed:
RequiresCondition: (Construct >= 8)
IntoActor: GUNNEW
ReadyAudio:
ConstructionProgress@Construct:
FullCapacity: 8
WithIdleOverlay@base1:
Sequence: make1
RequiresCondition: Construct > 2 && Construct < 3
WithIdleOverlay@base2:
Sequence: make2
RequiresCondition: Construct >= 3 && Construct < 4
WithIdleOverlay@base3:
Sequence: make3
RequiresCondition: Construct >= 4 && Construct < 5
WithIdleOverlay@base4:
Sequence: make4
RequiresCondition: Construct >= 5 && Construct < 6
WithIdleOverlay@base5:
Sequence: make5
RequiresCondition: Construct >= 6 && Construct < 7
WithIdleOverlay@base6:
Sequence: make6
RequiresCondition: Construct >= 7
WithRangeCircle:
Range: 7c0
HANDNEW.scaff:
Inherits: ^2x3SITE
Inherits@Hitshape: ^2x2Shape
Expand Down Expand Up @@ -543,4 +602,4 @@ SAMNEW.scaff:
Sequence: make5
RequiresCondition: Construct >= 6
WithRangeCircle@Air:
Range: 8c0
Range: 10c0
79 changes: 79 additions & 0 deletions mods/mw/rules/faction_king/defense_king.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,82 @@
GTWNEW:
Inherits: ^MWDefense
Inherits@AUTOTARGET: ^AutoTargetGround
Inherits@Hitshape: ^1x1Shape
EditorTilesetFilter:
Categories: Defense
WithDeathAnimation:
DeathSequencePalette: raplayer
RenderSprites:
PlayerPalette: raplayer
Valued:
Cost: 1200
CustomSellValue:
Value: 600
Tooltip:
Name: Guard Tower
Building:
Footprint: x
Dimensions: 1,1
Health:
HP: 40000
RevealsShroud:
Range: 7c0
WithBuildingBib:
Palette: bibs
HasMinibib: Yes
WithIdleOverlay:
AttackTurreted:
Armaments: primary, secondary
BodyOrientation:
QuantizedFacings: 8
DetectCloaked:
Range: 3c0
Armament@ARMONE:
Weapon: bownarrowtower
LocalOffset: 0,0,427
Turret: primary
Name: primary
FireDelay: 5
WithSpriteTurret@SPRITURRONE:
Sequence: turretidle
Turret: primary
WithTurretAttackAnimation@SPRITURRONE:
Turret: primary
Sequence: shoot
Armament: primary
Turreted@TURRONE:
Turret: primary
TurnSpeed: 100
Offset: -170,-170,500
Armament@ARMTWO:
Weapon: bownarrowtower
LocalOffset: 0,0,427
Turret: secondary
FireDelay: 17
Name: secondary
WithSpriteTurret@SPRITURRTWO:
Sequence: turretidle
Turret: secondary
WithTurretAttackAnimation@SPRITURRTWO:
Turret: secondary
Armament: secondary
Sequence: shoot
Delay: 12
Turreted@TURRTWO:
Turret: secondary
TurnSpeed: 100
Offset: 170,170,500
Armor:
Type: HeavyBuilding
Selectable:
Bounds: 24,48,0,-10
SelectionDecorations:
ThrowsShrapnel@SMALL:
Weapons: SmallWood1, SmallWood2, SmallWood3, LargeWood1
Pieces: 2, 3
Range: 0c512, 3c0
Targetable@CombatRole:
TargetTypes: Defenses
BATO:
Inherits: ^MWDefense
Inherits@AUTOTARGET: ^AutoTargetAll
Expand Down
65 changes: 62 additions & 3 deletions mods/mw/rules/faction_king/scaffolds_king.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,62 @@
GTWNEW.scaff:
Inherits: ^1x1SITE
Inherits@Hitshape: ^1x1Shape
Armor:
Type: HeavyBuilding
RenderSprites:
PlayerPalette: raplayer
Image: gtwnew
CustomSellValue:
Value: 600
Valued:
Cost: 1100
Tooltip:
Name: Construction Site ( Guard Tower)
Buildable:
Description: A wooden tower, stationed with 2 archers.\n Strong vs Infantry, Light Cavalry\n Weak vs Siege weapons and Heavy Cavalry \n Cannot target Aircraft\n\n
BuildPaletteOrder: 60
Queue: MMilitary.GDI
BuildDurationModifier: 60
IconPalette: raicon
BuildDuration: 1000
Health:
HP: 20000
RevealsShroud:
Range: 4c0
WithBuildingBib:
Palette: bibs
HasMinibib: Yes
Selectable:
Bounds: 24,48,0,-10
SelectionDecorations:
WithSpriteBody:
RequiresCondition: inactive
DebugTransformOnCondition@Finsihed:
RequiresCondition: (Construct >= 8)
IntoActor: GTWNEW
ReadyAudio:
ConstructionProgress@Construct:
FullCapacity: 8
WithIdleOverlay@base1:
Sequence: make1
RequiresCondition: Construct > 1 && Construct < 3
WithIdleOverlay@base2:
Sequence: make2
RequiresCondition: Construct >= 3 && Construct < 4
WithIdleOverlay@base3:
Sequence: make3
RequiresCondition: Construct >= 4 && Construct < 5
WithIdleOverlay@base4:
Sequence: make4
RequiresCondition: Construct >= 5 && Construct < 6
WithIdleOverlay@base5:
Sequence: make5
RequiresCondition: Construct >= 6 && Construct < 7
WithIdleOverlay@base6:
Sequence: make6
RequiresCondition: Construct >= 7
WithRangeCircle:
Range: 7c0
NUKENEW.scaff:
Inherits: ^2x2SITE
Inherits@Hitshape: ^2x2Shape
Expand Down Expand Up @@ -611,8 +670,8 @@ BATO.scaff:
Sequence: make6
RequiresCondition: Construct >= 10
WithRangeCircle:
Range: 8c0
Range: 7c0
Color: FFFF0080
WithRangeCircle@Air:
Range: 10c0
Color: FFFF0080
Range: 8c0
Color: FF6400
Loading

0 comments on commit c9be8f2

Please sign in to comment.