Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devastator Turret #151

Merged
merged 7 commits into from
Jul 1, 2024
Merged

Conversation

MatthewMarinets
Copy link
Contributor

@MatthewMarinets MatthewMarinets commented Jul 1, 2024

Added the devastator turret, from co-op Swann. Split the concussive slow off into an upgrade, and gave some small nerfs because co-op power levels are a little much for campaign. Is affected by Terran Structure Armour and Hi-Sec Auto Tracking.

Client PR is up: #219

Pictures

image
image
image
image
image

Detailed notes

Data

  • Unit AP_DevastatorTurret (KelMorianGrenadeTurret)
    • gamestrings.txt Unit/Name
    • Weapon AP_DevastatorTurretWeapon (KelMorianRocketTurretWeapon)
      • gamestrings.txt Weapon/Name
      • Effect AP_DevastatorTurretDamage (KelMorianRocketTurret)
      • Effect AP_DevastatorTurretLM (KelMorianRocketTurretLM)
        • Effect AP_DevastatorTurretSet (KelMorianGrenadeTurretSet)
          • Effect AP_DevastatorTurretSlow (GrenadeTurretSlow)
            • Validator AP_NotMassive (NotMassive)
            • Hooked up to AP_Slow, same as Marauders
  • Unit AP_DevastatorTurretMissile (KelMorianGrenadeTurretWeapon)
    • Mover AP_DevastatorTurretMissileMover (KelMorianGrenadeWeapon)
  • Actors
    • Actor AP_DevastatorTurret (KelMorianGrenadeTurret)
      • Sound AP_DevastatorTurretExplode (Swann_FlamingBettyExplode)
      • Model AP_DevastatorTurret (KelMorianGrenadeTurret)
      • Model AP_DevastatorTurretPlacement (KelMorianGrenadeTurretPlacement)
    • Actor AP_DevastatorTurretBuild (KelMorianGrenadeTurretBuild)
      • Model AP_DevastatorTurretBuild (KelMorianGrenadeTurretBuild)
    • Actor AP_DevastatorTurretAttack (KelMorianGrenadeTurretAttack)
      • Sound AP_DevastatorTurret_AttackLaunch (KelMorianRocketTurret_AttackLaunch)
      • Sound AP_DevastatorTurret_AttackImpact (KelMorianRocketTurret_AttackImpact)
    • Actor AP_DevastatorTurretAttackMissile (KelMorianGrenadeTurretAttackMissile)
      • Model AP_DevastatorTurretMissile (KelMorianRocketTurretLMWeapon)
    • Actor AP_DevastatorTurretProtectRange (KelMorianRocketTurretProtectRange)
    • Actor TerranFlamesSmallBuilding updated
  • Button AP_HiSecAutoTracking
    • gamestrings.txt
  • Upgrade AP_DevastatorTurretSlow
    • Requirement AP_HaveDevastatorTurretSlow
      • RequirementNode AP_CountUpgradeDevastatorTurretSlowCompleteOnly
  • Button AP_DevastatorTurretSlow (KelMorianGrenadeTurretConcussiveGrenades)
    • gamestrings.txt
  • Upgrade AP_HiSecAutoTracking affects AP_DevastatorTurretWeapon
  • Upgrade AP_TerranBuildingArmor affects AP_DevastatorTurret
  • Abil AP_TerranBuild updated (Build25)
    • Button AP_BuildDevastatorTurret (BuildKelMorianRocketTurret)
      • gamestrings.txt Button/{Name,Tooltip}
    • Requirement AP_HaveFactory
    • Requires Factory
  • Update SCV build palette (basic,1,4)
    • gamehotkeys.txt
  • Unlock trigger
    • GUI

hotkeys

C=CC
R=Refinery
S=Supply Depot
B=Barracks
E=Ebay
P=Perdition
D=PsiDisrupter
G=DevastatorTurret
U=Bunker
T=Turret
N=SensorTower
I=HME

Balance notes

  • Vanilla co-op cost is 150/0. Setting to 200/0
  • Vanilla co-op build time is 26.25, setting to 30 to match bunker
  • Vanilla co-op damage is 25 (+25 v armoured). Reduced to 25 (+15 v armoured)

Items added

  • Devastator turret (Terran Building 7)
  • Devastator turret slow (Terran misc 15)
?GiveTerranTech 0 0 0 0 0 0 0 0 0 0 128
?GiveTerranTech 0 0 0 0 0 0 0 32768

Trigger additions

cd /TechTree/Terran/AP_Triggers_clearTerranTech
add unit 56 AP_DevastatorTurret false
cd /TechTree/Terran/Unlocks/Buildings
add fn -1 AP_Triggers_Terran_unlockDevastatorTurret
cd -1
add unit -1 AP_DevastatorTurret true
cd /TechTree/Terran/Unlocks/BuildingUpgrades
add fn -1 AP_Triggers_Terran_unlockDevastatorTurretSlow
cd -1
add upgrade -1 AP_DevastatorTurretSlow
write

@@ -29,6 +29,7 @@ Button/Hotkey/AP_BuildAutoTurret=T
Button/Hotkey/AP_BuildCreepTumor=C
Button/Hotkey/AP_BuildCreepTumorPropagate=C
Button/Hotkey/AP_BuildCyclone=N
Button/Hotkey/AP_BuildDevastatorTurret=G
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about using V as a hotkey?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I set it to V initially, then when I went to test realized the Swann hotkey is G and I was pressing G out of habit, so set it back to that.

@Ziktofel Ziktofel merged commit 411ea45 into Ziktofel:sc2-next Jul 1, 2024
1 check passed
@MatthewMarinets MatthewMarinets deleted the mm/devastator_turret branch July 15, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants