Data Realms Fan Forums
http://45.55.195.193/

Sound Question
http://45.55.195.193/viewtopic.php?f=1&t=18657
Page 1 of 2

Author:  MrC121989 [ Mon May 03, 2010 12:08 pm ]
Post subject:  Sound Question

Hello, i need your help again :grin:
Is there a way to add sound to an object or an actor when he is placed (for example when you place objects in skirmish before battle)?
And the ability to add multiple sounds and make them play after previous ends.

Just to prevent people saying that its useless or anything like that, i'll expain what i'm trying to do, i want so that when i place a brain for example my faction theme strarts to play, this idea can olso be used for some factions propagand, you name it.

Author:  CCnewplayer [ Mon May 03, 2010 6:39 pm ]
Post subject:  Re: Sound Question

I dont know if this is possible , but , it's possible add wavs to AEmitters as contentfiles.

Author:  lafe [ Mon May 03, 2010 8:41 pm ]
Post subject:  Re: Sound Question

aemitter with the right sound and a simple lua script can get the job done.

Author:  Duh102 [ Mon May 03, 2010 8:45 pm ]
Post subject:  Re: Sound Question

Pseudocode:
function Create(self)
create AEmitter sound, instance of "Noisemaker"
set sound's position to that of your brain
add sound to the map's list of MOs
end

Author:  CaveCricket48 [ Mon May 03, 2010 8:54 pm ]
Post subject:  Re: Sound Question

You don't even need Lua. Just attach the AEmitter to the desired object.

Author:  CCnewplayer [ Mon May 03, 2010 9:12 pm ]
Post subject:  Re: Sound Question

Yes all with ini:

-make one AEmitter with the sound and loopsetting.
-attach it to the actor , liking the molotov's fire.
-change the loopsetting to 1.

Author:  lafe [ Mon May 03, 2010 9:30 pm ]
Post subject:  Re: Sound Question

CaveCricket48 wrote:
You don't even need Lua. Just attach the AEmitter to the desired object.


i lol at cave cricket and his inability to fit in with the times refusing to learn lua, and instead, making tuns of tuns of bullet sprayers.
shame on you and your lack of originality.

Author:  Duh102 [ Mon May 03, 2010 9:31 pm ]
Post subject:  Re: Sound Question

Lafe, CC48 is one of the most productive Lua modders around right now. Go sit in a corner.

Author:  lafe [ Mon May 03, 2010 10:03 pm ]
Post subject:  Re: Sound Question

Duh102 wrote:
Lafe, CC48 is one of the most productive Lua modders around right now. Go sit in a corner.

sarcasm?
gawd i hate the lack of voice tone online.

Author:  Lizardheim [ Mon May 03, 2010 10:17 pm ]
Post subject:  Re: Sound Question

Lafe, as awesome as your mods are, you really puts CC48's to shame.
What's this "sarcasm" anyway?

Author:  lafe [ Mon May 03, 2010 10:34 pm ]
Post subject:  Re: Sound Question

Lizard wrote:
Lafe, as awesome as your mods are, you really puts CC48's to shame.
What's this "sarcasm" anyway?


you, my friend, have not seen what i have been cooking up.

Author:  whitty [ Mon May 03, 2010 10:47 pm ]
Post subject:  Re: Sound Question

lafe wrote:
Lizard wrote:
Lafe, as awesome as your mods are, you really puts CC48's to shame.
What's this "sarcasm" anyway?


you, my friend, have not seen what i have been cooking up.

Must be cooking in a crock pot.

Author:  lafe [ Tue May 04, 2010 12:58 am ]
Post subject:  Re: Sound Question

whitty wrote:
lafe wrote:
Lizard wrote:
Lafe, as awesome as your mods are, you really puts CC48's to shame.
What's this "sarcasm" anyway?


you, my friend, have not seen what i have been cooking up.

Must be cooking in a crock pot.


lols.
anyways, maby its not cricket good, but its pretty nice.

Author:  MrC121989 [ Tue May 04, 2010 8:30 am ]
Post subject:  Re: Sound Question

Tried to do this, but i'm keep crashing my game, not sure how to do it, havent done it before.
Can someone write a template of AEmitter with sound and of attachment that i need to put in an object.

BTW just had a thought, will the music be affected by game lag/timescale ?

Author:  LowestFormOfWit [ Tue May 04, 2010 8:41 am ]
Post subject:  Re: Sound Question

MrC121989 wrote:
Tried to do this, but i'm keep crashing my game, not sure how to do it, havent done it before.
Can someone write a template of AEmitter with sound and of attachment that i need to put in an object.

BTW just had a thought, will the music be affected by game lag/timescale ?


Music being played with "AudioMan:PlayMusic" and other UI related sounds, no.

All other sounds, yes.

Page 1 of 2 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/