Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sat Nov 09, 2024 2:48 am
All times are UTC + 0
How to add a new voice to the game for my campaign mission.
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [18 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Yosef Anan
GDI Hacker


Joined: 06 Feb 2018

PostPosted: Tue Jan 16, 2024 12:30 pm    Post subject:  How to add a new voice to the game for my campaign mission.
Subject description: I need help
Reply with quote  Mark this post and the followings unread

Hello guys!
I wanted to add a briefing voice at the beginning of my campaign map, a different briefing from outside of the game, I added the sound as .wav format, Mono 22,050 hz PCM by sound forge program, and put it into my expandedXX.mix Also I made the stips of soundmd.ini and I did all the steps in the following tutorial but it doesn't work! ?
https://modenc.renegadeprojects.com/Sounds

I searched for the plug-ins of Winamp but I couldn't find it on the internet.
Maybe I missed something or this is not how it works so please guide me to the correct way.

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Wed Jan 17, 2024 8:36 am    Post subject: Reply with quote  Mark this post and the followings unread

That Modenc guide is for adding sound effects such as weapons fire or unit voices etc with the sound.ini.

Mission briefings voices are different, they are "EVA" sounds controlled by the evamd.ini file. Unit like sound effects the wav files for EVA announcements are stored in a mix file (audiomd.mix inside of langmd.mix) instead of the sound.bag.

Once you have placed the wav files in a mix file and have added them to evamd.ini you can then use map trigger 21 to play the sound file during a mission.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Yosef Anan
GDI Hacker


Joined: 06 Feb 2018

PostPosted: Wed Jan 17, 2024 11:05 am    Post subject: Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
That Modenc guide is for adding sound effects such as weapons fire or unit voices etc with the sound.ini.

Mission briefings voices are different, they are "EVA" sounds controlled by the evamd.ini file. Unit like sound effects the wav files for EVA announcements are stored in a mix file (audiomd.mix inside of langmd.mix) instead of the sound.bag.

Once you have placed the wav files in a mix file and have added them to evamd.ini you can then use map trigger 21 to play the sound file during a mission.


Thanks but it does not work!
I added my data to evamd.ini then I added it to my expandmd34.mix
I already added the voice briefing file to my expandmd34.mix but it didn't work!

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Wed Jan 17, 2024 11:32 am    Post subject: Reply with quote  Mark this post and the followings unread

You can test the file by renaming it to xa1ev01.wav putting it lose in the Red Alert 2 folder and then playing the first Allied mission in YR.

If you hear your new voice at the start of the mission then there is a problem with your code in the evamd.ini or the map trigger.

If you dont hear your new voice at the start of the mission then then your wav file is in the wrong format (PCM 22050 hz 16 bit).

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
adamstrange
Cyborg Cannon


Joined: 07 Mar 2013

PostPosted: Thu Jan 18, 2024 5:07 am    Post subject: Reply with quote  Mark this post and the followings unread

I use sound forge also and I found that I some times had problems with sounds processed for the game so I just use it for editing but for proper conversion I use GoldWave

Back to top
View user's profile Send private message
Yosef Anan
GDI Hacker


Joined: 06 Feb 2018

PostPosted: Thu Jan 18, 2024 12:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
You can test the file by renaming it to xa1ev01.wav putting it lose in the Red Alert 2 folder and then playing the first Allied mission in YR.

If you hear your new voice at the start of the mission then there is a problem with your code in the evamd.ini or the map trigger.

If you dont hear your new voice at the start of the mission then then your wav file is in the wrong format (PCM 22050 hz 16 bit).


Thanks, bro! nice trick lol.
That's all I need!  Razz

Back to top
View user's profile Send private message
Yosef Anan
GDI Hacker


Joined: 06 Feb 2018

PostPosted: Thu Jan 18, 2024 12:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

adamstrange wrote:
I use sound forge also and I found that I some times had problems with sounds processed for the game so I just use it for editing but for proper conversion I use GoldWave


I used Premiere Pro!  Razz

Back to top
View user's profile Send private message
Yosef Anan
GDI Hacker


Joined: 06 Feb 2018

PostPosted: Sat Jan 20, 2024 9:54 am    Post subject: Reply with quote  Mark this post and the followings unread

Mig Eater wrote:
You can test the file by renaming it to xa1ev01.wav putting it lose in the Red Alert 2 folder and then playing the first Allied mission in YR.

If you hear your new voice at the start of the mission then there is a problem with your code in the evamd.ini or the map trigger.

If you dont hear your new voice at the start of the mission then then your wav file is in the wrong format (PCM 22050 hz 16 bit).


I am back!  Razz
I have one more issue!

I have a copy of Instine shp that I put it in my expandmd34.mix and as you know I make the data for artmd.ini and rulesmd.ini

Code:
[BROWN]
UIName=Name:BROWN
Name=Dr. Emmett Brown
Category=Civilian
Strength=50
Armor=none
TechLevel=-1
CrushSound=InfantrySquish
Insignificant=yes
Sight=2
Speed=4
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AllowedToStartInMultiplayer=no
Cost=10
Soylent=200
Points=1
;Ammo=10
Fraidycat=yes
Civilian=yes
Nominal=yes
Pip=yellow
VoiceSelect=BrownSelect
VoiceMove=BrownMove
VoiceAttack=BrownAttackCommand
VoiceFeedback=BrownFear
VoiceSpecialAttack=BrownMove
DieSound=BrownDie
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=0   ; This value MUST be 0 for all building addons
ImmuneToVeins=yes
Size=1
Trainable=no
UseOwnName=true

[BrownSelect]
Sounds=ibrownh ibrowni ibrownj ibrownk
Control=random
Volume=85

[BrownMove]
Sounds=ibrowna ibrownb ibrownc ibrownd
Control=random
Volume=80

[BrownAttackCommand]
Sounds=ibrownl ibrownm ibrownn ibrowno
Control=random
Volume=80

[BrownFear]
Sounds=ibrowne ibrownf ibrowng
Control=random
Volume=85


[BrownMove]
Sounds=ibrowna ibrownb ibrownc ibrownd
Control=random
Volume=80


[BrownDie]
Sounds=ibrownp ibrownq  ibrownr
Control=random
Volume=80


I named the files of the voices as ibrownp.wav as well as you know 22.050 hz 16-bit Mono PCM but they didn't work so I put them all in the game folder also not working, no sound.

how can I make them work?

Last edited by Yosef Anan on Sat Jan 20, 2024 2:46 pm; edited 1 time in total

Back to top
View user's profile Send private message
wow4ik81
Light Infantry


Joined: 30 Nov 2023
Location: Germany

PostPosted: Sat Jan 20, 2024 11:32 am    Post subject: Reply with quote  Mark this post and the followings unread

replace
ibrownp.wave
with
ibrownp.wav

replace all sound files with WAV


[BrownMove] ; is double

Back to top
View user's profile Send private message
Yosef Anan
GDI Hacker


Joined: 06 Feb 2018

PostPosted: Sat Jan 20, 2024 2:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

wow4ik81 wrote:
replace
replace
ibrownp.wave
with
ibrownp.wav
with
ibrownp.wav

replace all sound files with WAV


[BrownMove] ; is double


"Wave" is a misspelling while I was writing the subject and it's not the same in the audio format, now about the repetition of the move, I'm confused about it! There are two moves, one of them with the command attack and move.

VoiceSelect=BrownSelect
VoiceMove=BrownMove_____________- 1
VoiceAttack=BrownAttackCommand
VoiceFeedback=BrownFear
VoiceSpecialAttack=BrownMove______- 2
DieSound=BrownDie

Back to top
View user's profile Send private message
wow4ik81
Light Infantry


Joined: 30 Nov 2023
Location: Germany

PostPosted: Sat Jan 20, 2024 8:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

; that's double

[BrownMove]
Sounds=ibrowna ibrownb ibrownc ibrownd
Control=random
Volume=80

[BrownMove]
Sounds=ibrowna ibrownb ibrownc ibrownd
Control=random
Volume=80

Back to top
View user's profile Send private message
Yosef Anan
GDI Hacker


Joined: 06 Feb 2018

PostPosted: Mon Jan 22, 2024 4:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

wow4ik81 wrote:
; that's double

[BrownMove]
Sounds=ibrowna ibrownb ibrownc ibrownd
Control=random
Volume=80

[BrownMove]
Sounds=ibrowna ibrownb ibrownc ibrownd
Control=random
Volume=80

I got it dude, I told you why, I let it as it.
But the issue still!
I asked my friend scipcion about the issue he told me to put all audio files in .bag
I asked him how to do that he told me:
"first you need to extract .bag file from language.mix or langmd.mix"
I tried to figure how to do that as he told me but I didn't get it.
I don't have things with the format .bag in langmd.mix
I don't have the same files as he have.

Back to top
View user's profile Send private message
wow4ik81
Light Infantry


Joined: 30 Nov 2023
Location: Germany

PostPosted: Mon Jan 22, 2024 5:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

For this you need the XCC MIXER, open language.mix and extract audio.mix

then open audio.mix and extract audio.bag and audio.idx

then open XCC MIXER, at the top in the "Launch" tab and on XCC Sound Editor, then open the extracted files audio.bag and audio.idx

In the sound editor you can pack and unpack your WAV files.

I think that's what your friend wanted to tell you.

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Tue Jan 23, 2024 12:00 am    Post subject: Reply with quote  Mark this post and the followings unread

Remember you can use my SOUNDCHECK script in Community Tools to make sure it's all good and proper.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Yosef Anan
GDI Hacker


Joined: 06 Feb 2018

PostPosted: Mon Jan 29, 2024 5:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

G-E wrote:
Remember you can use my SOUNDCHECK script in Community Tools to make sure it's all good and proper.


Where to get that script?
link, please!

anyway, the voice didn't work I tried to make .bag there isn't anything, no button or menu or word mentioned on XCC mixer!

Back to top
View user's profile Send private message
wow4ik81
Light Infantry


Joined: 30 Nov 2023
Location: Germany

PostPosted: Mon Jan 29, 2024 7:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

here are G-Es tools, which I also like to use.

Thanks G-E



G-Es INI Check Tools.rar
 Description:

Download
 Filename:  G-Es INI Check Tools.rar
 Filesize:  13.81 MB
 Downloaded:  11 Time(s)


Back to top
View user's profile Send private message
Yosef Anan
GDI Hacker


Joined: 06 Feb 2018

PostPosted: Wed Jan 31, 2024 3:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

wow4ik81 wrote:
here are G-Es tools, which I also like to use.

Thanks G-E

thanks!
how to use it?

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Wed Jan 31, 2024 3:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

If you go to the original threads, you'll see an overview.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [18 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2094s ][ Queries: 13 (0.0117s) ][ Debug on ]