Voice Lines Weirdness |
Voice Lines Weirdness |
29 Mar 2017, 0:29
Post
#1
|
|
Group: Members Posts: 53 Joined: 17 July 2015 Member No.: 11785 |
I've been trying to implement R A 3 voice lines in a generals unit, and have succeeded in adding the move and select lines. For some reason though, the attack lines won't work, Do those files need to be saved in another directory then Data/Audio/Sounds/English? The Voice files themselves are technically nearly identical, and i've tried playing some of the working quotes in the attack event without succes.
Here's my code in Voice.ini: CODE AudioEvent GBAVoiceSelect ;SUFlakt_VoiSel Sounds = SUFlakt_VoiSelb SUFlakt_VoiSelc SUFlakt_VoiSeld SUFlakt_VoiSelg SUFlakt_VoiSelh Control = random Volume = 90 Type = ui voice player End AudioEvent GBAVoiceMove ;SUFlakt_VoiMov Sounds = SUFlakt_VoiMova SUFlakt_VoiMovb SUFlakt_VoiMovc SUFlakt_VoiMovd SUFlakt_VoiMove SUFlakt_VoiMovf SUFlakt_VoiMovg Control = random Volume = 90 Type = ui voice player End AudioEvent GBAVoiceAttack ;SUFlakt_VoiAtk + SUFlakt_VoiAtkAir + SUFlakt_VoiAtkSpc Sounds = SUFlakt_VoiAtkAira SUFlakt_VoiAtkAirb SUFlakt_VoiAtkAirc SUFlakt_VoiAtkAire SUFlakt_VoiAtkb SUFlakt_VoiAtkc SUFlakt_VoiAtkd SUFlakt_VoiAtke SUFlakt_VoiAtkf SUFlakt_VoiAtkSpca SUFlakt_VoiAtkSpcc SUFlakt_VoiAtkSpcd SUFlakt_VoiAtkSpce SUFlakt_VoiAtkSpcf ;SUFlakt_VoiAtkSpca maybe unneccesary Control = random Volume = 90 Type = ui voice player End AudioEvent GBAVoiceCreate ;SUFlakt_VoiSel Sounds = SUFlakt_VoiSele Control = random Volume = 110 MinVolume = 100 Priority = high Type = world global player End |
|
|
29 Mar 2017, 4:35
Post
#2
|
|
The X General Group: Project Leader Posts: 2166 Joined: 7 June 2009 From: Philippines Member No.: 73 Uniqueness is Overrated |
It could just be that your attack lines codes are messy and the game is having a hard time reading it.
Also, check that the sound files are not in stereo, but in 16bit mono -------------------- |
|
|
29 Mar 2017, 20:50
Post
#3
|
|
Group: Members Posts: 53 Joined: 17 July 2015 Member No.: 11785 |
They're all 32 mono.
Which is weird if that's the problem since the lines that work are 32 mono too. EDIT: i specifically exported one as 16 bit and that didn't do it either. Here's the rest of the code and i'll try to add some of the files. Inside the Unit object: CODE ; *** AUDIO Parameters *** VoiceSelect = GBAVoiceSelect VoiceMove = GBAVoiceMove VoiceGuard = GBAVoiceMove VoiceAttack = GBAVoiceAttack SoundMoveStart = ScudLauncherMoveStart SoundMoveStartDamaged = ScudLauncherMoveStart UnitSpecificSounds ; These have the syntax of SomeNameSomewhereInCode = SomeNameSomewhereInLookupINIs VoiceCreate = GBAVoiceCreate TurretMoveStart = NoSound TurretMoveLoop = TurretMoveLoop VoiceCrush = ScudLauncherVoiceCrush VoiceEnter = GBAVoiceMove End Inside Voice.Ini: CODE AudioEvent GBAVoiceSelect ;SUFlakt_VoiSel Sounds = SUFlakt_VoiSelb SUFlakt_VoiSelc SUFlakt_VoiSeld SUFlakt_VoiSelg SUFlakt_VoiSelh Control = random Volume = 90 Type = ui voice player End AudioEvent GBAVoiceMove ;SUFlakt_VoiMov Sounds = SUFlakt_VoiMova SUFlakt_VoiMovb SUFlakt_VoiMovc SUFlakt_VoiMovd SUFlakt_VoiMove SUFlakt_VoiMovf SUFlakt_VoiMovg Control = random Volume = 90 Type = ui voice player End AudioEvent GBAVoiceAttack ;SUFlakt_VoiAtk + SUFlakt_VoiAtkAir + SUFlakt_VoiAtkSpc Sounds = GBAA1 SUFlakt_VoiAtkAira SUFlakt_VoiAtkAirb SUFlakt_VoiAtkAirc SUFlakt_VoiAtkAire SUFlakt_VoiAtkb SUFlakt_VoiAtkc SUFlakt_VoiAtkd SUFlakt_VoiAtke SUFlakt_VoiAtkf SUFlakt_VoiAtkSpca SUFlakt_VoiAtkSpcc SUFlakt_VoiAtkSpcd SUFlakt_VoiAtkSpce SUFlakt_VoiAtkSpcf ;SUFlakt_VoiAtkSpca maybe unneccesary Control = random Volume = 90 Type = ui voice player End AudioEvent GBAVoiceCreate ;SUFlakt_VoiSel Sounds = SUFlakt_VoiSele Control = random Volume = 110 MinVolume = 100 Priority = high Type = world global player End This post has been edited by GearsGoAwryMan: 29 Mar 2017, 21:04 |
|
|
29 Mar 2017, 21:15
Post
#4
|
|
Group: Members Posts: 53 Joined: 17 July 2015 Member No.: 11785 |
|
|
|
30 Mar 2017, 2:46
Post
#5
|
|
The X General Group: Project Leader Posts: 2166 Joined: 7 June 2009 From: Philippines Member No.: 73 Uniqueness is Overrated |
QUOTE It could just be that your attack voice codes are messy and the game is having a hard time reading it.
This post has been edited by Zeke: 30 Mar 2017, 2:46 -------------------- |
|
|
30 Mar 2017, 12:38
Post
#6
|
|
Group: Members Posts: 53 Joined: 17 July 2015 Member No.: 11785 |
No, that wasn't it. I figured out what happened:
the code worked perfectly. Ground-targeted attacks just don't play lines at all. |
|
|
Lo-Fi Version | Time is now: 18 April 2024 - 10:56 |