summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-08-16 09:37:06 -0300
committerJesusaves <cpntb1@ymail.com>2021-08-16 09:37:06 -0300
commite4196a25099b8d033ad3c0b12dba478886d512cc (patch)
treee7364f67437fee9ce3506a73ab9450bc7fdddee8
parent11428aa3cd358e1d2d66cda19bb4feb6a4afc9ce (diff)
downloadclient-e4196a25099b8d033ad3c0b12dba478886d512cc.tar.gz
client-e4196a25099b8d033ad3c0b12dba478886d512cc.tar.bz2
client-e4196a25099b8d033ad3c0b12dba478886d512cc.tar.xz
client-e4196a25099b8d033ad3c0b12dba478886d512cc.zip
Add battle SFX as MineGamerBR asked.
(requires updated server to work properly)
-rw-r--r--game/ATTRIBUTION15
-rw-r--r--game/battle.rpy11
-rw-r--r--game/sfx/w/1-1.oggbin0 -> 12877 bytes
-rw-r--r--game/sfx/w/2-1.oggbin0 -> 10989 bytes
-rw-r--r--game/sfx/w/2-2.oggbin0 -> 28060 bytes
-rw-r--r--game/sfx/w/3-1.oggbin0 -> 18783 bytes
-rw-r--r--game/sfx/w/4-1.oggbin0 -> 15216 bytes
-rw-r--r--game/sfx/w/4-2.oggbin0 -> 11466 bytes
-rw-r--r--game/sfx/w/5-1.oggbin0 -> 20271 bytes
9 files changed, 25 insertions, 1 deletions
diff --git a/game/ATTRIBUTION b/game/ATTRIBUTION
index 00be654..2895b76 100644
--- a/game/ATTRIBUTION
+++ b/game/ATTRIBUTION
@@ -171,6 +171,14 @@ Where relevant, you must also include a link to https://tmw2.org in your credit.
sfx/prologue.mp3 (Arnaud Condé) (CC BY-SA 3.0) ("Love Theme"/Jamendo)
sfx/regnum.mp3 (Arnaud Condé) (CC BY-SA 3.0) ("Posthumus Regnum"/Jamendo)
sfx/shining.mp3 (Soft and Furious) (CC0) (You Are Shining/FMA)
+## SFX/W
+ sfx/w/1-1.ogg (Swoosh - Heavy) (CC0) (bolkmar/FSFX/Edited)
+ sfx/w/2-1.ogg (Hilt clang!) (CC0) (ethanchase7744/FSFX/Edited)
+ sfx/w/2-2.ogg (Samurai Sword) (CC0) (ethanchase7744/FSFX/Edited)
+ sfx/w/3-1.ogg (Short Explosion) (CC0) (animationIsaac/FSFX/Edited)
+ sfx/w/4-1.ogg (Arrow strike) (CC0) (plantmonkey/FSFX/Edited)
+ sfx/w/4-2.ogg (ARROW SHOOT SINGLE 2) (CC0) (JoeDinesSound/FSFX/Edited)
+ sfx/w/5-1.ogg (Gun shot) (CC0) (schots/FSFX/Edited)
----
*: Special licenses transcription :*
@@ -184,10 +192,15 @@ Basically, do whatever you want with it. Credit unnecessary but appreciated.
.:: JS-JP ::.
These art assets belong to Brilliant Service Co., Ltd. from Jewel Savior.
-Due to usage restrictions and the revocable nature, these assets must be removed
+Due to usage restrictions and the revocable nature, these assets should be removed
from the game before release.
See also: http://www.jewel-s.jp/
.:: Other Notes ::.
FMA = Free Music Archive
OGA = Open Game Art
+FSFX = Free Sound
+
+SFX Effects were normalized at -6.0dB.
+All images, sfx and music should be assumed to have been resized/cropped, even if
+not mentioned.
diff --git a/game/battle.rpy b/game/battle.rpy
index aab77a9..4be9dd5 100644
--- a/game/battle.rpy
+++ b/game/battle.rpy
@@ -29,6 +29,17 @@ init python:
def bt_handlelog(entry):
if entry[2] in [SPH_NONE, SPH_PIERCE, SPH_ASSAULT, SPH_HEAL]:
+ ## Play audio (WIP)
+ ## FIXME: Play -2 versions as well, randomly
+ try:
+ audi="sfx/w/%d-1.ogg" % Battle[entry[0]][entry[1]]["job"]
+ except:
+ audi="invalid job on source"
+ if renpy.loadable(audi):
+ renpy.play(audi)
+ else:
+ print("WARNING: Audio file \"%s\" does not exist" % audi)
+ ## Animate
hit_someone_verbose(Battle[entry[4]][entry[5]],
entry[3])
sdelay(0.1)
diff --git a/game/sfx/w/1-1.ogg b/game/sfx/w/1-1.ogg
new file mode 100644
index 0000000..334f4e9
--- /dev/null
+++ b/game/sfx/w/1-1.ogg
Binary files differ
diff --git a/game/sfx/w/2-1.ogg b/game/sfx/w/2-1.ogg
new file mode 100644
index 0000000..84a461b
--- /dev/null
+++ b/game/sfx/w/2-1.ogg
Binary files differ
diff --git a/game/sfx/w/2-2.ogg b/game/sfx/w/2-2.ogg
new file mode 100644
index 0000000..90f39a3
--- /dev/null
+++ b/game/sfx/w/2-2.ogg
Binary files differ
diff --git a/game/sfx/w/3-1.ogg b/game/sfx/w/3-1.ogg
new file mode 100644
index 0000000..6553a2f
--- /dev/null
+++ b/game/sfx/w/3-1.ogg
Binary files differ
diff --git a/game/sfx/w/4-1.ogg b/game/sfx/w/4-1.ogg
new file mode 100644
index 0000000..b6aacd1
--- /dev/null
+++ b/game/sfx/w/4-1.ogg
Binary files differ
diff --git a/game/sfx/w/4-2.ogg b/game/sfx/w/4-2.ogg
new file mode 100644
index 0000000..a4bc83d
--- /dev/null
+++ b/game/sfx/w/4-2.ogg
Binary files differ
diff --git a/game/sfx/w/5-1.ogg b/game/sfx/w/5-1.ogg
new file mode 100644
index 0000000..a3d8e5e
--- /dev/null
+++ b/game/sfx/w/5-1.ogg
Binary files differ