Add sound effects for Witch auto attack, Curse of Pain, Throw Poison, and Curse of Death abilities. Release Build 10390.
This commit is contained in:
parent
864b491c46
commit
19f3483b44
@ -1174,6 +1174,7 @@
|
|||||||
<Text Include="Chapter_3_Monsters.txt" />
|
<Text Include="Chapter_3_Monsters.txt" />
|
||||||
<Text Include="characters.txt" />
|
<Text Include="characters.txt" />
|
||||||
<Text Include="Crawler_2_Bonus_Boss.txt" />
|
<Text Include="Crawler_2_Bonus_Boss.txt" />
|
||||||
|
<Text Include="Crawler_Artificer.txt" />
|
||||||
<Text Include="Crawler_System_Overview.txt" />
|
<Text Include="Crawler_System_Overview.txt" />
|
||||||
<Text Include="Crawler_Trapper_Witch_thief.txt" />
|
<Text Include="Crawler_Trapper_Witch_thief.txt" />
|
||||||
<Text Include="debug.log" />
|
<Text Include="debug.log" />
|
||||||
|
|||||||
@ -1334,6 +1334,9 @@
|
|||||||
<Text Include="Crawler_Trapper_Witch_thief.txt">
|
<Text Include="Crawler_Trapper_Witch_thief.txt">
|
||||||
<Filter>Documentation</Filter>
|
<Filter>Documentation</Filter>
|
||||||
</Text>
|
</Text>
|
||||||
|
<Text Include="Crawler_Artificer.txt">
|
||||||
|
<Filter>Documentation\Mechanics</Filter>
|
||||||
|
</Text>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Image Include="assets\heart.ico">
|
<Image Include="assets\heart.ico">
|
||||||
|
|||||||
26
Adventures in Lestoria/Crawler_Artificer.txt
Normal file
26
Adventures in Lestoria/Crawler_Artificer.txt
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
Artificer
|
||||||
|
|
||||||
|
- Unlocks after Chapter 2 - Bonus Boss
|
||||||
|
- Unlocks an additional feature after Chapter 3 - Bonus Boss
|
||||||
|
- Is available in the hub area
|
||||||
|
|
||||||
|
Artificer has 4 Dialog Options
|
||||||
|
- Repair/Enhance (Name may change in the future)
|
||||||
|
- Disassemble
|
||||||
|
- Enchant (Requieres Chapter 3 - Bonus boss)
|
||||||
|
- Leave
|
||||||
|
|
||||||
|
Enhancing Gear
|
||||||
|
- increases the stats of an item.
|
||||||
|
- Increases a random stat by a random amount that did not reach its cap. (cant go higher then 20% of its current amount in on Enhance attempt and cant go higher then the max stat value of the item)
|
||||||
|
- Costs 1 piece of the Ring you want to enhance + 20g
|
||||||
|
|
||||||
|
Disassemble
|
||||||
|
- Destroys a ring to get 1 piece of the ring
|
||||||
|
- doesnt cost anything but destroys the item
|
||||||
|
- pieces have the same vendor value a ring itself has.
|
||||||
|
|
||||||
|
Enchant
|
||||||
|
- Gives a ring 1 additional Bonus (there will be 3 different type of bonuses: Base attributes, Class specifics spell modifiers, Unique effects)
|
||||||
|
- If a ring is already enchanted you override its current enchant. (Maybe give an "Keep old enchant" option?)
|
||||||
|
- Requieres 3 Pieces + 35g
|
||||||
@ -40,6 +40,7 @@ All rights reserved.
|
|||||||
#include "AdventuresInLestoria.h"
|
#include "AdventuresInLestoria.h"
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
#include "SoundEffect.h"
|
||||||
|
|
||||||
INCLUDE_game
|
INCLUDE_game
|
||||||
|
|
||||||
@ -55,6 +56,8 @@ void PoisonBottle::Update(float fElapsedTime){
|
|||||||
const bool Landed{fallingTime<=0.f};
|
const bool Landed{fallingTime<=0.f};
|
||||||
if(Landed){
|
if(Landed){
|
||||||
z=0.f;
|
z=0.f;
|
||||||
|
SoundEffect::PlaySFX("Glass Break",pos);
|
||||||
|
SoundEffect::PlaySFX("Poison Pool",pos);
|
||||||
const float poisonCircleScale{"Witch.Ability 2.Casting Size"_F/100.f};
|
const float poisonCircleScale{"Witch.Ability 2.Casting Size"_F/100.f};
|
||||||
game->AddEffect(std::make_unique<Effect>(pos,0.f,"poison_pool.png",game->GetPlayer()->OnUpperLevel(),0.5f,1.2f,vf2d{poisonCircleScale,poisonCircleScale},vf2d{},WHITE,0.f,0.f,false),true);
|
game->AddEffect(std::make_unique<Effect>(pos,0.f,"poison_pool.png",game->GetPlayer()->OnUpperLevel(),0.5f,1.2f,vf2d{poisonCircleScale,poisonCircleScale},vf2d{},WHITE,0.f,0.f,false),true);
|
||||||
for(int i:std::ranges::iota_view(0,200)){
|
for(int i:std::ranges::iota_view(0,200)){
|
||||||
|
|||||||
@ -39,7 +39,7 @@ All rights reserved.
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 2
|
#define VERSION_MINOR 2
|
||||||
#define VERSION_PATCH 3
|
#define VERSION_PATCH 3
|
||||||
#define VERSION_BUILD 10389
|
#define VERSION_BUILD 10390
|
||||||
|
|
||||||
#define stringify(a) stringify_(a)
|
#define stringify(a) stringify_(a)
|
||||||
#define stringify_(a) #a
|
#define stringify_(a) #a
|
||||||
|
|||||||
@ -107,7 +107,7 @@ bool Witch::AutoAttack(){
|
|||||||
float angleToCursor=atan2(GetWorldAimingLocation().y-GetPos().y,GetWorldAimingLocation().x-GetPos().x);
|
float angleToCursor=atan2(GetWorldAimingLocation().y-GetPos().y,GetWorldAimingLocation().x-GetPos().x);
|
||||||
CreateBullet(PurpleEnergyBall)(GetPos(),"Witch.Auto Attack.Radius"_F/100*12,"Witch.Auto Attack.Homing Range"_F/100*24,int(GetAttack()*"Witch.Auto Attack.DamageMult"_F),upperLevel,{cos(angleToCursor)*"Witch.Auto Attack.Speed"_F,sin(angleToCursor)*"Witch.Auto Attack.Speed"_F},false,INFINITE,true)EndBullet;
|
CreateBullet(PurpleEnergyBall)(GetPos(),"Witch.Auto Attack.Radius"_F/100*12,"Witch.Auto Attack.Homing Range"_F/100*24,int(GetAttack()*"Witch.Auto Attack.DamageMult"_F),upperLevel,{cos(angleToCursor)*"Witch.Auto Attack.Speed"_F,sin(angleToCursor)*"Witch.Auto Attack.Speed"_F},false,INFINITE,true)EndBullet;
|
||||||
BULLET_LIST.back()->SetIsPlayerAutoAttackProjectile();
|
BULLET_LIST.back()->SetIsPlayerAutoAttackProjectile();
|
||||||
SoundEffect::PlaySFX("Wizard Auto Attack",SoundEffect::CENTERED);
|
SoundEffect::PlaySFX("Witch Attack",SoundEffect::CENTERED);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
void Witch::InitializeClassAbilities(){
|
void Witch::InitializeClassAbilities(){
|
||||||
@ -150,6 +150,7 @@ void Witch::InitializeClassAbilities(){
|
|||||||
float effectSize{util::random(0.2f)};
|
float effectSize{util::random(0.2f)};
|
||||||
game->AddEffect(std::make_unique<Effect>(geom2d::line<float>(p->GetPos(),targetPos).rpoint(drawDist),0.f,"mark_trail.png",p->OnUpperLevel(),fadeInTime,fadeOutTime,vf2d{effectSize,effectSize},vf2d{},Pixel{100,0,155,uint8_t(util::random_range(0,120))},0.f,0.f),true);
|
game->AddEffect(std::make_unique<Effect>(geom2d::line<float>(p->GetPos(),targetPos).rpoint(drawDist),0.f,"mark_trail.png",p->OnUpperLevel(),fadeInTime,fadeOutTime,vf2d{effectSize,effectSize},vf2d{},Pixel{100,0,155,uint8_t(util::random_range(0,120))},0.f,0.f),true);
|
||||||
}
|
}
|
||||||
|
SoundEffect::PlaySFX("Curse of Pain",curseTarget.value().lock()->GetPos());
|
||||||
return true;
|
return true;
|
||||||
}else return false;
|
}else return false;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -80,6 +80,18 @@ Events
|
|||||||
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
||||||
File[0] = item_craft.ogg, 70%
|
File[0] = item_craft.ogg, 70%
|
||||||
}
|
}
|
||||||
|
Curse of Death
|
||||||
|
{
|
||||||
|
CombatSound = True
|
||||||
|
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
||||||
|
File[0] = curse_of_death.ogg, 80%
|
||||||
|
}
|
||||||
|
Curse of Pain
|
||||||
|
{
|
||||||
|
CombatSound = True
|
||||||
|
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
||||||
|
File[0] = curse.ogg, 80%
|
||||||
|
}
|
||||||
Craft Equip
|
Craft Equip
|
||||||
{
|
{
|
||||||
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
||||||
@ -134,6 +146,12 @@ Events
|
|||||||
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
||||||
File[0] = footsteps_wet.ogg, 100%
|
File[0] = footsteps_wet.ogg, 100%
|
||||||
}
|
}
|
||||||
|
Glass Break
|
||||||
|
{
|
||||||
|
CombatSound = True
|
||||||
|
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
||||||
|
File[0] = glass_break.ogg, 100%
|
||||||
|
}
|
||||||
Health Warning
|
Health Warning
|
||||||
{
|
{
|
||||||
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
||||||
@ -240,6 +258,12 @@ Events
|
|||||||
File[0] = player_hit1.ogg, 40%
|
File[0] = player_hit1.ogg, 40%
|
||||||
File[1] = player_hit2.ogg, 100%
|
File[1] = player_hit2.ogg, 100%
|
||||||
}
|
}
|
||||||
|
Poison Pool
|
||||||
|
{
|
||||||
|
CombatSound = True
|
||||||
|
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
||||||
|
File[0] = poison_pool.ogg, 80%
|
||||||
|
}
|
||||||
Ranger Auto Attack
|
Ranger Auto Attack
|
||||||
{
|
{
|
||||||
CombatSound = True
|
CombatSound = True
|
||||||
@ -422,6 +446,12 @@ Events
|
|||||||
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
||||||
File[0] = warrior_sonicslash.ogg, 70%
|
File[0] = warrior_sonicslash.ogg, 70%
|
||||||
}
|
}
|
||||||
|
Witch Attack
|
||||||
|
{
|
||||||
|
CombatSound = True
|
||||||
|
# Specify file names, followed by volume %. Optional min and max pitch adjustment (Defaults are 90%,110%)
|
||||||
|
File[0] = witch_attack.ogg, 50%
|
||||||
|
}
|
||||||
Wing Flap
|
Wing Flap
|
||||||
{
|
{
|
||||||
CombatSound = True
|
CombatSound = True
|
||||||
|
|||||||
@ -86,8 +86,8 @@ Witch
|
|||||||
Short Name = POISON
|
Short Name = POISON
|
||||||
Description = Throw a poison bottle at target location. All targets caught in the range take poison damage over time.
|
Description = Throw a poison bottle at target location. All targets caught in the range take poison damage over time.
|
||||||
Icon = throw_poison.png
|
Icon = throw_poison.png
|
||||||
Cooldown = 1
|
Cooldown = 16
|
||||||
Mana Cost = 0
|
Mana Cost = 40
|
||||||
# Whether or not this ability cancels casts.
|
# Whether or not this ability cancels casts.
|
||||||
CancelCast = 0
|
CancelCast = 0
|
||||||
|
|
||||||
|
|||||||
BIN
Adventures in Lestoria/assets/sounds/curse.ogg
Normal file
BIN
Adventures in Lestoria/assets/sounds/curse.ogg
Normal file
Binary file not shown.
BIN
Adventures in Lestoria/assets/sounds/curse_of_death.ogg
Normal file
BIN
Adventures in Lestoria/assets/sounds/curse_of_death.ogg
Normal file
Binary file not shown.
BIN
Adventures in Lestoria/assets/sounds/glass_break.ogg
Normal file
BIN
Adventures in Lestoria/assets/sounds/glass_break.ogg
Normal file
Binary file not shown.
BIN
Adventures in Lestoria/assets/sounds/poison_pool.ogg
Normal file
BIN
Adventures in Lestoria/assets/sounds/poison_pool.ogg
Normal file
Binary file not shown.
BIN
Adventures in Lestoria/assets/sounds/witch_attack.ogg
Normal file
BIN
Adventures in Lestoria/assets/sounds/witch_attack.ogg
Normal file
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user