diff --git a/patches/0-ground_effects.yaml b/patches/0-ground_effects.yaml new file mode 100644 index 0000000..b7a539f --- /dev/null +++ b/patches/0-ground_effects.yaml @@ -0,0 +1,344 @@ +#foo 4700 base + +# ground effects for other spells + +SpellVisualEffectName.dbc: + #new circles + - type: insert + key: 4700 + values: + Name: Danger Zone 10y + FileName: Spells\DangerZone_W10_S30.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4701 + values: + Name: Danger Zone 15y + FileName: Spells\DangerZone_W15_S30.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4702 + values: + Name: Danger Zone 20y + FileName: Spells\DangerZone_W20_S30.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4703 + values: + Name: Danger Zone 30y + FileName: Spells\DangerZone_W30_S30.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4704 + values: + Name: Danger Zone 40y + FileName: Spells\DangerZone_W40_S30.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4705 + values: + Name: Danger Zone 50y + FileName: Spells\DangerZone_W50_S30.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4706 + values: + Name: Danger Zone 25y + FileName: Spells\DangerZone_W25_S30.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4707 + values: + Name: Danger Zone 35y + FileName: Spells\DangerZone_W35_S30.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4708 + values: + Name: Danger Zone 23y + FileName: Spells\DangerZone_W23_S30.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4709 + values: + Name: Danger Zone 12y + FileName: Spells\DangerZone_W12_S30.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4710 + values: + Name: Danger Zone 18y + FileName: Spells\DangerZone_W18_S30.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4711 + values: + Name: Danger Zone 12y 60s + FileName: Spells\DangerZone_W12_S60.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4712 + values: + Name: Danger Zone 8y Jagged + FileName: Spells\DangerZone_W8_S30_Jagged.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4713 + values: + Name: Danger Zone 12y Jagged + FileName: Spells\DangerZone_W12_S30_Jagged.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4714 + values: + Name: Kri Cloud Jagged + FileName: Spells\DangerZone_W20_S120_Jagged.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4715 + values: + Name: Bug Explode 17y Jagged + FileName: Spells\DangerZone_W17_S30_Jagged.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4716 + values: + Name: Danger Zone 12y Jagged Green + FileName: Spells\DangerZone_W12_S30_JaggedG.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + + - type: insert + key: 4750 + values: + Name: Danger Zone 10y White + FileName: Spells\DangerZone_W10_S30_White.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4751 + values: + Name: Danger Zone 12y White + FileName: Spells\DangerZone_W12_S30_White.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4752 + values: + Name: Danger Zone 15y White + FileName: Spells\DangerZone_W15_S30_White.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + + # symbols + - type: insert + key: 4800 + values: + Name: 5y X, quickfade + FileName: Spells\DangerZone_W5_S2_X.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4801 + values: + Name: 10y X, quickfade + FileName: Spells\DangerZone_W10_S2_X.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + + # arrows + - type: insert + key: 4810 + values: + Name: Danger Zone 10y Arrow + FileName: Spells\DangerZone_W10_S30_Arrow.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4811 + values: + Name: Danger Zone 40y Arrow + FileName: Spells\DangerZone_W40_S30_Arrow.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4812 + values: + Name: Danger Zone 8y Arrow + FileName: Spells\DangerZone_W8_S30_Arrow.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + + # specifically tailored spells + - type: insert + key: 4980 + values: #data says 15 but seems to be 18 in game + Name: Sapph Blizzard (7y Orange) + FileName: Spells\DangerZone_W7_S18_Orange.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4981 + values: + Name: Sapph Blizzard (Ice Crystal) + FileName: Spells\DangerZone_W7_S2_Orange_Fast.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + + - type: insert + key: 4901 + values: + Name: RoF Alert + FileName: Spells\DangerZone_W10_S2_X.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4902 + values: + Name: Blackwing/Faerlina RoF + FileName: Spells\DangerZone_W22_S12_Flame.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4903 + values: + Name: Geddon Inferno + FileName: Spells\DangerZone_W10_S30_Flame.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4904 + values: + Name: Incindus Nova + FileName: Spells\DangerZone_W7_S30_Flame.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + + - type: insert + key: 4905 + values: + Name: Kri Cloud + FileName: Spells\DangerZone_W20_S120.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4906 + values: + Name: Visc Cloud + FileName: Spells\DangerZone_W12_S30_White.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4907 + values: + Name: Emp Bugs + FileName: Spells\DangerZone_W17_S30.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4908 + values: + Name: Ouro Dirt Mounds + FileName: Spells\DangerZone_W8_S30.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4909 + values: + Name: Anubisath Explosion 4.5y + FileName: Spells\DangerZone_W4_S7_Flame.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + + - type: insert + key: 4910 + values: + Name: Ignite Rock + FileName: Spells\DangerZone_W20_S12_Flame.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4911 + values: + Name: Ignite Earth + FileName: Spells\DangerZone_W20_S18_Flame.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + + - type: insert + key: 4912 + values: + Name: Flame Strike Hatcher/Spellbinder/Medivh + FileName: Spells\DangerZone_W12_S8.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + - type: insert + key: 4913 + values: + Name: Techie Bomb + FileName: Spells\DangerZone_W4_S1_White.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + + - type: insert + key: 4920 + values: + Name: Arcanist/Incantagos Blizzard #todo, frost circle might be too close to texture edge + FileName: Spells\DangerZone_W22_S12_Frost.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + # - type: insert -- seems to be 12 as well despite spell data + # key: 4921 + # values: + # Name: Vek'lor Blizzard + # FileName: Spells\DangerZone_W23_S10.m2 + # SpecialAttachPoint: 0.0 + # Scale: 1.0 + + - type: insert + key: 4930 + values: + Name: Arcane Anomaly Area #3.5x scale + FileName: Spells\DangerZone_W10_S9_White.m2 #probably still too small + SpecialAttachPoint: 0.0 + Scale: 1.0 + + # - type: insert + # key: 4931 + # values: + # Name: Anubisath Sentinel #3x? scale + # FileName: Spells\DangerZone_W8_S300.m2 + # SpecialAttachPoint: 0.0 + # Scale: 1.0 + + - type: insert + key: 4950 + values: + Name: Kruul Cone + FileName: Spells\KruulCone.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 + + - type: insert + key: 5000 + values: + Name: FooSmoke + FileName: Spells\FooSmoke.m2 + SpecialAttachPoint: 0.0 + Scale: 1.0 diff --git a/patches/0-sounds.yaml b/patches/0-sounds.yaml new file mode 100644 index 0000000..46ba9d0 --- /dev/null +++ b/patches/0-sounds.yaml @@ -0,0 +1,114 @@ +#foo 9500 base (SpellVisual/Kit), 90000 base (SoundEntries) + +### baby murloc dance ############### +# silence a weird murloc sound glitch +SoundEntries.dbc: + - type: update + key: 8485 # baby murloc dance loop + values: + VolumeFloat: 0.0 +##################################### + +### caravan kodo ################## +# silence kodo steps +CreatureModelData.dbc: + - type: update + key: 1071 + values: + SoundID: 171 # turtle footsteps +################################### + +### field repair bot 75b ########## +CreatureSoundData.dbc: + - type: update + key: 72 + values: + SoundFootStepID: 0 +################################### + +### totemic recall ################ +# give unique sound +SoundEntries.dbc: + - type: copy + key: 2552 + values: + ID: 90000 + File_1: m1hAxeHitWood1A.wav + DirectoryBase: Sound\Item\Weapons\Axe1H + VolumeFloat: 0.8 + # File_1: m2hAxeHitWood1C.wav + # DirectoryBase: Sound\Item\Weapons\Axe2H + +SpellVisualKit.dbc: + - type: copy + key: 352 # totem drop + values: + ID: 9500 + SoundID: 90000 #yes really + +SpellVisual.dbc: + - type: copy + key: 319 # totem drop + values: + ID: 9500 + CastKit: 9500 + +Spell.dbc: + - type: update + key: 45513 + values: + SpellVisualID_1: 9500 +################################### + +### concussion blow ############### +# give unique sound +SoundEntries.dbc: + - type: copy + key: 42 + values: + ID: 90001 + File_1: 2hMaceHitMetalShield1b.wav + DirectoryBase: Sound\Item\Weapons\Mace2H + VolumeFloat: 1.3 #a bit quiet currently + +SpellVisualKit.dbc: + - type: copy + key: 1666 + values: + ID: 9501 + SoundID: 90001 #yes really + +SpellVisual.dbc: # don't clobber other users of 2719 + - type: copy + key: 2719 + values: + ID: 9501 + ImpactKit: 9501 + +Spell.dbc: + - type: update + key: 1809 + values: + SpellVisualID_1: 9501 + - type: update + key: 51600 + values: + SpellVisualID_1: 9501 + - type: update + key: 51601 + values: + SpellVisualID_1: 9501 + - type: update + key: 51602 + values: + SpellVisualID_1: 9501 +################################### + +### duck ############################ +# tried to switch from loop to various fidget timings to randomize the quack but duck has no fidgets +CreatureSoundData.dbc: #re-enabled, he's too goddamn annoying + - type: update + key: 5012 + values: + LoopSoundID: 0 +##################################### diff --git a/patches/1-blizzard.yaml b/patches/1-blizzard.yaml new file mode 100644 index 0000000..7b5360c --- /dev/null +++ b/patches/1-blizzard.yaml @@ -0,0 +1,38 @@ +#foo 9400 base + +SpellVisualKit.dbc: + - type: copy + key: 609 + values: + ID: 9400 + WorldEffect: 4800 #add a prehit animation, slightly speeds up players seeing the effect + +SpellVisual.dbc: + - type: copy + key: 259 + values: + ID: 9400 + StateKit: 668 + AreaModel: 4920 + AreaKit: 9400 + HasMissile: 1 #disable secondary ground effect renderings + MissileModel: 234 + # MissileDestinationAttachment: 2 + Flags: 1 + +Spell.dbc: + - type: update + key: 51180 #incantagos(51180) + values: + SpellVisualID_1: 9400 + Speed: 255.0 #speed determines missile speed, and thus when the prehit occurs + - type: update + key: 57657 #arcanist(57657) + values: + SpellVisualID_1: 9400 + Speed: 255.0 + - type: update + key: 26607 #vek'lor(26607) + values: + SpellVisualID_1: 9400 + Speed: 255.0 diff --git a/patches/2-rain_of_fire.yaml b/patches/2-rain_of_fire.yaml new file mode 100644 index 0000000..82aa51a --- /dev/null +++ b/patches/2-rain_of_fire.yaml @@ -0,0 +1,38 @@ +#foo 8600 base + +SpellVisualKit.dbc: + - type: copy + key: 692 + values: + ID: 8600 + WorldEffect: 4801 #add a prehit animation, slightly speeds up players seeing the RoF + +SpellVisual.dbc: + - type: copy + key: 329 + values: + ID: 8600 + StateKit: 668 + AreaModel: 4902 + MissileModel: 1179 + # MissilePathType: 2 + # MissileDestinationAttachment: 0 + AreaKit: 8600 + HasMissile: 1 #disable secondary ground effect renderings + +Spell.dbc: + - type: update + key: 19717 #gehennas and blackwing warlockk(19717) + values: + SpellVisualID_1: 8600 + Speed: 255.0 + - type: update + key: 28794 #faerlina and bovar'kez(28794) + values: + SpellVisualID_1: 8600 + Speed: 255.0 + - type: update + key: 41372 #selenaxx foulheart rain of destruction + values: + SpellVisualID_1: 8600 + Speed: 255.0 diff --git a/patches/3-flamestrike.yaml b/patches/3-flamestrike.yaml new file mode 100644 index 0000000..2dddf96 --- /dev/null +++ b/patches/3-flamestrike.yaml @@ -0,0 +1,101 @@ +#foo 8700 base + +# Here’s the basic logic behind how these area effect visuals work: +# +# Area effect spells can have a model that appears in the world. On cast, the +# client plays two versions of the model: Model A at full opacity, and Model B +# at slightly reduced opacity. Model A scales with the caster’s size; Model B +# does not. Model B’s fade-in/out timing is hardcoded client-side, so we can’t +# speed it up. +# +# This means that if we want a world model representing an area that ignores +# caster scale, we lose control over how quickly it becomes visible. +# +# The workaround: use missile rendering instead. If the spell is flagged as a +# missile, Model A no longer plays. Instead, we can control the impact visual +# via the AreaKit. This animation can appear at full opacity instantly, and +# its fade timing is under our control. It does scale with the caster, but we +# can pre-scale the model to compensate in most cases. +# +# For the missile animation to play, the spell must have a Speed value, which +# defines missile travel speed. Travel time affects when the animation starts; +# a high speed is usually chosen to ensure the impact effect starts quickly. + +# move flamestrike impact animation to missile impact +SpellVisualKit.dbc: + - type: copy + key: 695 #flamestrike + values: + ID: 8700 + # WorldEffect: 4801 # 10y X + WorldEffect: 420 # flamestrike + - type: copy + key: 695 #flamestrike + values: + ID: 8701 + WorldEffect: 4800 # 5y X + # WorldEffect: 420 #flamestrike model is obnoxious at this size + +# spellbinder, hatcher, and medivh +SpellVisual.dbc: + - type: copy + key: 33 + values: + ID: 8700 + StateKit: 668 + AreaKit: 8700 + AreaModel: 4912 #display a ground zone + HasMissile: 1 #disable secondary ground effect renderings + MissileModel: 1179 + # MissilePathType: 2 + # Flags: 1 + +Spell.dbc: + - type: update + key: 22275 #spellbinder/hatcher flamestike (22275) + values: + SpellVisualID_1: 8700 + Speed: 255.0 + - type: update + key: 51113 # flamestrike of medivh, use old style visual + our indicator + values: + SpellVisualID_1: 8700 + Speed: 255.0 + +#rupturan and fragments +SpellVisual.dbc: + - type: copy #fragments + key: 33 + values: + ID: 8711 + StateKit: 668 + AreaKit: 8701 # 5y X + AreaModel: 4910 # 20y, 12s, spelldata claims 10y though + HasMissile: 1 #disable secondary ground effect renderings + MissileModel: 1179 + MissilePathType: 2 + # Flags: 1 + - type: copy #rupturan + key: 33 + values: + ID: 8712 + StateKit: 668 + AreaKit: 8701 + AreaModel: 4911 # 20y, 18s, spelldata claims 10y though + HasMissile: 1 #disable secondary ground effect renderings + MissileModel: 1179 + MissilePathType: 2 + # Flags: 1 + +Spell.dbc: + - type: update + key: 51298 #ignite rock (51298) + values: + SpellVisualID_1: 8711 + # Speed: 255.0 + Speed: 255.0 + - type: update + key: 52040 #ignite earth (52040) + values: + SpellVisualID_1: 8712 + Speed: 255.0 #projectile speed, required to triggeer some visual effects