--=======================================================================================================================
-- AUDIO
--=======================================================================================================================
-- Audio_Sounds
------------------------------------------------------------------------------------------------------------------------
INSERT INTO Audio_Sounds
(SoundID, Filename, LoadType)
VALUES ('SND_LEADER_MUSIC_JAR_ITALY_PEACE', 'JarItalyPeace', 'DynamicResident'),
('SND_LEADER_MUSIC_JAR_ITALY_WAR', 'JarItalyWar', 'DynamicResident'),
('SND_AMBIENCE_BIRDS', 'BirdsAmbience', 'DynamicResident');
------------------------------------------------------------------------------------------------------------------------
-- Audio_2DSounds
------------------------------------------------------------------------------------------------------------------------
INSERT INTO Audio_2DSounds
(ScriptID, SoundID, SoundType, TaperSoundtrackVolume, MinVolume, MaxVolume, IsMusic, Looping)
VALUES ('AS2D_AMBIENCE_LEADER_JAR_UMBERTO_I_AMBIENCE', 'SND_AMBIENCE_BIRDS', 'GAME_SFX', 0.0, 30, 30, 0, 1),
('AS2D_LEADER_MUSIC_JAR_ITALY_PEACE', 'SND_LEADER_MUSIC_JAR_ITALY_PEACE', 'GAME_MUSIC', -1.0, 60, 60, 1, 0),
('AS2D_LEADER_MUSIC_JAR_ITALY_WAR', 'SND_LEADER_MUSIC_JAR_ITALY_WAR', 'GAME_MUSIC', -1.0, 90, 90, 1, 0);
--=======================================================================================================================
-- AUDIO
--=======================================================================================================================
-- Audio_Sounds
------------------------------------------------------------------------------------------------------------------------
INSERT INTO Audio_Sounds
(SoundID, Filename, LoadType)
VALUES ('SND_LEADER_MUSIC_JAR_UMBERTO_I_PEACE', 'JarItalyPeace', 'DynamicResident'),
('SND_LEADER_MUSIC_JAR_UMBERTO_I_WAR', 'JarItalyWar', 'DynamicResident'),
('SND_AMBIENCE_BIRDS', 'BirdsAmbience', 'DynamicResident');
------------------------------------------------------------------------------------------------------------------------
-- Audio_2DSounds
------------------------------------------------------------------------------------------------------------------------
INSERT INTO Audio_2DSounds
(ScriptID, SoundID, SoundType, TaperSoundtrackVolume, MinVolume, MaxVolume, IsMusic, Looping)
VALUES ('AS2D_AMBIENCE_LEADER_JAR_UMBERTO_I_AMBIENCE', 'SND_AMBIENCE_BIRDS', 'GAME_SFX', 0.0, 30, 30, 0, 1),
('AS2D_LEADER_MUSIC_JAR_UMBERTO_I_PEACE', 'SND_LEADER_MUSIC_JAR_UMBERTO_I_PEACE', 'GAME_MUSIC', -1.0, 60, 60, 1, 0),
('AS2D_LEADER_MUSIC_JAR_UMBERTO_I_WAR', 'SND_LEADER_MUSIC_JAR_UMBERTO_I_WAR', 'GAME_MUSIC', -1.0, 90, 90, 1, 0);
With pleasure, it had already happened to me but the time for the neurons to connect, it took me a long time to remember why.Thank you @gwennog for the fix. Honestly I had no idea how to solve it.
OK, I will be careful when I will play against Italy.Birds ambience is only when you interact with the leader scene of AI Italy.
if pPlot and pPlot:IsUnit() and pPlot:IsWater() then
Argh! I hate when I make those silly code mistakes because then I totally lose track of them.Hi Jarcast,
I continue my game with Italy, I like it a lot even if my game will probably end in failure, I have a German on another continent in full snowball, no chance of catching up with him on tourism vs culture (not to mention his advance in science and diplomacy...). For the anecdote, I made an alliance from the beginning with the France of Philippe Auguste, we are on the same wavelength, tradition/Artistry/Rationalism and without the German, I think we would have our chances.
But I am also writing to report a small problem in the Viva V.E.R.D.I promotion.
You wrote on line 296 :
Which of course prevents you from winning points unless the killed unit is in the water. In my opinion, it's just an unfortunate copy/paste. By removing the and pPlot:IsWater() it works very well.Code:if pPlot and pPlot:IsUnit() and pPlot:IsWater() then
It might also be necessary to specify that the bonus is for the capital in the descriptive text.
My pleasure,Argh! I hate when I make those silly code mistakes because then I totally lose track of them.
Thank you a ton for reporting.