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 Apr 20, 2024 3:02 pm
All times are UTC + 0
Can't get EVA_SilosNeeded to work
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Kamuix
Rocket Infantry


Joined: 02 Nov 2012
Location: Canada

PostPosted: Sat Dec 20, 2014 5:53 pm    Post subject:  Can't get EVA_SilosNeeded to work Reply with quote  Mark this post and the followings unread

This is my code:

eva.ini:

110=EVA_SilosNeeded

[EVA_SilosNeeded]
Text=Silos Needed.
;Russian=EVASilos
;Allied=ceva105
Priority= IMPORTANT
Report=EVASilos

sound.ini:

1184=EVASilos

[EVASilos]
Sounds=silond
Control=random interrupt
Volume=95

sound file silond was put in audio.bag wav file converted to IMA ADPCM

Thanks for any help, the silos already work perfectly other than when they get full no sound or text displayed

Back to top
View user's profile Send private message
Kik0u
Civilian


Joined: 17 May 2014
Location: France

PostPosted: Sat Dec 20, 2014 8:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

You need only a code in evamd.ini

Code:
110=EVA_SilosNeeded ; in your list

[EVA_SilosNeeded]
Text=Silos Needed.   
Russian=csof156
Allied=ceva156
Yuri=cyur156


and put your different EVA voice (for each side) in audiomd.mix

EVA voice are in ;
Code:
Wave format
48000 Hz
16 bit signed
Mono


And not forgot put this code in your refinery

Code:
Refinery.UseStorage=yes

Back to top
View user's profile Send private message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Sat Dec 20, 2014 11:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm just correcting Kik0u's
Kik0u wrote:
and put your different EVA voice (for each side) in audiomd.mix

Not recommended, just put it in expandmd or ecachemd
Kik0u wrote:
EVA voice are in ;
Code:
Wave format
48000 Hz
16 bit signed
Mono

22050Hz, 32bit, Mono

_________________
Quote:
Humans were born for two things: to pray and be productive.


Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Sat Dec 20, 2014 11:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

The internal WAV player reads and plays any WAV you feed it to, as long as it's either PCM or IMA ADPCM format and has less channels than 3. Bit depth and frequency does not matter.

This even applies to the bag format. Older XCC Mixers had issues with some formats (like stereo samples) being one source of the myth that the game is picky about the properties of the audio it's given to.

The other cause is Ares's loose WAV feature, which itself is a shortcoming - the actual code enforces a bag header for the samples, and that's why loose sounds have to be in 22 kHz PCM 16 bit mono format. I repeat: this is a limit made by the Ares feature implementation not affecting bag or EVA at all.

The original files also were 22 khz 16 bit depth files anyway - 32 bit 22 khz files are a joke, Reaperz.

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
Kamuix
Rocket Infantry


Joined: 02 Nov 2012
Location: Canada

PostPosted: Sun Dec 21, 2014 1:43 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks guys i had already did it deathreaperz way and the sound works but the  'Text=Silos Needed.'  isn't displayed

I just converted through the xccmixer to IMA ADPCM and dragged the old gdi 'silosneeded' voice from TS into the mix.

Does anyone know if there's anyway to get text to display? not that it's displayed with other things said in RA2 so it's not that important

Back to top
View user's profile Send private message
ApolloTD
Commander


Joined: 19 Nov 2003

PostPosted: Sun Dec 21, 2014 4:09 am    Post subject: Reply with quote  Mark this post and the followings unread

Graion Dilach wrote:

The other cause is Ares's loose WAV feature, which itself is a shortcoming - the actual code enforces a bag header for the samples, and that's why loose sounds have to be in 22 kHz PCM 16 bit mono format. I repeat: this is a limit made by the Ares feature implementation not affecting bag or EVA at all.


If you ask me, its lousy implementation, shoulda had some kinda reading function to parse the wav header and turn it to the appropriate header but thats I suppose less fast than forcing a default that does no checking what so ever.

Heck, at the least it coulda been ima than pcm...

Back to top
View user's profile Send private message
deathreaperz
Commander


Joined: 20 May 2013
Location: Indonesia

PostPosted: Sun Dec 21, 2014 4:41 am    Post subject: Reply with quote  Mark this post and the followings unread

Kamuix wrote:
Thanks guys i had already did it deathreaperz way and the sound works but the  'Text=Silos Needed.'  isn't displayed

Your welcome, the text is not for a warning text in the top left corner
Kamuix wrote:
Does anyone know if there's anyway to get text to display? not that it's displayed with other things said in RA2 so it's not that important

I'm not sure but in a single player, you can, and i don't know exactly how. Remember critical structure on mission? It's using text trigger

_________________
Quote:
Humans were born for two things: to pray and be productive.


Back to top
View user's profile Send private message
MasterHaosis
General


Joined: 01 Nov 2010
Location: Serbia

PostPosted: Thu Dec 25, 2014 11:16 am    Post subject: Reply with quote  Mark this post and the followings unread


_________________

PPM Halloween Season 2021

Back to top
View user's profile Send private message
Kamuix
Rocket Infantry


Joined: 02 Nov 2012
Location: Canada

PostPosted: Fri Dec 26, 2014 11:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ahh interesting ^ thanks for letting me know

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 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.1446s ][ Queries: 11 (0.0075s) ][ Debug on ]