custom UseSounds fixed
This commit is contained in:
1 parent
1618ceaf7f
commit
65fcd5ba2d
60 files changed
+133
-86
No files matched your search
@@ -232,15 +232,15 @@ namespace CalamityMod.CalPlayer
|
||||
public bool playFullRageSound = true;
|
||||
public bool playFullAdrenalineSound = true;
|
||||
|
||||
public static readonly SoundStyle RageFilledSound = new("Sounds/Custom/AbilitySounds/FullRage");
|
||||
public static readonly SoundStyle RageActivationSound = new("Sounds/Custom/AbilitySounds/RageActivate");
|
||||
public static readonly SoundStyle RageEndSound = new("Sounds/Custom/AbilitySounds/RageEnd");
|
||||
public static readonly SoundStyle RageFilledSound = new("CalamityMod/Sounds/Custom/AbilitySounds/FullRage");
|
||||
public static readonly SoundStyle RageActivationSound = new("CalamityMod/Sounds/Custom/AbilitySounds/RageActivate");
|
||||
public static readonly SoundStyle RageEndSound = new("CalamityMod/Sounds/Custom/AbilitySounds/RageEnd");
|
||||
|
||||
public static readonly SoundStyle AdrenalineFilledSound = new("Sounds/Custom/AbilitySounds/FullAdrenaline");
|
||||
public static readonly SoundStyle AdrenalineActivationSound = new("Sounds/Custom/AbilitySounds/AdrenalineActivate");
|
||||
public static readonly SoundStyle AdrenalineFilledSound = new("CalamityMod/Sounds/Custom/AbilitySounds/FullAdrenaline");
|
||||
public static readonly SoundStyle AdrenalineActivationSound = new("CalamityMod/Sounds/Custom/AbilitySounds/AdrenalineActivate");
|
||||
|
||||
public static readonly SoundStyle RogueStealthSound = new("Sounds/Custom/RogueStealth");
|
||||
public static readonly SoundStyle DefenseDamageSound = new("Sounds/Custom/DefenseDamage");
|
||||
public static readonly SoundStyle RogueStealthSound = new("CalamityMod/Sounds/Custom/RogueStealth");
|
||||
public static readonly SoundStyle DefenseDamageSound = new("CalamityMod/Sounds/Custom/DefenseDamage");
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Accessories
|
||||
//Developer item, dedicatee: Nincity
|
||||
public class AngelicAlliance : ModItem
|
||||
{
|
||||
public static readonly SoundStyle ActivationSound = new("Sounds/Custom/AbilitySounds/AngelicAllianceActivation");
|
||||
public static readonly SoundStyle ActivationSound = new("CalamityMod/Sounds/Custom/AbilitySounds/AngelicAllianceActivation");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace CalamityMod.Items.Armor
|
||||
[AutoloadEquip(EquipType.Head)]
|
||||
public class BloodflareHornedHelm : ModItem
|
||||
{
|
||||
public static readonly SoundStyle ActivationSound = new("Sounds/Custom/AbilitySounds/BloodflareRangerActivation");
|
||||
public static readonly SoundStyle ActivationSound = new("CalamityMod/Sounds/Custom/AbilitySounds/BloodflareRangerActivation");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Armor
|
||||
[AutoloadEquip(EquipType.Head)]
|
||||
public class BrimflameScowl : ModItem
|
||||
{
|
||||
public static readonly SoundStyle ActivationSound = new("Sounds/Custom/AbilitySounds/AngelicAllianceActivation");
|
||||
public static readonly SoundStyle ActivationSound = new("CalamityMod/Sounds/Custom/AbilitySounds/AngelicAllianceActivation");
|
||||
|
||||
private bool frenzy = false;
|
||||
public static int CooldownLength = 1800;
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Armor
|
||||
[AutoloadEquip(EquipType.Head)]
|
||||
public class DemonshadeHelm : ModItem, IExtendedHat
|
||||
{
|
||||
public static readonly SoundStyle ActivationSound = new("Sounds/Custom/AbilitySounds/DemonshadeEnrage");
|
||||
public static readonly SoundStyle ActivationSound = new("CalamityMod/Sounds/Custom/AbilitySounds/DemonshadeEnrage");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Armor
|
||||
public class OmegaBlueHelmet : ModItem
|
||||
{
|
||||
|
||||
public static readonly SoundStyle ActivationSound = new("Sounds/Custom/AbilitySounds/OmegaBlueAbility);
|
||||
public static readonly SoundStyle ActivationSound = new("CalamityMod/Sounds/Custom/AbilitySounds/OmegaBlueAbility);
|
||||
|
||||
public override void Load()
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Armor
|
||||
[AutoloadEquip(EquipType.Head)]
|
||||
public class PlagueReaperMask : ModItem
|
||||
{
|
||||
public static readonly SoundStyle ActivationSound = new("Sounds/Custom/AbilitySounds/PlagueReaperAbility");
|
||||
public static readonly SoundStyle ActivationSound = new("CalamityMod/Sounds/Custom/AbilitySounds/PlagueReaperAbility");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -14,8 +14,8 @@ namespace CalamityMod.Items.Armor
|
||||
[AutoloadEquip(EquipType.Head)]
|
||||
public class SilvaHelmet : ModItem
|
||||
{
|
||||
public static readonly SoundStyle ActivationSound = new("Sounds/Custom/AbilitySounds/SilvaActivation");
|
||||
public static readonly SoundStyle DispelSound = new("Sounds/Custom/AbilitySounds/SilvaDispel");
|
||||
public static readonly SoundStyle ActivationSound = new("CalamityMod/Sounds/Custom/AbilitySounds/SilvaActivation");
|
||||
public static readonly SoundStyle DispelSound = new("CalamityMod/Sounds/Custom/AbilitySounds/SilvaDispel");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -5,6 +5,7 @@ using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Fishing.AstralCatches
|
||||
{
|
||||
@@ -33,7 +34,7 @@ namespace CalamityMod.Items.Fishing.AstralCatches
|
||||
Item.knockBack = 2.25f;
|
||||
Item.value = CalamityGlobalItem.Rarity4BuyPrice;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/LaserCannon"); //pew pew
|
||||
Item.UseSound = CommonCalamitySounds.LaserCannonSound; //pew pew
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ModContent.ProjectileType<PolarStar>();
|
||||
Item.shootSpeed = 15f;
|
||||
|
||||
@@ -4,6 +4,7 @@ using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.Audio;
|
||||
|
||||
namespace CalamityMod.Items.Pets
|
||||
{
|
||||
@@ -31,7 +32,7 @@ namespace CalamityMod.Items.Pets
|
||||
|
||||
Item.shoot = ModContent.ProjectileType<Bear>();
|
||||
Item.buffType = ModContent.BuffType<BearBuff>();
|
||||
Item.UseSound = new SoundStyle(SoundID.Meowmere, 5);
|
||||
Item.UseSound = SoundID.Meowmere;
|
||||
}
|
||||
|
||||
public override void UseStyle(Player player, Rectangle heldItemFrame)
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Pets
|
||||
Item.height = 36;
|
||||
Item.shoot = ModContent.ProjectileType<ChibiiDoggo>();
|
||||
Item.buffType = ModContent.BuffType<ChibiiBuff>();
|
||||
Item.UseSound = new SoundStyle(SoundID.Meowmere, 5);
|
||||
Item.UseSound = SoundID.Meowmere;
|
||||
|
||||
Item.value = Item.sellPrice(gold: 7);
|
||||
Item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
|
||||
@@ -13,6 +13,8 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
{
|
||||
public class GatlingLaser : ModItem
|
||||
{
|
||||
public static readonly SoundStyle UseSound = new("CalamityMod/Sounds/Item/GatlingLaserFireStart");
|
||||
|
||||
// This is the amount of charge consumed every time the holdout projectile fires a laser.
|
||||
public const float HoldoutChargeUse = 0.0075f;
|
||||
|
||||
@@ -39,7 +41,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
Item.mana = 6;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/GatlingLaserFireStart");
|
||||
Item.UseSound = UseSound;
|
||||
Item.noMelee = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.Rarity8BuyPrice;
|
||||
|
||||
@@ -6,6 +6,7 @@ using System.Collections.Generic;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
{
|
||||
@@ -32,7 +33,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
Item.autoReuse = true;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/GaussWeaponFire");
|
||||
Item.UseSound = CommonCalamitySounds.GaussWeaponFire;
|
||||
Item.noMelee = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.Rarity5BuyPrice;
|
||||
|
||||
@@ -8,6 +8,7 @@ using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
{
|
||||
@@ -33,7 +34,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
Item.autoReuse = true;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/GaussWeaponFire");
|
||||
Item.UseSound = CommonCalamitySounds.GaussWeaponFire;
|
||||
Item.noMelee = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.Rarity8BuyPrice;
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
Item.autoReuse = true;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/PlasmaBolt");
|
||||
Item.UseSound = CommonCalamitySounds.PlasmaBoltSound;
|
||||
Item.noMelee = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.Rarity5BuyPrice;
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
Item.mana = 6;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/PulseRifleFire");
|
||||
Item.UseSound = PulseRifle.FireSound;
|
||||
Item.noMelee = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.Rarity3BuyPrice;
|
||||
|
||||
@@ -9,11 +9,14 @@ using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.Audio;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
{
|
||||
public class PulseRifle : ModItem
|
||||
{
|
||||
public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/PulseRifleFire");
|
||||
|
||||
private int BaseDamage = 1420;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -37,7 +40,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
Item.autoReuse = true;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/PulseRifleFire");
|
||||
Item.UseSound = FireSound;
|
||||
Item.noMelee = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.Rarity14BuyPrice;
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
Item.autoReuse = true;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/PlasmaBolt");
|
||||
Item.UseSound = CommonCalamitySounds.PlasmaBoltSound;
|
||||
Item.noMelee = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.Rarity3BuyPrice;
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
{
|
||||
private int BaseDamage = 1050;
|
||||
|
||||
public static readonly SoundStyle FireSound = new("Sounds/Item/TeslaCannonFire");
|
||||
public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/TeslaCannonFire");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -3,6 +3,7 @@ using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
@@ -31,7 +32,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
Item.knockBack = 1f;
|
||||
Item.value = Item.buyPrice(1, 40, 0, 0);
|
||||
Item.rare = ItemRarityID.Purple;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Custom/WyrmScream");
|
||||
Item.UseSound = CommonCalamitySounds.WyrmScreamSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shootSpeed = 8f;
|
||||
Item.shoot = ModContent.ProjectileType<EidolicWailSoundwave>();
|
||||
|
||||
@@ -12,6 +12,8 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
public class IceBarrage : ModItem
|
||||
{
|
||||
public static readonly SoundStyle CastSound = new("CalamityMod/Sounds/Item/IceBarrageCast");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Ice Barrage");
|
||||
@@ -30,7 +32,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 180;
|
||||
Item.noMelee = true;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/IceBarrageCast");
|
||||
Item.UseSound = CastSound;
|
||||
|
||||
Item.value = CalamityGlobalItem.Rarity14BuyPrice;
|
||||
Item.Calamity().customRarity = CalamityRarity.DarkBlue;
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
Item.value = CalamityGlobalItem.Rarity12BuyPrice;
|
||||
Item.rare = ItemRarityID.Purple;
|
||||
Item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/PlasmaBlast");
|
||||
Item.UseSound = CommonCalamitySounds.PlasmaBlastSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shootSpeed = 12f;
|
||||
Item.shoot = ModContent.ProjectileType<PlasmaShot>();
|
||||
@@ -47,11 +47,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
if (player.altFunctionUse == 2)
|
||||
{
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/PlasmaBolt");
|
||||
Item.UseSound = CommonCalamitySounds.PlasmaBoltSound;
|
||||
}
|
||||
else
|
||||
{
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/PlasmaBlast");
|
||||
Item.UseSound = CommonCalamitySounds.PlasmaBlastSound;
|
||||
}
|
||||
return base.CanUseItem(player);
|
||||
}
|
||||
|
||||
@@ -5,6 +5,8 @@ using Terraria.Audio;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
public class PurgeGuzzler : ModItem
|
||||
@@ -31,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.noMelee = true;
|
||||
Item.knockBack = 4.5f;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/LaserCannon");
|
||||
Item.UseSound = CommonCalamitySounds.LaserCannonSound;
|
||||
Item.shoot = ModContent.ProjectileType<HolyLaser>();
|
||||
Item.shootSpeed = 6f;
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
@@ -46,7 +47,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
if (player.altFunctionUse == 2)
|
||||
{
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/LaserCannon");
|
||||
Item.UseSound = CommonCalamitySounds.LaserCannonSound;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -3,6 +3,8 @@ using Microsoft.Xna.Framework;
|
||||
using Terraria.Audio;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
public class Thunderstorm : ModItem
|
||||
@@ -29,7 +31,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
Item.value = CalamityGlobalItem.Rarity12BuyPrice;
|
||||
Item.rare = ItemRarityID.Purple;
|
||||
Item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/PlasmaBlast");
|
||||
Item.UseSound = CommonCalamitySounds.PlasmaBlastSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shootSpeed = 6f;
|
||||
Item.shoot = ModContent.ProjectileType<ThunderstormShot>();
|
||||
|
||||
@@ -3,6 +3,7 @@ using CalamityMod.Projectiles.Melee;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.NPCs.Yharon;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
@@ -38,7 +39,7 @@ Summons a barrage of petals and waterfalls on enemy hits");
|
||||
Item.noUseGraphic = true;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Custom/YharonRoarShort");
|
||||
Item.UseSound = Yharon.ShortRoarSound;
|
||||
Item.channel = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.Rarity15BuyPrice;
|
||||
|
||||
@@ -9,6 +9,7 @@ using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Items.Tools;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
@@ -103,7 +104,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
}
|
||||
else
|
||||
{
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/CrystylCharge");
|
||||
Item.UseSound = CrystylCrusher.ChargeSound;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.useTurn = false;
|
||||
Item.autoReuse = false;
|
||||
|
||||
@@ -7,6 +7,7 @@ using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
@@ -33,7 +34,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.knockBack = 9.5f;
|
||||
Item.value = Item.buyPrice(1, 80, 0, 0);
|
||||
Item.rare = ItemRarityID.Red;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/LargeWeaponFire");
|
||||
Item.UseSound = CommonCalamitySounds.LargeWeaponFireSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ProjectileID.Bullet;
|
||||
Item.shootSpeed = 12f;
|
||||
|
||||
@@ -8,6 +8,7 @@ using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
@@ -44,7 +45,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.height = 34;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.noMelee = true;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/PlasmaBlast");
|
||||
Item.UseSound = CommonCalamitySounds.PlasmaBlastSound;
|
||||
Item.value = CalamityGlobalItem.Rarity12BuyPrice;
|
||||
Item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
Item.Calamity().donorItem = true;
|
||||
|
||||
@@ -5,6 +5,7 @@ using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
@@ -31,7 +32,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.knockBack = 7f;
|
||||
Item.value = CalamityGlobalItem.Rarity10BuyPrice;
|
||||
Item.rare = ItemRarityID.Red;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/LaserCannon");
|
||||
Item.UseSound = CommonCalamitySounds.LaserCannonSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shootSpeed = 22f;
|
||||
Item.shoot = ModContent.ProjectileType<ChargedBlast>();
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.noMelee = true;
|
||||
Item.knockBack = 2.5f;
|
||||
Item.value = Item.buyPrice(0, 36, 0, 0);
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/PlasmaBolt");
|
||||
Item.UseSound = CommonCalamitySounds.PlasmaBoltSound;
|
||||
Item.autoReuse = true;
|
||||
Item.rare = ItemRarityID.Pink;
|
||||
Item.shoot = ModContent.ProjectileType<ClamorRifleProj>();
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.knockBack = 1.75f;
|
||||
Item.value = CalamityGlobalItem.Rarity11BuyPrice;
|
||||
Item.rare = ItemRarityID.Purple;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/PlasmaBolt");
|
||||
Item.UseSound = CommonCalamitySounds.PlasmaBoltSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ModContent.ProjectileType<RainbowBlast>();
|
||||
Item.shootSpeed = 18f;
|
||||
|
||||
@@ -6,6 +6,7 @@ using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
@@ -34,7 +35,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.knockBack = 0f;
|
||||
Item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
Item.rare = ItemRarityID.Lime;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/LaserCannon");
|
||||
Item.UseSound = CommonCalamitySounds.LaserCannonSound;
|
||||
Item.shoot = ModContent.ProjectileType<FlakKrakenGun>();
|
||||
Item.shootSpeed = 30f; //30
|
||||
}
|
||||
|
||||
@@ -6,11 +6,14 @@ using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.Audio;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
public class Karasawa : ModItem
|
||||
{
|
||||
public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/MechGaussRifle");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Karasawa");
|
||||
@@ -30,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.autoReuse = true;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/MechGaussRifle");
|
||||
Item.UseSound = FireSound;
|
||||
Item.noMelee = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.Rarity14BuyPrice;
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.knockBack = 2.25f;
|
||||
Item.value = Item.buyPrice(0, 80, 0, 0);
|
||||
Item.rare = ItemRarityID.Yellow;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/OpalStrike");
|
||||
Item.UseSound = OpalStriker.FireSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ModContent.ProjectileType<OpalStrike>();
|
||||
Item.shootSpeed = 15f;
|
||||
|
||||
@@ -5,11 +5,14 @@ using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.Audio;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
public class OpalStriker : ModItem
|
||||
{
|
||||
public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/OpalStrike");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Opal Striker");
|
||||
@@ -31,7 +34,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.knockBack = 0f;
|
||||
Item.value = Item.buyPrice(0, 2, 0, 0);
|
||||
Item.rare = ItemRarityID.Green;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/OpalStrike");
|
||||
Item.UseSound = FireSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ModContent.ProjectileType<OpalStrike>();
|
||||
Item.shootSpeed = 6f;
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
public class ScorchedEarth : ModItem
|
||||
{
|
||||
public static readonly SoundStyle ShootSound = new("Sounds/Item/ScorchedEarthShot", 3);
|
||||
public static readonly SoundStyle ShootSound = new("CalamityMod/Sounds/Item/ScorchedEarthShot", 3);
|
||||
|
||||
private int counter = 0;
|
||||
public override void SetStaticDefaults()
|
||||
|
||||
@@ -7,6 +7,7 @@ using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
@@ -37,7 +38,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.height = 32;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.noMelee = true;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/LargeWeaponFire");
|
||||
Item.UseSound = CommonCalamitySounds.LargeWeaponFireSound;
|
||||
|
||||
Item.value = CalamityGlobalItem.Rarity15BuyPrice;
|
||||
Item.Calamity().customRarity = CalamityRarity.Violet;
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
{
|
||||
//Note: In the future i may just do some changes to this item, and the cripple effect will probably be gone. But in the meanwhile
|
||||
//- Iban
|
||||
public static readonly SoundStyle CrippleSound = new("Sounds/Custom/AndromedaCripple");
|
||||
public static readonly SoundStyle CrippleSound = new("CalamityMod/Sounds/Custom/AndromedaCripple");
|
||||
|
||||
public override void Load()
|
||||
{
|
||||
|
||||
@@ -4,6 +4,7 @@ using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.NPCs.SlimeGod
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Summon
|
||||
{
|
||||
@@ -31,7 +32,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
Item.knockBack = 3.6f;
|
||||
Item.value = CalamityGlobalItem.Rarity4BuyPrice;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Custom/SlimeGodPossession");
|
||||
Item.UseSound = SlimeGodCore.PossessionSound;
|
||||
Item.shoot = ModContent.ProjectileType<SlimePuppet>();
|
||||
Item.shootSpeed = 10f;
|
||||
Item.DamageType = DamageClass.Summon;
|
||||
|
||||
@@ -7,6 +7,7 @@ using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Typeless
|
||||
{
|
||||
@@ -37,7 +38,7 @@ namespace CalamityMod.Items.Weapons.Typeless
|
||||
Item.height = 44;
|
||||
Item.noMelee = true;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/LaserCannon");
|
||||
Item.UseSound = CommonCalamitySounds.LaserCannonSound;
|
||||
|
||||
Item.value = CalamityGlobalItem.Rarity12BuyPrice;
|
||||
Item.Calamity().customRarity = CalamityRarity.Turquoise;
|
||||
|
||||
@@ -3,6 +3,7 @@ using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ID;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Typeless
|
||||
{
|
||||
@@ -27,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Typeless
|
||||
Item.useTime = 20;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.knockBack = 5f;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/LaserCannon");
|
||||
Item.UseSound = CommonCalamitySounds.LaserCannonSound;
|
||||
Item.autoReuse = true;
|
||||
Item.noMelee = true;
|
||||
Item.height = 50;
|
||||
|
||||
@@ -6,11 +6,14 @@ using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.Audio;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Typeless.FiniteUse
|
||||
{
|
||||
public class Bazooka : ModItem
|
||||
{
|
||||
public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/BazookaFull");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Bazooka");
|
||||
@@ -30,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Typeless.FiniteUse
|
||||
Item.knockBack = 10f;
|
||||
Item.value = Item.buyPrice(0, 36, 0, 0);
|
||||
Item.rare = ItemRarityID.Pink;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/BazookaFull");
|
||||
Item.UseSound = FireSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shootSpeed = 12f;
|
||||
Item.shoot = ModContent.ProjectileType<GrenadeRound>();
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Typeless.FiniteUse
|
||||
Item.knockBack = 8f;
|
||||
Item.value = CalamityGlobalItem.Rarity10BuyPrice;
|
||||
Item.rare = ItemRarityID.Red;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/Magnum");
|
||||
Item.UseSound = Magnum.FireSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shootSpeed = 12f;
|
||||
Item.shoot = ModContent.ProjectileType<MagnumRound>();
|
||||
|
||||
@@ -6,11 +6,14 @@ using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.Audio;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Typeless.FiniteUse
|
||||
{
|
||||
public class Hydra : ModItem
|
||||
{
|
||||
public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/Hydra");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Hydra");
|
||||
@@ -30,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Typeless.FiniteUse
|
||||
Item.knockBack = 10f;
|
||||
Item.value = Item.buyPrice(0, 80, 0, 0);
|
||||
Item.rare = ItemRarityID.Yellow;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/Hydra");
|
||||
Item.UseSound = FireSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shootSpeed = 12f;
|
||||
Item.shoot = ModContent.ProjectileType<ExplosiveShotgunShell>();
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Typeless.FiniteUse
|
||||
Item.knockBack = 8f;
|
||||
Item.value = Item.buyPrice(0, 48, 0, 0);
|
||||
Item.rare = ItemRarityID.LightPurple;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/Magnum");
|
||||
Item.UseSound = Magnum.FireSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shootSpeed = 12f;
|
||||
Item.shoot = ModContent.ProjectileType<MagnumRound>();
|
||||
|
||||
@@ -6,11 +6,14 @@ using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.Audio;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Typeless.FiniteUse
|
||||
{
|
||||
public class Magnum : ModItem
|
||||
{
|
||||
public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/Magnum");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Magnum");
|
||||
@@ -30,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Typeless.FiniteUse
|
||||
Item.knockBack = 8f;
|
||||
Item.value = Item.buyPrice(0, 2, 0, 0);
|
||||
Item.rare = ItemRarityID.Green;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/Magnum");
|
||||
Item.UseSound = FireSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shootSpeed = 12f;
|
||||
Item.shoot = ModContent.ProjectileType<MagnumRound>();
|
||||
|
||||
@@ -5,6 +5,7 @@ using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using CalamityMod.Sounds;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.Typeless
|
||||
{
|
||||
@@ -29,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Typeless
|
||||
Item.useTime = 15;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.knockBack = 4.5f;
|
||||
Item.UseSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Item/LaserCannon");
|
||||
Item.UseSound = CommonCalamitySounds.LaserCannonSound;
|
||||
Item.autoReuse = true;
|
||||
Item.noMelee = true;
|
||||
Item.height = 50;
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace CalamityMod.Items.Weapons.Typeless
|
||||
{
|
||||
public class YanmeisKnife : ModItem
|
||||
{
|
||||
public static readonly SoundStyle ExpireSound = new("Sounds/Custom/YanmeiKnifeExpire");
|
||||
public static readonly SoundStyle ExpireSound = new("CalamityMod/Sounds/Custom/YanmeiKnifeExpire");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
{
|
||||
public class DevilFish : ModNPC
|
||||
{
|
||||
public static readonly SoundStyle MaskBreakSound = new("Sounds/Item/DevilMaskBreak");
|
||||
public static readonly SoundStyle MaskBreakSound = new("CalamityMod/Sounds/Item/DevilMaskBreak");
|
||||
|
||||
public bool brokenMask = false;
|
||||
public int hitCounter = 0;
|
||||
|
||||
@@ -48,12 +48,12 @@ namespace CalamityMod.NPCs.Astral
|
||||
private byte swing_counter;
|
||||
private short swing_untilNext;
|
||||
|
||||
public static readonly SoundStyle HurtSound = new("Sounds/NPCHit/AtlasHurt", 3);
|
||||
public static readonly SoundStyle DeathSound = new("Sounds/NPCKilled/AtlasDeath") { Volume = 0.65f };
|
||||
public static readonly SoundStyle AggroSound = new("Sounds/Custom/AtlasSadAggro") { Volume = 0.5f };
|
||||
public static readonly SoundStyle UnaggroSound = new("Sounds/Custom/AtlasSadUnaggro") { Volume = 0.5f };
|
||||
public static readonly SoundStyle SwingSound = new("Sounds/Custom/AtlasSwing") { Volume = 0.65f };
|
||||
public static readonly SoundStyle IdleSound = new("Sounds/Custom/AtlasIdle", 2) { Volume = 0.6f };
|
||||
public static readonly SoundStyle HurtSound = new("CalamityMod/Sounds/NPCHit/AtlasHurt", 3);
|
||||
public static readonly SoundStyle DeathSound = new("CalamityMod/Sounds/NPCKilled/AtlasDeath") { Volume = 0.65f };
|
||||
public static readonly SoundStyle AggroSound = new("CalamityMod/Sounds/Custom/AtlasSadAggro") { Volume = 0.5f };
|
||||
public static readonly SoundStyle UnaggroSound = new("CalamityMod/Sounds/Custom/AtlasSadUnaggro") { Volume = 0.5f };
|
||||
public static readonly SoundStyle SwingSound = new("CalamityMod/Sounds/Custom/AtlasSwing") { Volume = 0.65f };
|
||||
public static readonly SoundStyle IdleSound = new("CalamityMod/Sounds/Custom/AtlasIdle", 2) { Volume = 0.6f };
|
||||
|
||||
private float idle_counter
|
||||
{
|
||||
|
||||
@@ -29,9 +29,9 @@ namespace CalamityMod.NPCs.AstrumDeus
|
||||
[AutoloadBossHead]
|
||||
public class AstrumDeusHeadSpectral : ModNPC
|
||||
{
|
||||
public static readonly SoundStyle SpawnSound = new("Sounds/Custom/AstrumDeusSpawn");
|
||||
public static readonly SoundStyle SplitSound = new("Sounds/Custom/AstrumDeusSplit");
|
||||
public static readonly SoundStyle DeathSound = new("Sounds/NPCKilled/AstrumDeusDeath");
|
||||
public static readonly SoundStyle SpawnSound = new("CalamityMod/Sounds/Custom/AstrumDeusSpawn");
|
||||
public static readonly SoundStyle SplitSound = new("CalamityMod/Sounds/Custom/AstrumDeusSplit");
|
||||
public static readonly SoundStyle DeathSound = new("CalamityMod/Sounds/NPCKilled/AstrumDeusDeath");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -138,8 +138,8 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
public int DestroyedSegmentCount;
|
||||
|
||||
//Sounds
|
||||
public static readonly SoundStyle SpawnSound = new("Sounds/Custom/DevourerSpawn");
|
||||
public static readonly SoundStyle AttackSound = new("Sounds/Custom/DevourerAttack");
|
||||
public static readonly SoundStyle SpawnSound = new("CalamityMod/Sounds/Custom/DevourerSpawn");
|
||||
public static readonly SoundStyle AttackSound = new("CalamityMod/Sounds/Custom/DevourerAttack");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -76,11 +76,11 @@ namespace CalamityMod.NPCs.Providence
|
||||
public int DeathAnimationTimer;
|
||||
|
||||
//Sounds
|
||||
public static readonly SoundStyle SpawnSound = new("Sounds/Custom/ProvidenceSpawn") { Volume = 1.2f };
|
||||
public static readonly SoundStyle HolyRaySound = new("Sounds/Custom/ProvidenceHolyRay") { Volume = 1.25f }; //note : Volume gets clamped between 0 and 1. I don't think this does anything, but it was in the original ModSound so im keeping it just in case
|
||||
public static readonly SoundStyle HurtSound = new("Sounds/NPCHit/ProvidenceHurt");
|
||||
public static readonly SoundStyle DeathSound = new("Sounds/NPCKilled/ProvidenceDeath");
|
||||
public static readonly SoundStyle DeathAnimationSound = new("Sounds/Custom/ProvidenceDeathAnimation");
|
||||
public static readonly SoundStyle SpawnSound = new("CalamityMod/Sounds/Custom/ProvidenceSpawn") { Volume = 1.2f };
|
||||
public static readonly SoundStyle HolyRaySound = new("CalamityMod/Sounds/Custom/ProvidenceHolyRay") { Volume = 1.25f }; //note : Volume gets clamped between 0 and 1. I don't think this does anything, but it was in the original ModSound so im keeping it just in case
|
||||
public static readonly SoundStyle HurtSound = new("CalamityMod/Sounds/NPCHit/ProvidenceHurt");
|
||||
public static readonly SoundStyle DeathSound = new("CalamityMod/Sounds/NPCKilled/ProvidenceDeath");
|
||||
public static readonly SoundStyle DeathAnimationSound = new("CalamityMod/Sounds/Custom/ProvidenceDeathAnimation");
|
||||
|
||||
public static float normalDR = 0.3f;
|
||||
public static float cocoonDR = 0.9f;
|
||||
|
||||
@@ -153,12 +153,12 @@ namespace CalamityMod.NPCs.SupremeCalamitas
|
||||
private const int brothersSpawnCastTime = 150;
|
||||
|
||||
//Sounds
|
||||
public static readonly SoundStyle SpawnSound = new("Sounds/Custom/SupremeCalamitasSpawn") { Volume = 1.2f };
|
||||
public static readonly SoundStyle SepulcherSummonSound = new("Sounds/Custom/SCalSounds/SepulcherSpawn");
|
||||
public static readonly SoundStyle BrimstoneShotSound = new("Sounds/Custom/SCalSounds/BrimstoneShoot");
|
||||
public static readonly SoundStyle BrimstoneBigShotSound = new("Sounds/Custom/SCalSounds/BrimstoneBigShoot"); //DON'T YOU WANNA BE A [BIG SHOT]
|
||||
public static readonly SoundStyle DashSound = new("Sounds/Custom/SCalSounds/SCalDash");
|
||||
public static readonly SoundStyle HellblastSound = new("Sounds/Custom/SCalSounds/BrimstoneHellblastSound");
|
||||
public static readonly SoundStyle SpawnSound = new("CalamityMod/Sounds/Custom/SupremeCalamitasSpawn") { Volume = 1.2f };
|
||||
public static readonly SoundStyle SepulcherSummonSound = new("CalamityMod/Sounds/Custom/SCalSounds/SepulcherSpawn");
|
||||
public static readonly SoundStyle BrimstoneShotSound = new("CalamityMod/Sounds/Custom/SCalSounds/BrimstoneShoot");
|
||||
public static readonly SoundStyle BrimstoneBigShotSound = new("CalamityMod/Sounds/Custom/SCalSounds/BrimstoneBigShoot"); //DON'T YOU WANNA BE A [BIG SHOT]
|
||||
public static readonly SoundStyle DashSound = new("CalamityMod/Sounds/Custom/SCalSounds/SCalDash");
|
||||
public static readonly SoundStyle HellblastSound = new("CalamityMod/Sounds/Custom/SCalSounds/BrimstoneHellblastSound");
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
{
|
||||
public class DeusRitualDrama : ModProjectile
|
||||
{
|
||||
public static readonly SoundStyle PulseSound = new("Sounds/Custom/AstralBeaconOrbPulse");
|
||||
public static readonly SoundStyle PulseSound = new("CalamityMod/Sounds/Custom/AstralBeaconOrbPulse");
|
||||
|
||||
public float Time
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
{
|
||||
public class HolyBlast : ModProjectile
|
||||
{
|
||||
public static readonly SoundStyle ImpactSound = new("Sounds/Custom/ProvidenceHolyBlastImpact");
|
||||
public static readonly SoundStyle ImpactSound = new("CalamityMod/Sounds/Custom/ProvidenceHolyBlastImpact");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Sounds
|
||||
|
||||
public static readonly SoundStyle WyrmScreamSound = new("CalamityMod/Sounds/Custom/WyrmScream");
|
||||
|
||||
public static readonly SoundStyle LightningSound = new("CalamityMod/Sounds/Custom/LightningStrike") { Volume = 1.5f };; //This is just the regular SoundID.Thunder sound, except its only the first variant
|
||||
public static readonly SoundStyle LightningSound = new("CalamityMod/Sounds/Custom/LightningStrike") { Volume = 1.5f }; //This is just the regular SoundID.Thunder sound, except its only the first variant
|
||||
|
||||
public static readonly SoundStyle LaserCannonSound = new("CalamityMod/Sounds/Item/LaserCannon") { Volume = 0.85f };
|
||||
|
||||
@@ -31,8 +31,12 @@ namespace CalamityMod.Sounds
|
||||
|
||||
public static readonly SoundStyle LargeWeaponFireSound = new("CalamityMod/Sounds/Item/LargeWeaponFire");
|
||||
|
||||
public static readonly SoundStyle GaussWeaponFire = new("CalamityMod/Sounds/Item/GaussWeaponFire");
|
||||
|
||||
public static readonly SoundStyle FlareSound = new("CalamityMod/Sounds/Item/FlareSound");
|
||||
|
||||
public static readonly SoundStyle PlasmaBoltSound = new("CalamityMod/Sounds/Item/PlasmaBolt") { Volume = 0.8f };
|
||||
|
||||
public static readonly SoundStyle PlasmaBlastSound = new("CalamityMod/Sounds/Item/PlasmaBlast");
|
||||
}
|
||||
}
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Tiles.Astral
|
||||
public const int Height = 4;
|
||||
public static readonly Color FailColor = new Color(237, 93, 83);
|
||||
|
||||
public static readonly SoundStyle UseSound = new("Sounds/Custom/AstralBeaconUse");
|
||||
public static readonly SoundStyle UseSound = new("CalamityMod/Sounds/Custom/AstralBeaconUse");
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ namespace CalamityMod.UI
|
||||
|
||||
public static Rectangle MouseScreenArea => Utils.CenteredRectangle(Main.MouseScreen, Vector2.One * 2f);
|
||||
|
||||
public static readonly SoundStyle SummonSound = new("Sounds/Custom/CodebreakerBeam");
|
||||
public static readonly SoundStyle SummonSound = new("CalamityMod/Sounds/Custom/CodebreakerBeam");
|
||||
|
||||
public static void Draw(SpriteBatch spriteBatch)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user