Skip to content

Commit

Permalink
Added voice-overs for the defendCorvette and defendFrigate missions.
Browse files Browse the repository at this point in the history
- stopping playback of the previous radio message when a mission radio message is played
- updated copyright years
  • Loading branch information
nkrisztian89 committed Jan 3, 2025
1 parent da2be55 commit b527918
Show file tree
Hide file tree
Showing 31 changed files with 83 additions and 9 deletions.
8 changes: 4 additions & 4 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Interstellar Armada: Galactic Ace license information
Copyright (C) 2014-2024 Krisztián Nagy
Copyright (C) 2014-2025 Krisztián Nagy

All files paths given here are relative to the root folder of the game.

Expand All @@ -18,15 +18,15 @@ The logo of the game features the Audiowide font, the information about which ca
The text of the Open Font License (the license of the above two fonts) is included at license/OFL.txt for convenience.
Some minor modifications to the Aldrich font were made by Krisztián Nagy, detailed in assets/fonts/FONTLOG.txt file.

The images, 3D models, textures and music files were all created by Krisztián Nagy (Copyright (C) 2014-2023) and are released under the
The images, 3D models, textures and music files were all created by Krisztián Nagy (Copyright (C) 2014-2024) and are released under the
CC BY 4.0 license found at license/CC-BY-4.0.txt or at https://creativecommons.org/licenses/by/4.0.

The sound effects were also created by Krisztián Nagy (Copyright (C) 2016-2023) and are released under the CC BY 4.0 and in some cases
The sound effects were also created by Krisztián Nagy (Copyright (C) 2016-2024) and are released under the CC BY 4.0 and in some cases
the CC BY-NC 4.0 licenses, but sound samples from 3rd parties were used in the process. The detailed license and attribution information
about these can be found at license/sfx-license.txt.

