Skip to content

Commit

Permalink
sc2: Added Pygalisks
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMarinets committed Nov 26, 2024
1 parent 203ae11 commit 8521070
Show file tree
Hide file tree
Showing 11 changed files with 339 additions and 0 deletions.
64 changes: 64 additions & 0 deletions Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/AbilData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3545,6 +3545,51 @@
<AutoCastRange value="2"/>
<AutoCastCountMin value="1"/>
</CAbilMorph>
<CAbilMorph id="AP_BurrowPygaliskDown">
<AbilSetId value="BrwD"/>
<EditorCategories value="Race:Zerg,AbilityorEffectType:MorphsandBurrows"/>
<CmdButtonArray index="Execute" DefaultButtonFace="BurrowDown">
<Flags index="ToSelection" value="1"/>
</CmdButtonArray>
<ActorKey value="BurrowDown"/>
<Flags index="IgnoreFacing" value="1"/>
<Flags index="IgnorePlacement" value="0"/>
<Flags index="SuppressMovement" value="1"/>
<InfoArray Unit="AP_PygaliskBurrowed" RandomDelayMax="0.1">
<SectionArray index="Actor">
<DurationArray index="Duration" value="0.5556"/>
</SectionArray>
<SectionArray index="Collide">
<DurationArray index="Delay" value="0.5556"/>
</SectionArray>
<SectionArray index="Stats">
<DurationArray index="Delay" value="0.5556"/>
</SectionArray>
</InfoArray>
</CAbilMorph>
<CAbilMorph id="AP_BurrowPygaliskUp">
<AbilSetId value="BrwU"/>
<EditorCategories value="Race:Zerg,AbilityorEffectType:MorphsandBurrows"/>
<CmdButtonArray index="Execute" DefaultButtonFace="BurrowUp">
<Flags index="ToSelection" value="1"/>
</CmdButtonArray>
<ActorKey value="BurrowUp"/>
<Flags index="AutoCast" value="1"/>
<Flags index="IgnoreFacing" value="1"/>
<Flags index="SuppressMovement" value="1"/>
<InfoArray Unit="AP_Pygalisk" RandomDelayMax="0.1">
<SectionArray index="Actor">
<DurationArray index="Duration" value="0.4443"/>
</SectionArray>
<SectionArray index="Stats">
<DurationArray index="Duration" value="0.4443"/>
</SectionArray>
</InfoArray>
<AutoCastFilters value="Ground,Visible;Player,Ally,Neutral,Structure,Missile,Stasis,Dead,Hidden"/>
<AutoCastValidatorArray value="TargetNotChangeling"/>
<AutoCastRange value="2"/>
<AutoCastCountMin value="1"/>
</CAbilMorph>
<CAbilEffectTarget id="AP_BurrowChargeRevD">
<Alignment value="Negative"/>
<EditorCategories value="Race:Zerg,AbilityorEffectType:Units"/>
Expand Down Expand Up @@ -11268,6 +11313,25 @@
<Button DefaultButtonFace="AP_SummonYggdrasil" State="Restricted" Requirements="AP_ZergMercCompoundBroodWar"/>
<Unit value="AP_Yggdrasil"/>
</InfoArray>
<InfoArray index="Train10" Effect="AP_MercGroundDrop">
<Charge>
<Link value="AP_Pygalisk"/>
<Location value="Player"/>
</Charge>
<Cooldown>
<Link value="AP_Pygalisk"/>
<Location value="Player"/>
<TimeStart value="60"/>
<TimeUse value="60"/>
</Cooldown>
<Button DefaultButtonFace="AP_PygaliskSummon" State="Restricted" Requirements="AP_ZergMercCompoundSC2"/>
<Unit value="AP_Pygalisk"/>
<Unit value="AP_Pygalisk"/>
<Unit value="AP_Pygalisk"/>
<Unit value="AP_Pygalisk"/>
<Unit value="AP_Pygalisk"/>
<Unit value="AP_Pygalisk"/>
</InfoArray>
</CAbilTrain>
<CAbilEffectTarget id="AP_DarkTemplarShadowDash">
<AbilSetId value="Blnk"/>
Expand Down
67 changes: 67 additions & 0 deletions Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ActorData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27511,6 +27511,73 @@
<On Terms="AbilTransport.AP_WarpPrismTransport.CargoLoadSuppressed" Send="AnimBracketStart Unload IGNORE Unload Unload,End DontResetOnUnhide"/>
<On Terms="AbilTransport.AP_WarpPrismTransport.CargoUnload" Send="AnimBracketStop Unload"/>
</CActorEventMacro>
<!-- -->
<!-- Pygalisk .............................................................................. -->
<!-- -->
<CActorUnit id="AP_Pygalisk" parent="GenericUnitBase" unitName="AP_Pygalisk">
<PortraitModel value="UltraliskPortrait"/>
<DeathArray index="Normal" ModelLink="UltraliskDeath" SoundLink="Ultralisk_Explode" VoiceLink=""/>
<DeathArray index="Blast" ModelLink="ZergLargeUnitDeath"/>
<DeathArray index="Disintegrate" ModelLink="UltraliskDeathAcid" SoundLink="Uni_DeathFXAcid"/>
<DeathArray index="Fire" ModelLink="UltraliskDeathFire" SoundLink="Uni_DeathFXFireLarge"/>
<AnimBlendTime value="0.300000"/>
<On Terms="Behavior.AP_MercGroundDrop.Create" Send="Create AP_PygaliskDropModel"/>
<On Terms="UnitBirth.AP_PygaliskBurrowed" Send="Create"/>
<On Terms="UnitBirth.AP_PygaliskBurrowed" Send="AnimBracketStart Burrow Burrow IGNORE Unburrow ClosingFull,OpeningPlayForever,Instant"/>
<On Terms="AbilMorph.*.Cancel; MorphFrom AP_Pygalisk; MorphTo AP_PygaliskBurrowed" Send="AnimClear Burrow"/>
<On Terms="AbilMorph.*.Finish; MorphTo AP_Pygalisk; MorphFrom AP_PygaliskBurrowed" Send="AnimBracketStop Burrow"/>
<On Terms="AbilMorph.*.Finish; MorphTo AP_Pyaglisk; MorphFrom AP_PygaliskBurrowed" Send="AnimClear Burrow"/>
<On Terms="AbilMorph.*.Finish; MorphTo AP_Pygalisk; MorphFrom AP_PygaliskBurrowed" Send="TerrainSquibActivateGroup RippleStandard"/>
<On Terms="AbilMorph.*.Start; AbilKey BurrowDown" Send="Create BurrowDownMedium"/>
<On Terms="WeaponStart.AP_Pygalisk.AttackStart" Send="AnimBracketStart Attack Attack"/>
<On Terms="WeaponStop.AP_Pygalisk.AttackStop" Send="AnimBracketStop Attack"/>
<On Terms="WeaponStart.AP_PygaliskHeadAttack.AttackStart" Send="AnimBracketStart Spell Spell"/>
<On Terms="WeaponStop.AP_PygaliskHeadAttack.AttackStop" Send="AnimBracketStop Spell"/>
<On Terms="ActorCreation; ValidateUnit AP_IsAPPygaliskBurrowed" Send="AnimBracketStart Burrow Burrow IGNORE Unburrow ClosingFull,OpeningPlayForever,Instant"/>
<On Terms="AbilMorph.*.Finish; MorphTo AP_PygaliskBurrowed; MorphFrom AP_Pygalisk" Send="TerrainSquibDeactivate"/>
<Macros value="ZergBurrowStandardAnimMacro"/>
<Macros value="ZergMediumBurrowEffects"/>
<Macros value="UnloadDropAnim"/>
<EventDataSound Name="UltraliskHeadAttack" Actor="UnitSound" Sound="Ultralisk_HeadAttackImpact"/>
<WalkAnimMoveSpeed value="2.9375"/>
<BarWidth value="80"/>
<BarOffset value="20"/>
<UnitIcon value="Assets\Textures\btn-unit-zerg-omegalisk.dds"/>
<HeroIcon value="Assets\Textures\btn-unit-zerg-omegalisk.dds"/>
<GroupIcon>
<Image value="Assets\Textures\Wireframe-Zerg-Ultralisk.dds"/>
</GroupIcon>
<Wireframe>
<Image value="Assets\Textures\Wireframe-Zerg-Ultralisk.dds"/>
</Wireframe>
<SoundArray index="Birth" value="UltraliskBirth"/>
<SoundArray index="Ready" value="Ultralisk_Ready"/>
<SoundArray index="Help" value="Ultralisk_Help"/>
<SoundArray index="What" value="Ultralisk_What"/>
<SoundArray index="Yes" value="Ultralisk_Yes"/>
<SoundArray index="Attack" value="Ultralisk_Attack"/>
<SoundArray index="Pissed" value="Ultralisk_Pissed"/>
<LifeArmorIcon value="Assets\Textures\btn-upgrade-zerg-groundcarapace-level0.dds"/>
<ShieldArmorIcon value="Assets\Textures\btn-upgrade-zerg-swarmfrenzy.dds"/>
<VitalColors index="Shields">
<ColorArray value="255,0,128,0"/>
</VitalColors>
<VitalNames index="Shields" value="Vital/ZergShields"/>
<WireframeShieldColor value="255,0,128,0"/>
<Aliases value="_UnitMedium"/>
</CActorUnit>
<CActorModel id="AP_PygaliskDropModel" parent="AP_ZergMercDropModelBase">
<On Terms="ActorCreation" Send="SetScale 1.000000"/>
</CActorModel>
<CActorSound id="AP_PygaliskAttackStart" parent="SoundOneShot">
<On Terms="WeaponStart.AP_Pygalisk.AttackStart" Send="Create"/>
<Sound value="Ultralisk_AttackLaunch"/>
</CActorSound>
<CActorAction id="AP_PygaliskAttack" parent="GenericAttack" effectLaunch="AP_Pygalisk">
<ImpactMap index="None" Sound="Ultralisk_AttackImpact"/>
<ShieldFlashType value="Header"/>
</CActorAction>
<!-- End of Pygalisk -->
<CActorUnit id="AP_ValkyrieSCBW" parent="GenericUnitBase" unitName="AP_ValkyrieSCBW">
<Aliases value="_UnitLarge"/>
<!-- <Macros value="AP_GimbalZMacro"/>-->
Expand Down
10 changes: 10 additions & 0 deletions Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ButtonData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6935,6 +6935,16 @@
<EditorCategories value="Race:Zerg"/>
<HotkeyAlias value="AP_YggdrasilAssimilate"/>
</CButton>
<CButton id="AP_Pygalisk">
<Icon value="Assets\Textures\btn-unit-zerg-ultralisk.dds"/>
<AlertIcon value="Assets\Textures\btn-unit-zerg-ultralisk.dds"/>
<EditorCategories value="Race:Zerg"/>
</CButton>
<CButton id="AP_PygaliskSummon">
<Icon value="Assets\Textures\btn-unit-zerg-ultralisk.dds"/>
<AlertIcon value="Assets\Textures\btn-unit-zerg-ultralisk.dds"/>
<EditorCategories value="Race:Zerg"/>
</CButton>
<CButton id="AP_BioMechanicalStockpiling">
<Icon value="Assets\Textures\btn-upgrade-zerg-stukov-queenenergyregen.dds"/>
<AlertIcon value="Assets\Textures\btn-upgrade-zerg-stukov-queenenergyregen.dds"/>
Expand Down
10 changes: 10 additions & 0 deletions Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/EffectData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4958,6 +4958,16 @@
<Amount value="25"/>
<Death value="Eviscerate"/>
</CEffectDamage>
<CEffectDamage id="AP_Pygalisk" parent="DU_WEAP">
<EditorCategories value="Race:Zerg"/>
<Amount value="8"/>
<Death value="Eviscerate"/>
</CEffectDamage>
<CEffectDamage id="AP_PygaliskHeadAttack" parent="DU_WEAP">
<EditorCategories value="Race:Zerg"/>
<Amount value="25"/>
<Death value="Eviscerate"/>
</CEffectDamage>
<CEffectDamage id="AP_SuicideRemove">
<ImpactLocation Value="SourceUnit"/>
<Flags index="Kill" value="1"/>
Expand Down
10 changes: 10 additions & 0 deletions Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ModelData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2657,6 +2657,16 @@
<LowQualityModel value="ZergLargeUnitDeathLow"/>
<Occlusion value="Show"/>
</CModel>
<CModel id="AP_Pygalisk" parent="UltraliskBase" Race="Zerg">
<Model value="Assets\Units\Zerg\Ultralisk\Ultralisk.m3"/>
<Occlusion value="Show"/>
<ScaleMax value="0.382500,0.382500,0.382500"/>
<ScaleMin value="0.382500,0.382500,0.382500"/>
<Radius value="0.375000"/>
<Flags index="AutoUnload" value="1"/>
<SelectionRadius value="1.307100"/>
<ShadowRadius value="1.307100"/>
</CModel>
<CModel id="AP_HealingDrone" parent="Unit" Race="Terran">
<Model value="Assets\Units\Terran\BioMechanical_RepairDrone\BioMechanical_RepairDrone.m3"/>
<PlanetPanelCamera value="Star2CameraLow05"/>
Expand Down
116 changes: 116 additions & 0 deletions Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/UnitData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23425,6 +23425,120 @@
<Cooldown Link="AP_Ultralisk/Revive"/>
</ReviveInfoBase>
</CUnit>
<CUnit id="AP_Pygalisk">
<Description value="Button/Tooltip/AP_Pygalisk"/>
<DeathRevealRadius value="3"/>
<Race value="Zerg"/>
<Mob value="Campaign"/>
<LifeStart value="75"/>
<LifeMax value="75"/>
<LifeArmor value="3"/>
<LifeRegenRate value="0.2734"/>
<LifeArmorName value="Unit/LifeArmorName/ZergGroundArmor"/>
<ShieldArmorName value="Unit/ShieldArmorName/ZergWildMutation"/>
<Speed value="2.9531"/>
<SpeedMultiplierCreep value="1.3"/>
<Acceleration value="1000"/>
<LateralAcceleration value="46.0625"/>
<AttackTargetPriority value="20"/>
<DamageDealtXP value="1"/>
<DamageTakenXP value="1"/>
<KillXP value="150"/>
<InnerRadius value="0.5"/>
<CargoSize value="1"/>
<ScoreMake value="50"/>
<ScoreKill value="50"/>
<ScoreResult value="BuildOrder"/>
<SubgroupPriority value="8"/>
<MinimapRadius value="1"/>
<FlagArray index="PreventDestroy" value="1"/>
<FlagArray index="UseLineOfSight" value="1"/>
<PlaneArray index="Ground" value="1"/>
<Collide index="Ground" value="1"/>
<Collide index="Small" value="1"/>
<Sight value="9"/>
<Attributes index="Biological" value="1"/>
<CostCategory value="Army"/>
<CostResource index="Minerals" value="50"/>
<CostResource index="Vespene" value="0"/>
<Food value="-1"/>
<AbilArray Link="stop"/>
<AbilArray Link="attack"/>
<AbilArray Link="move"/>
<AbilArray Link="AP_BurrowPygaliskDown"/>
<BehaviorArray Link="OnCreep"/>
<BehaviorArray Link="AP_MalignantCreepFix"/>
<WeaponArray Link="AP_Pygalisk"/>
<WeaponArray Link="AP_PygaliskHeadAttack"/>
<CardLayouts>
<LayoutButtons Face="Move" Type="AbilCmd" AbilCmd="move,Move" Row="0" Column="0"/>
<LayoutButtons Face="Stop" Type="AbilCmd" AbilCmd="stop,Stop" Row="0" Column="1"/>
<LayoutButtons Face="MoveHoldPosition" Type="AbilCmd" AbilCmd="move,HoldPos" Row="0" Column="2"/>
<LayoutButtons Face="Attack" Type="AbilCmd" AbilCmd="attack,Execute" Row="0" Column="4"/>
<LayoutButtons Face="MovePatrol" Type="AbilCmd" AbilCmd="move,Patrol" Row="0" Column="3"/>
<LayoutButtons Face="BurrowDown" Type="AbilCmd" AbilCmd="AP_BurrowPygaliskDown,Execute" Row="2" Column="4"/>
</CardLayouts>
<EditorCategories value="ObjectType:Unit,ObjectFamily:Campaign"/>
<Fidget>
<ChanceArray index="Anim" value="50"/>
<ChanceArray index="Idle" value="50"/>
</Fidget>
<GlossaryPriority value="181"/>
<TacticalAI value="BabyUltralisk"/>
</CUnit>
<CUnit id="AP_PygaliskBurrowed">
<Name value="Unit/Name/AP_Pygalisk"/>
<Description value="Button/Tooltip/AP_Pygalisk"/>
<DeathRevealRadius value="3"/>
<Race value="Zerg"/>
<Mob value="Campaign"/>
<FlagArray index="PreventDestroy" value="1"/>
<FlagArray index="UseLineOfSight" value="1"/>
<FlagArray index="Cloaked" value="1"/>
<FlagArray index="Buried" value="1"/>
<FlagArray index="AIThreatGround" value="1"/>
<FlagArray index="ArmySelect" value="1"/>
<PlaneArray index="Ground" value="1"/>
<Collide index="Burrow" value="1"/>
<Attributes index="Biological" value="1"/>
<LifeStart value="75"/>
<LifeMax value="75"/>
<LifeArmor value="3"/>
<LifeRegenRate value="0.2734"/>
<LifeArmorName value="Unit/LifeArmorName/ZergGroundArmor"/>
<ShieldArmorName value="Unit/ShieldArmorName/ZergWildMutation"/>
<Mover value="Burrowed"/>
<Sight value="6"/>
<Food value="-1"/>
<CostCategory value="Army"/>
<CostResource index="Minerals" value="50"/>
<CostResource index="Vespene" value="0"/>
<AttackTargetPriority value="20"/>
<DamageDealtXP value="1"/>
<DamageTakenXP value="1"/>
<KillXP value="150"/>
<AbilArray Link="AP_BurrowPygaliskUp"/>
<BehaviorArray Link="AP_MalignantCreepFix"/>
<CardLayouts>
<LayoutButtons Face="Attack" Type="AbilCmd" AbilCmd="attack,Execute" Row="0" Column="4"/>
<LayoutButtons Face="BurrowUp" Type="AbilCmd" AbilCmd="AP_BurrowPygaliskUp,Execute" Row="2" Column="4"/>
</CardLayouts>
<Radius value="1"/>
<SeparationRadius value="0"/>
<InnerRadius value="0.5"/>
<ScoreKill value="50"/>
<SubgroupPriority value="8"/>
<MinimapRadius value="1"/>
<EditorCategories value="ObjectType:Unit,ObjectFamily:Campaign"/>
<TacticalAI value="UltraliskBurrowed"/>
<TacticalAIThink value="AIThinkUltralisk"/>
<LeaderAlias value="AP_Pygalisk"/>
<HotkeyAlias value="AP_Pygalisk"/>
<SelectAlias value="AP_Pygalisk"/>
<KillDisplay value="Always"/>
<RankDisplay value="Always"/>
<AIEvaluateAlias value="AP_Pygalisk"/>
</CUnit>
<CUnit id="AP_YoinkMissile" parent="MISSILE_INVULNERABLE">
<Race value="Zerg"/>
<EditorCategories value="ObjectType:Projectile,ObjectFamily:Melee"/>
Expand Down Expand Up @@ -26045,6 +26159,7 @@
<LayoutButtons Face="AP_SummonYggdrasil" Type="AbilCmd" AbilCmd="AP_SummonZergMercs,Train9" Row="0" Column="3"/>
<!-- SC2 Units -->
<LayoutButtons Face="AP_HunterlingSummon" Type="AbilCmd" AbilCmd="AP_SummonZergMercs,Train7" Row="0" Column="0"/>
<LayoutButtons Face="AP_PygaliskSummon" Type="AbilCmd" AbilCmd="AP_SummonZergMercs,Train10" Row="0" Column="1"/>
<!-- Infested -->
<LayoutButtons Face="AP_InfestedMedic" Type="AbilCmd" AbilCmd="AP_SummonZergMercs,Train1" Row="0" Column="0"/>
<LayoutButtons Face="AP_InfestedSiegeBreaker" Type="AbilCmd" AbilCmd="AP_SummonZergMercs,Train2" Row="0" Column="1"/>
Expand All @@ -26067,6 +26182,7 @@
<CardLayouts CardId="SC2">
<!-- Hotkey Editor -->
<LayoutButtons Face="AP_HunterlingSummon" Type="AbilCmd" AbilCmd="AP_SummonZergMercs,Train7" Row="0" Column="0"/>
<LayoutButtons Face="AP_PygaliskSummon" Type="AbilCmd" AbilCmd="AP_SummonZergMercs,Train10" Row="0" Column="1"/>
</CardLayouts>
<CardLayouts CardId="Infested">
<!-- Hotkey Editor -->
Expand Down
Loading

0 comments on commit 8521070

Please sign in to comment.