Hi fellow modmakers,
Voicelines are a mystery to me for a long time. Recently I am trying to understand how they work and eventually how to fix an issue in my mod. I started with extracting the Sound.sga.
The issue:
For example when you call-in a IS-2 from the commander ability you hear an announcement.
I found that all announcements for soviet doctrinal units are located here, where the keyword in the ability is 'is2':
speech\mp\soviet\int\intel\playerability\sb_int_apl_is2gen_nt_l
However, when you construct the IS-2 from a building, it is not announced.
I also found that all vanilla units use their own sound from:
speech\mp\soviet\int\intel\unitcreated. This directory does not contain sounds for doctrinal units, so the keyword 'is2' will have no results.
> So my question is how do I play the sound from the playerability directory instead of the unitcreated directory when the unit is spawned from a structure?
As a workaround I tried to use sound_action, but it plays through other voicelines. The speech_action seems to have no access to the sounds I need.
Any help is appreciated.
Announcements for doctrinal units?
11 Aug 2020, 17:05 PM
#1


Posts: 817 | Subs: 5
12 Aug 2020, 03:48 AM
#2

Posts: 766 | Subs: 2
I did some testing, this may be a work around. Global recharges can be announced like the Ostheer Artillery Officer's Smoke Barrage. Clone it, adjusted it, then make the recharge 1 second. Automatic 'Initial' recharges do not announced but a victor target can force a recharge. Give the IS 2 the 'sound' ability. Give it a victor target for the 'sound' ability so one second after it spawn it will announced a recharge voice line of the IS 2 call in ability.
12 Aug 2020, 18:32 PM
#3


Posts: 817 | Subs: 5
I did some testing, this may be a work around. Global recharges can be announced like the Ostheer Artillery Officer's Smoke Barrage. Clone it, adjusted it, then make the recharge 1 second. Automatic 'Initial' recharges do not announced but a victor target can force a recharge. Give the IS 2 the 'sound' ability. Give it a victor target for the 'sound' ability so one second after it spawn it will announced a recharge voice line of the IS 2 call in ability.
Thanks, that is a smart idea. I will experiment with it.
PAGES (1)

1 user is browsing this thread:
1 guest
SHOUT IT OUT!



Osinyagov: Suddenly, coh2 is slowly dying, but you can play it, playerbase still big enough
Last Wednesday, 17:00 PM
Last Wednesday, 17:00 PM
Osinyagov: Wow, i remember you from zansi and vali videos, good old memories
Last Wednesday, 16:58 PM
Last Wednesday, 16:58 PM
SupremeStefan: https://steamcommunity.com/sharedfiles/filedetails/?id=3457737797
04 Apr 2025, 12:42 PM
04 Apr 2025, 12:42 PM
Willy Pete: @Rosbone not dead yet. when that happens the font will switch to Papyrus 
02 Apr 2025, 00:16 AM

02 Apr 2025, 00:16 AM
aerafield: yeah I already prepared my "Can't believe there's comic mode for the 10 daily visitors even on this April 1st" 
01 Apr 2025, 20:29 PM

01 Apr 2025, 20:29 PM
Lady Xenarra: Does anyone else think that USF needs buffs? It feels like they’re on life support sometimes
01 Apr 2025, 02:36 AM
01 Apr 2025, 02:36 AM
Willy Pete: @Rosbone Ahh I missed that memo. I still think its a bad decision though. Adds frustration for players and isnt gonna make them that much money
27 Mar 2025, 15:46 PM
27 Mar 2025, 15:46 PM
Rosbone: It is also good they left it free until after the free to play weekend. Points for that.
27 Mar 2025, 09:34 AM
27 Mar 2025, 09:34 AM
Rosbone: But I agree, the cost to get a full decent Coh game pushing $115 US is not the best idea. Especially when it needs so much more work for casuals.
27 Mar 2025, 09:32 AM
27 Mar 2025, 09:32 AM
Rosbone: To be fair, it was a thank you to early fans right? They said it was not free for long and it would become a pay DLC at some point.
27 Mar 2025, 09:30 AM
27 Mar 2025, 09:30 AM
Willy Pete: Re-releasing free DLC so they can charge new players money for it. Brilliant marketing strategy 
27 Mar 2025, 04:31 AM

27 Mar 2025, 04:31 AM
Rosbone: Congrats to Relic. Looks like Coh3 has finally usurped Coh2 s the popular Coh. You smell terrific.
.
24 Mar 2025, 02:46 AM

24 Mar 2025, 02:46 AM
Livestreams
![]() |
![]() |
![]() |
31 | ||
![]() |
![]() |
![]() |
23 | ||
![]() |
![]() |
![]() |
1 | ||
![]() |
![]() |
![]() |
1 | ||
![]() |
![]() |
![]() |
13 | ||
![]() |
![]() |
![]() |
7 | ||
![]() |
![]() |
![]() |
4 | ||
![]() |
![]() |
![]() |
3 | ||
![]() |
![]() |
![]() |
2 | ||
![]() |
![]() |
![]() |
2 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.43163.872+9
- 2.59482.879+8
- 3.14839.791+7
- 4.13344.751+7
- 5.286162.638+4
- 6.18151.780+4
- 7.313114.733+9
- 8.378255.597+4
- 9.14265.686+10
- 10.17773.708+3
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
14

Download
1364
Board Info
238 users are online:
238 guests
1 post in the last 24h
6 posts in the last week
62 posts in the last month
6 posts in the last week
62 posts in the last month
Registered members: 53540
Welcome our newest member, jorgecortizo
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, jorgecortizo
Most online: 2043 users on 29 Oct 2023, 01:04 AM