Skip to content

Commit

Permalink
Add THWK Upg
Browse files Browse the repository at this point in the history
Clean up
  • Loading branch information
Inq8 committed Dec 30, 2023
1 parent 7d5d404 commit e1011ad
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 14 deletions.
Binary file modified mods/ca/bits/thwk.shp
Binary file not shown.
Binary file modified mods/ca/bits/thwkicnh.shp
Binary file not shown.
Binary file modified mods/ca/bits/thwkm.shp
Binary file not shown.
Binary file removed mods/ca/bits/thwkmgrey.shp
Binary file not shown.
Binary file removed mods/ca/bits/thwktempty.shp
Binary file not shown.
Binary file removed mods/ca/bits/thwktfull.shp
Binary file not shown.
Binary file removed mods/ca/bits/thwktfullgrey.shp
Binary file not shown.
Binary file added mods/ca/bits/upg-thwkicnh.shp
Binary file not shown.
21 changes: 19 additions & 2 deletions mods/ca/rules/upgrades.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,16 +260,33 @@ bjet.upgrade:
Name: Research: Bombardier
Buildable:
BuildPaletteOrder: 30
Prerequisites: ~player.gdi, gtek, ~bombard.strat, ~techlevel.high
Prerequisites: ~player.gdi, gtek, ~techlevel.high
Description: Allows construction of Bombardiers.\n\nReplaces: JumpJet Trooper
TooltipExtras:
Strengths: + Strong vs Buildingsn\n+ Increased range
Strengths: + Strong vs Buildings\n+ Increased range
Weaknesses: – Slow projectiles\n– Increased cost
Valued:
Cost: 1000
RenderSprites:
Image: bjet.upgrade

thwk.upgrade:
Inherits: ^Upgrade
Tooltip:
Name: Research: Tomahawk Launcher
Buildable:
BuildPaletteOrder: 30
IconPalette: chrometd
Prerequisites: ~player.gdi, gtek, ~bombard.strat, ~techlevel.high
Description: Allows construction of Tomahawk Missile Launchers.
TooltipExtras:
Strengths: + Strong vs Buildings\n+ Extremely long range
Weaknesses: – Projectiles can be shot down\n– Slow rate of fire
Valued:
Cost: 1000
RenderSprites:
Image: thwk.upgrade

tow.upgrade:
Inherits: ^Upgrade
Tooltip:
Expand Down
6 changes: 3 additions & 3 deletions mods/ca/rules/vehicles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6879,7 +6879,7 @@ THWK:
AddToArmyValue: true
Buildable:
BuildPaletteOrder: 240
Prerequisites: gtek, ~vehicles.htnk, ~techlevel.high
Prerequisites: gtek, ~thwk.upgrade, ~techlevel.high
Queue: VehicleSQ, VehicleMQ
IconPalette: chrometd
Description: Long-range incendiary missile artillery.
Expand Down Expand Up @@ -6911,9 +6911,9 @@ THWK:
PauseOnCondition: empdisable || being-warped
WithSpriteTurret@OneMissile:
RequiresCondition: loaded
WithSpriteTurret@NoMissiles:
WithSpriteTurret@NoMissile:
RequiresCondition: !loaded
Sequence: turret0
Sequence: turret-empty
MissileSpawnerMaster:
Actors: TH
RespawnTicks: 249
Expand Down
2 changes: 1 addition & 1 deletion mods/ca/sequences/misc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ v3:

th:
idle:
Filename: thwkmgrey.shp
Filename: thwkm.shp
Facings: 32
ZOffset: 2046

Expand Down
4 changes: 4 additions & 0 deletions mods/ca/sequences/upgrades.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ bjet.upgrade:
icon:
Filename: upg-bjeticon.shp

thwk.upgrade:
icon:
Filename: upg-thwkicnh.shp

tow.upgrade:
icon:
Filename: upg-towicon.shp
Expand Down
15 changes: 7 additions & 8 deletions mods/ca/sequences/vehicles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2329,15 +2329,13 @@ thwk:
Facings: 32
UseClassicFacings: True
turret:
Filename: thwktfullgrey.shp
Facings: 32
UseClassicFacings: True
turret1:
Filename: thwktfullgrey.shp
Filename: thwk.shp
Start: 32
Facings: 32
UseClassicFacings: True
turret0:
Filename: thwktempty.shp
turret-empty:
Filename: thwk.shp
Start: 64
Facings: 32
UseClassicFacings: True
icon:
Expand All @@ -2351,7 +2349,8 @@ thwk.destroyed:
UseClassicFacings: True
ZOffset: -512
turret:
Filename: thwktempty.shp
Filename: thwk.shp
Start: 64
Facings: 32
UseClassicFacings: True
ZOffset: -512

0 comments on commit e1011ad

Please sign in to comment.