The voice-overs (all files in the assets/sfx/voice folder) were generated using ElevenLabs (https://elevenlabs.io/), some under the free
and some under a paid license by Krisztián Nagy and subsequently edited using Audacity (2023-2024). You may not use these files for any
and some under a paid license by Krisztián Nagy and subsequently edited using Audacity (2023-2025). You may not use these files for any
commercial purpose and must retain the attribution to ElevenLabs (in the form of having 11.ai in the filename and an accompanying license
note referencing ElevenLabs and their terms of service, such as this one) if you are to republish them (such as by forking the repository)
as well as comply with the terms of service and Prohibited Use Policy of ElevenLabs (https://elevenlabs.io/terms-of-use-eu), as if you have had
Expand Down
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.
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.
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.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--
Copyright (C) 2014-2024 Krisztián Nagy
Copyright (C) 2014-2025 Krisztián Nagy
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion src/config/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.5.5-dev:1250 (2024.12.31.)",
"version": "0.5.5-dev:1251 (2025.01.03.)",
"debugVersion": false,
"logVerbosity": 1,
"platform": "web",
Expand Down
2 changes: 1 addition & 1 deletion src/config/strings/strings-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@
"name": "Difendere la fregata",
"messages": {
"fighterWave1": "Combattenti nemici in arrivo! Alpha, abbattili! Stiamo procedendo verso la corvette nemica.",
"bomberWave1": "Sono intervenuti i bombardieri ostili! Copritemi, squadra Alpha!",
"bomberWave1": "Sono intervenuti i bombardieri ostili! Copriteci, squadra Alpha!",
"bomberWave2": "Un'altra ondata di bombardieri! Alpha, sai cosa fare!",
"allWavesClear": "Ottimo lavoro, squadra Alpha! Me ne sto occupando da qui. State lontani e guardate lo spettacolo!"
}
Expand Down
2 changes: 1 addition & 1 deletion src/config/strings/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@
"name": "Defend the frigate",
"messages": {
"fighterWave1": "Enemy fighters incoming! Alpha, take them out! We're proceeding towards the enemy corvette.",
"bomberWave1": "Hostile bombers jumped in! Cover me, Alpha squad!",
"bomberWave1": "Hostile bombers jumped in! Cover us, Alpha squad!",
"bomberWave2": "Another wave of bombers! Alpha, you know what to do!",
"allWavesClear": "Good job, Alpha squad! I'm taking care of it from here. Stand clear and watch the show!"
}
Expand Down
72 changes: 72 additions & 0 deletions src/data/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -2022,6 +2022,24 @@
}, {
"name": "wingman1_mission_destroyCorvette_hostileFightersArrived",
"samples": ["voice/wingman1/mission/destroyCorvette/hostileFightersArrived_11.ai.ogg"]
}, {
"name": "wingman1_mission_defendCorvette_bomberWave1",
"samples": ["voice/wingman1/mission/defendCorvette/bomberWave1_11.ai.ogg"]
}, {
"name": "wingman1_mission_defendCorvette_bomberWave2",
"samples": ["voice/wingman1/mission/defendCorvette/bomberWave2_11.ai.ogg"]
}, {
"name": "wingman1_mission_defendFrigate_fighterWave1",
"samples": ["voice/wingman1/mission/defendFrigate/fighterWave1_11.ai.ogg"]
}, {
"name": "wingman1_mission_defendFrigate_bomberWave1",
"samples": ["voice/wingman1/mission/defendFrigate/bomberWave1_11.ai.ogg"]
}, {
"name": "wingman1_mission_defendFrigate_bomberWave2",
"samples": ["voice/wingman1/mission/defendFrigate/bomberWave2_11.ai.ogg"]
}, {
"name": "wingman1_mission_defendFrigate_allWavesClear",
"samples": ["voice/wingman1/mission/defendFrigate/allWavesClear_11.ai.ogg"]
}, {
"name": "wingman1_mission_siege_start",
"samples": ["voice/wingman1/mission/siege/start_11.ai.ogg"]
Expand Down Expand Up @@ -2109,6 +2127,24 @@
}, {
"name": "wingman2_mission_destroyCorvette_hostileFightersArrived",
"samples": ["voice/wingman2/mission/destroyCorvette/hostileFightersArrived_11.ai.ogg"]
}, {
"name": "wingman2_mission_defendCorvette_bomberWave1",
"samples": ["voice/wingman2/mission/defendCorvette/bomberWave1_11.ai.ogg"]
}, {
"name": "wingman2_mission_defendCorvette_bomberWave2",
"samples": ["voice/wingman2/mission/defendCorvette/bomberWave2_11.ai.ogg"]
}, {
"name": "wingman2_mission_defendFrigate_fighterWave1",
"samples": ["voice/wingman2/mission/defendFrigate/fighterWave1_11.ai.ogg"]
}, {
"name": "wingman2_mission_defendFrigate_bomberWave1",
"samples": ["voice/wingman2/mission/defendFrigate/bomberWave1_11.ai.ogg"]
}, {
"name": "wingman2_mission_defendFrigate_bomberWave2",
"samples": ["voice/wingman2/mission/defendFrigate/bomberWave2_11.ai.ogg"]
}, {
"name": "wingman2_mission_defendFrigate_allWavesClear",
"samples": ["voice/wingman2/mission/defendFrigate/allWavesClear_11.ai.ogg"]
}, {
"name": "wingman2_mission_siege_start",
"samples": ["voice/wingman2/mission/siege/start_11.ai.ogg"]
Expand Down Expand Up @@ -2196,6 +2232,24 @@
}, {
"name": "wingman3_mission_destroyCorvette_hostileFightersArrived",
"samples": ["voice/wingman3/mission/destroyCorvette/hostileFightersArrived_11.ai.ogg"]
}, {
"name": "wingman3_mission_defendCorvette_bomberWave1",
"samples": ["voice/wingman3/mission/defendCorvette/bomberWave1_11.ai.ogg"]
}, {
"name": "wingman3_mission_defendCorvette_bomberWave2",
"samples": ["voice/wingman3/mission/defendCorvette/bomberWave2_11.ai.ogg"]
}, {
"name": "wingman3_mission_defendFrigate_fighterWave1",
"samples": ["voice/wingman3/mission/defendFrigate/fighterWave1_11.ai.ogg"]
}, {
"name": "wingman3_mission_defendFrigate_bomberWave1",
"samples": ["voice/wingman3/mission/defendFrigate/bomberWave1_11.ai.ogg"]
}, {
"name": "wingman3_mission_defendFrigate_bomberWave2",
"samples": ["voice/wingman3/mission/defendFrigate/bomberWave2_11.ai.ogg"]
}, {
"name": "wingman3_mission_defendFrigate_allWavesClear",
"samples": ["voice/wingman3/mission/defendFrigate/allWavesClear_11.ai.ogg"]
}, {
"name": "wingman3_mission_siege_start",
"samples": ["voice/wingman3/mission/siege/start_11.ai.ogg"]
Expand Down Expand Up @@ -2283,6 +2337,24 @@
}, {
"name": "wingman4_mission_destroyCorvette_hostileFightersArrived",
"samples": ["voice/wingman4/mission/destroyCorvette/hostileFightersArrived_11.ai.ogg"]
}, {
"name": "wingman4_mission_defendCorvette_bomberWave1",
"samples": ["voice/wingman4/mission/defendCorvette/bomberWave1_11.ai.ogg"]
}, {
"name": "wingman4_mission_defendCorvette_bomberWave2",
"samples": ["voice/wingman4/mission/defendCorvette/bomberWave2_11.ai.ogg"]
}, {
"name": "wingman4_mission_defendFrigate_fighterWave1",
"samples": ["voice/wingman4/mission/defendFrigate/fighterWave1_11.ai.ogg"]
}, {
"name": "wingman4_mission_defendFrigate_bomberWave1",
"samples": ["voice/wingman4/mission/defendFrigate/bomberWave1_11.ai.ogg"]
}, {
"name": "wingman4_mission_defendFrigate_bomberWave2",
"samples": ["voice/wingman4/mission/defendFrigate/bomberWave2_11.ai.ogg"]
}, {
"name": "wingman4_mission_defendFrigate_allWavesClear",
"samples": ["voice/wingman4/mission/defendFrigate/allWavesClear_11.ai.ogg"]
}, {
"name": "wingman4_mission_siege_start",
"samples": ["voice/wingman4/mission/siege/start_11.ai.ogg"]
Expand Down
4 changes: 3 additions & 1 deletion src/js/armada/screens/battle.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2014-2024 Krisztián Nagy
* Copyright 2014-2025 Krisztián Nagy
* @file This module manages and provides the Battle screen of the Interstellar Armada game.
* @author Krisztián Nagy [[email protected]]
* @licence GNU GPLv3 <http://www.gnu.org/licenses/>
Expand Down Expand Up @@ -3940,12 +3940,14 @@ define([
// playing the voice-over for this message if it exists
if (_playMissionRadioMessages) {
if (_missionVoiceSounds[messageQueue[0].id]) {
audio.stopLastClips();
_missionVoiceSounds[messageQueue[0].id].play(resources.SoundCategory.VOICE, undefined, undefined, undefined, true);
_playingMissionVoiceSound = true;
messageQueue[0].silent = true;
} else if (messageQueue[0].source) {
j = ai.getVoiceOfSpacecraft(messageQueue[0].source);
if ((j >= 0) && _missionPilotVoiceSounds[j][messageQueue[0].id]) {
audio.stopLastClips();
_missionPilotVoiceSounds[j][messageQueue[0].id].play(resources.SoundCategory.VOICE, undefined, undefined, undefined, true);
_playingMissionVoiceSound = true;
messageQueue[0].silent = true;
Expand Down

0 comments on commit b527918

Please sign in to comment.