Skip to content

Commit

Permalink
Add Night Hawk
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziktofel committed Oct 15, 2024
1 parent e24de33 commit 5d7b6ec
Show file tree
Hide file tree
Showing 40 changed files with 2,415 additions and 12 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
48 changes: 48 additions & 0 deletions Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/AbilData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4320,6 +4320,7 @@
<CmdButtonArray index="Execute" DefaultButtonFace="AP_CorsairMPDisruptionWeb" Requirements="AP_NotHaveCorsairArgusJewel"/>
</CAbilEffectTarget>
<CAbilEffectTarget id="AP_CorsairMPDisruptionWebArgusJewel">
<AbilSetId value="AP_CorsairMPDisruptionWeb"/>
<EditorCategories value="AbilityorEffectType:Units"/>
<Effect index="0" value="AP_CorsairMPDisruptionWebCreatePersistentSet"/>
<Flags index="AllowMovement" value="1"/>
Expand Down Expand Up @@ -12444,6 +12445,10 @@
<Button DefaultButtonFace="AP_LiberatorMengsk" State="Restricted"/>
<Unit value="AP_LiberatorMengsk"/>
</InfoArray>
<InfoArray index="Train4" Time="50">
<Button DefaultButtonFace="AP_WraithMengsk" State="Restricted"/>
<Unit value="AP_WraithMengsk"/>
</InfoArray>
</CAbilTrain>
<CAbilTrain id="AP_EliteFactoryTrain">
<EditorCategories value="Race:Terran,AbilityorEffectType:Structures"/>
Expand Down Expand Up @@ -13603,4 +13608,47 @@
<TargetFilters index="0" value="Visible;Self,Enemy,Structure,Missile,UnderConstruction,Dead,Hidden"/>
<CmdButtonArray index="Execute" Requirements="AP_HaveMedicMengskDoubleBeamHealAndMech"/>
</CAbilEffectTarget>
<CAbilEffectTarget id="AP_WraithMengskResonatingFeedbackInterference">
<Alignment value="Negative"/>
<EditorCategories value="Race:Terran,AbilityorEffectType:Units"/>
<InfoTooltipPriority value="1"/>
<Effect index="0" value="AP_WraithMengskResonatingFeedbackInterferenceSwitchInitial"/>
<Flags index="AllowMovement" value="1"/>
<Flags index="ChannelingMinimum" value="0"/>
<Flags index="AutoCast" value="1"/>
<Cost>
<Vital index="Energy" value="75"/>
</Cost>
<TargetFilters value="CanHaveEnergy,Visible,HasEnergy;Self,Player,Ally,Neutral,Missile,Stasis,Dead,Hidden,Invulnerable"/>
<Range value="5"/>
<AutoCastValidatorArray value="AP_DarkTemplarVoidStasis"/>
<UninterruptibleArray index="Prep" value="1"/>
<UninterruptibleArray index="Cast" value="1"/>
<UninterruptibleArray index="Channel" value="1"/>
<UninterruptibleArray index="Finish" value="1"/>
<ValidatedArray index="Wait" value="1"/>
<ValidatedArray index="Channel" value="0"/>
<CmdButtonArray index="Execute" DefaultButtonFace="AP_WraithMengskResonatingFeedbackInterference" Requirements="AP_HaveWraithMengskVeterancyLevel2"/>
</CAbilEffectTarget>
<CAbilEffectTarget id="AP_WraithMengskDisruptionWeb">
<AbilSetId value="AP_CorsairMPDisruptionWeb"/>
<EditorCategories value="AbilityorEffectType:Units"/>
<Effect index="0" value="AP_WraithMengskDisruptionWebCreatePersistentSet"/>
<Flags index="AllowMovement" value="1"/>
<Flags index="AutoCast" value="1"/>
<Flags index="NoDeceleration" value="1"/>
<Cost>
<Vital index="Energy" value="125"/>
</Cost>
<Range value="9"/>
<AutoCastFilters value="Visible;Player,Ally,Neutral"/>
<AutoCastRange value="9"/>
<AutoCastValidatorArray value="noMarkers"/>
<AutoCastValidatorArray value="AP_IsNotDisruptionWebbed"/>
<AutoCastValidatorArray value="TargetIsGround"/>
<AutoCastValidatorArray value="TargetCanAttack"/>
<AutoCastValidatorArray value="AP_DisruptionWebFilters"/>
<CursorEffect value="AP_WraithMengskDisruptionWebSearch"/>
<CmdButtonArray index="Execute" DefaultButtonFace="AP_WraithMengskDisruptionWeb" Requirements="AP_HaveWraithMengskVeterancyLevel4"/>
</CAbilEffectTarget>
</Catalog>
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,10 @@
<BonusPerLevel value="31.25"/>
<PreviousValueFactor value="1"/>
</CAccumulatorVeterancyLevel>
<CAccumulatorVeterancyLevel id="AP_WraithMengskAGU">
<MinAccumulation value="0"/>
<Amount value="-7.5"/>
<BonusPerLevel value="7.5"/>
<PreviousValueFactor value="1"/>
</CAccumulatorVeterancyLevel>
</Catalog>
112 changes: 108 additions & 4 deletions Mods/ArchipelagoPlayer.SC2Mod/Base.SC2Data/GameData/ActorData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16827,20 +16827,26 @@
</CActorAction>
<CActorModel id="AP_CorsairMPDisruptionWebImpact" parent="ModelAnimationStyleContinuous">
<On Terms="Effect.AP_CorsairMPDisruptionWebCreatePersistent.Start" Send="Create"/>
<On Terms="Effect.AP_WraithMengskDisruptionWebCreatePersistent.Start" Send="Create"/>
<On Terms="Effect.AP_CorsairMPDisruptionWebCreatePersistent.Start; ValidatePlayer AP_NotHaveCorsairNetworkDisruption" Send="SetScale 0.333333"/>
<On Terms="Effect.AP_CorsairMPDisruptionWebCreatePersistent.Stop" Send="AnimBracketStop BSD"/>
<On Terms="Effect.AP_WraithMengskDisruptionWebCreatePersistent.Stop" Send="AnimBracketStop BSD"/>
<ModelFlags index="AutomateGlobalLoops" value="1"/>
</CActorModel>
<CActorSound id="AP_CorsairMPDisruptionWebLaunchSound" parent="SoundOneShot">
<On Terms="Effect.AP_CorsairMPDisruptionWebCreatePersistent.Start" Send="Create"/>
<On Terms="Effect.AP_WraithMengskDisruptionWebCreatePersistent.Start" Send="Create"/>
<Sound value="AP_CorsairMP_DisruptionWebLaunch"/>
</CActorSound>
<CActorSound id="AP_CorsairMP_DisruptionWebLoopSound" parent="SoundOneShot">
<On Terms="Effect.AP_CorsairMPDisruptionWebCreatePersistent.Start" Send="Create"/>
<On Terms="Effect.AP_CorsairMPDisruptionWebCreatePersistent.Stop" Send="Destroy"/>
<On Terms="Effect.AP_WraithMengskDisruptionWebCreatePersistent.Start" Send="Create"/>
<On Terms="Effect.AP_WraithMengskDisruptionWebCreatePersistent.Stop" Send="Destroy"/>
<Sound value="AP_CorsairMP_DisruptionWebLoop"/>
</CActorSound>
<CActorSplat id="AP_CorsairMPDisruptionWebCursorSplat" parent="ProtossCursorSplat" abil="AP_CorsairMPDisruptionWeb"/>
<CActorSplat id="AP_WraithMengskDisruptionWebCursorSplat" parent="ProtossCursorSplat" abil="AP_WraithMengskDisruptionWeb"/>
<CActorRange id="AP_CorsairMPDisruptionWebRange" parent="RangeAbil" abil="AP_CorsairMPDisruptionWeb">
<Icon value="Assets\Textures\RadarIcon2.dds"/>
<IconArcLength value="3.250000"/>
Expand Down Expand Up @@ -25750,6 +25756,7 @@
</CActorRange>
<CActorSound id="AP_RavenScramblerMissileImpactSound" parent="SoundOneShot">
<On Terms="Effect.AP_RavenScramblerMissileABswitch.Start; At Target" Send="Create"/>
<On Terms="Effect.AP_WraithMengskResonatingFeedbackInterferenceDummy.Start; At Target" Send="Create"/>
<Host Subject="_Selectable"/>
<Sound value="AP_SkyTank_BarrageMissile_Impact"/>
</CActorSound>
Expand Down Expand Up @@ -40708,10 +40715,6 @@
<CActorSplat id="AP_LiberatorMengskAGTargetCursorSplat" parent="CursorSplat" abil="AP_LiberatorMengskAGTarget">
<Model value="LiberatorAGTargetCursorSplat"/>
</CActorSplat>
<CActorRange id="AP_LiberatorMengskAGTargetRange" parent="RangeAbil" abil="AP_LiberatorMengskAGTarget">
<Icon value="Assets\Textures\RadarIcon2.dds"/>
<IconArcLength value="3.250000"/>
</CActorRange>
<CActorUnit id="AP_LiberatorMengskMorphModel" parent="GenericUnitBaseMorphTransition" unitName="AP_LiberatorMengskMorphModel">
<Aliases value="_UnitLarge"/>
<Macros value="PhysicsDeathsSwarmAir"/>
Expand Down Expand Up @@ -40757,4 +40760,105 @@
<Image value="Assets\Textures\wireframe-terran-liberator-aamode.dds"/>
</Wireframe>
</CActorUnit>
<CActorUnit id="AP_WraithMengsk" parent="GenericUnitBase" unitName="AP_WraithMengsk">
<Aliases value="_UnitLarge"/>
<CustomUnitStatusFrame value="AP_Coop_UnitStatus_Mengsk/MengskWraith_StatusFrame"/>
<StatusBarOn index="Custom" value="1"/>
<UnitFlags index="SuppressDefaultStatusBar" value="1"/>
<On Terms="Abil.attack.ReadyStart" Send="AnimGroupApply Ready"/>
<On Terms="WeaponStart.AP_WraithMengskA.AttackStart" Send="AnimBracketStart Attack Attack,Superior"/>
<On Terms="WeaponStart.AP_WraithMengskG.AttackStart" Send="AnimBracketStart Attack Attack"/>
<On Terms="WeaponStart.AP_WraithMengskAGL1.AttackStart" Send="AnimBracketStart Attack Attack"/>
<On Terms="WeaponStart.AP_WraithMengskAGL2.AttackStart" Send="AnimBracketStart Attack Attack"/>
<On Terms="WeaponStart.AP_WraithMengskAGL3.AttackStart" Send="AnimBracketStart Attack Attack"/>
<On Terms="WeaponStart.AP_WraithMengskAGL4.AttackStart" Send="AnimBracketStart Attack Attack"/>
<On Terms="WeaponStop.*.AttackStop" Send="AnimBracketStop Attack"/>
<On Terms="Abil.attack.ReadyStop" Send="AnimGroupRemove Ready"/>
<Model value="AP_WraithMengsk"/>
<HostSiteOps Ops="AP_SOpBankerWraith"/>
<AnimBlendTime value="0.300000"/>
<DeathArray index="Normal" ModelLink="AP_WraithMengskDeath" SoundLink="AP_Wraith_Explode"/>
<PortraitModel value="AP_WraithPortrait"/>
<BarOffset value="60"/>
<BarWidth value="70"/>
<GroupIcon>
<Image value="AP\Assets\Textures\Wireframe-Terran-wraith.dds"/>
</GroupIcon>
<SoundArray index="Ready" value="AP_Wraith_Ready"/>
<SoundArray index="Help" value="AP_Wraith_Help"/>
<SoundArray index="What" value="AP_Wraith_What"/>
<SoundArray index="Yes" value="AP_Wraith_Yes"/>
<SoundArray index="Attack" value="AP_Wraith_Attack"/>
<SoundArray index="Pissed" value="AP_Wraith_Pissed"/>
<GroupSoundArray index="Birth" value="Wraith_Birth"/>
<GroupSoundArray index="Ready" value="AP_Wraith_Ready"/>
<GroupSoundArray index="Help" value="AP_Wraith_Help"/>
<GroupSoundArray index="What" value="AP_Wraith_What"/>
<GroupSoundArray index="Yes" value="AP_Wraith_Yes"/>
<GroupSoundArray index="Attack" value="AP_Wraith_Attack"/>
<GroupSoundArray index="Pissed" value="AP_Wraith_Pissed"/>
<HeroIcon value="AP\Assets\Textures\btn-unit-terran-wraith-mengsk.dds"/>
<LifeArmorIcon value="Assets\Textures\btn-upgrade-terran-shipplatinglevel0.dds"/>
<UnitIcon value="AP\Assets\Textures\btn-unit-terran-wraith-mengsk.dds"/>
<Wireframe>
<Image value="AP\Assets\Textures\Wireframe-Terran-wraith.dds"/>
</Wireframe>
</CActorUnit>
<CActorAction id="AP_WraithMengskAirAttackLeft" parent="GenericAttack" effectImpact="AP_WraithMengskASwitch" effectLaunch="AP_WraithMengskALeftLaunchMissile">
<LaunchAttachQuery Methods="AMFilterWeaponLeft"/>
<Missile value="AP_WraithAirAttackLeftMissile"/>
<LaunchAssets Sound="AP_WraithAWeaponBirth"/>
<ImpactMap index="None" Model="AP_WraithAirAttackImpact" Sound="AP_WraithAWeaponImpact"/>
</CActorAction>
<CActorAction id="AP_WraithMengskAirAttackRight" parent="GenericAttack" effectImpact="AP_WraithMengskASwitch" effectLaunch="AP_WraithMengskARightLaunchMissile">
<LaunchAttachQuery Methods="AMFilterWeaponRight"/>
<Missile value="AP_WraithAirAttackRightMissile"/>
<LaunchAssets Sound="AP_WraithAWeaponBirth"/>
<ImpactMap index="None" Model="AP_WraithAirAttackImpact" Sound="AP_WraithAWeaponImpact"/>
</CActorAction>
<CActorAction id="AP_WraithMengskGroundAttack" parent="GenericAttack" effectImpact="AP_WraithMengskGSwitch" effectLaunch="AP_WraithMengskGLaunchMissile">
<Missile value="AP_WraithGroundAttackMissile"/>
<LaunchAttachQuery Methods="AMFilterWeaponBottom"/>
<LaunchAssets Sound="AP_WraithGroundAttackLaunch"/>
<ImpactMap index="None" Sound="AP_Wraith_GroundAttackImpact"/>
</CActorAction>
<CActorAction id="AP_WraithMengskAirGroundAttack" parent="GenericAttack" effectImpact="AP_WraithMengskAGU" effectLaunch="AP_WraithMengskAGLaunchMissile">
<Missile value="AP_WraithGroundAttackMissile"/>
<LaunchAssets Sound="AP_WraithGroundAttackLaunch"/>
<LaunchAttachQuery Methods="AMFilterWeaponBottom"/>
<ImpactMap index="None" Model="AP_WraithGroundAttackImpact" Sound="AP_Wraith_GroundAttackImpact"/>
</CActorAction>
<CActorModel id="AP_WraithMengskResonatingFeedbackInterferenceBehavior" parent="ModelAnimationStyleContinuous">
<Model value="RavenScramblerMissileBehavior"/>
<On Terms="Behavior.AP_WraithMengskResonatingFeedbackInterference.On" Send="Create"/>
<On Terms="Behavior.AP_WraithMengskResonatingFeedbackInterference.Off" Send="AnimBracketStop BSD"/>
<On Terms="ActorCreation; ValidateUnit IsColossus" Send="SetScale 1.000000,1.000000,1.500000"/>
<On Terms="ActorCreation; ValidateUnit IsCarrier" Send="SetScale 0.750000"/>
<!-- <On Terms="ActorCreation; ValidateUnit IsTempest" Send="SetScale 0.850000"/>-->
<HostSiteOps Ops="SOpAttachCenter" HoldRotation="1"/>
<Host Subject="_Selectable"/>
<Inherits index="BaseModelScale" value="1"/>
<Inherits index="Scale" value="1"/>
<Inherits index="Visibility" value="1"/>
<AutoScaleFactor value="1.000000"/>
</CActorModel>
<CActorAction id="AP_WraithMengskResonatingFeedbackInterferenceLaunch" parent="GenericAttackBase" effectImpact="AP_WraithMengskResonatingFeedbackInterferenceDummy" effectLaunch="AP_WraithMengskResonatingFeedbackInterferenceLM">
<LaunchAttachQuery Methods="AMFilterWeaponBottom"/>
<LaunchAssets Sound="AP_Raven_ScramblerMissileLaunch"/>
<Missile value="AP_RavenScramblerMissileProjectile"/>
<ImpactSiteOps Ops="SOpAttachCenter SOpForwardLaunchGuide SOp2DRotation"/>
<ImpactAttachQuery Methods="Center 0"/>
<ImpactMap index="None" Model="RavenScramblerMissileImpact" Sound="AP_Raven_ScramblerMissileImpact" ModelReaction=""/>
<ImpactMap index="Shield" Sound="" ModelReaction=""/>
<ImpactModel value="RavenScramblerMissileImpact"/>
<On Terms="Effect.AP_WraithMengskResonatingFeedbackInterferenceLM.Start; At Caster" Send="Create"/>
<ShieldFlashType value="None"/>
</CActorAction>
<CActorSound id="AP_WraithMengskResonatingFeedbackInterferenceLoopSound" parent="SoundContinuous">
<On Terms="Behavior.AP_WraithMengskResonatingFeedbackInterference.On" Send="Create"/>
<On Terms="Behavior.AP_WraithMengskResonatingFeedbackInterference.Off" Send="Destroy"/>
<Sound value="AP_Raven_ScramblerMissileLoop"/>
</CActorSound>
<CActorRange id="AP_WraithMengskResonatingFeedbackInterferenceRange" parent="RangeAbil" abil="AP_WraithMengskResonatingFeedbackInterference"/>
<CActorRange id="AP_WraithMengskDisruptionWebRange" parent="RangeAbil" abil="AP_WraithMengskDisruptionWeb"/>
</Catalog>
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,5 @@ UI/AP_Coop_UnitStatus_MengskVeterancyHealthFrame_Icon_Thor=Assets\Textures\ui_in
UI/AP_Coop_UnitStatus_MengskVeterancyHealthFrame_Icon_Marine=AP\Assets\Custom\Textures\ui_ingame_alliedcommander_herohealthframe_mengsk_icon_marine.dds
UI/AP_Coop_UnitStatus_MengskVeterancyHealthFrame_Icon_Goliath=AP\Assets\Custom\Textures\ui_ingame_alliedcommander_herohealthframe_mengsk_icon_goliath.dds
UI/AP_Coop_UnitStatus_MengskVeterancyHealthFrame_Icon_Medic=AP\Assets\Custom\Textures\ui_ingame_alliedcommander_herohealthframe_mengsk_icon_medic.dds
UI/AP_Coop_UnitStatus_MengskVeterancyHealthFrame_Icon_Liberator=AP\Assets\Custom\Textures\ui_ingame_alliedcommander_herohealthframe_mengsk_icon_liberator.dds
UI/AP_Coop_UnitStatus_MengskVeterancyHealthFrame_Icon_Liberator=AP\Assets\Custom\Textures\ui_ingame_alliedcommander_herohealthframe_mengsk_icon_liberator.dds
UI/AP_Coop_UnitStatus_MengskVeterancyHealthFrame_Icon_Wraith=AP\Assets\Custom\Textures\ui_ingame_alliedcommander_herohealthframe_mengsk_icon_wraith.dds
Loading

0 comments on commit 5d7b6ec

Please sign in to comment.