View unanswered posts | View active topics It is currently Mon Jan 06, 2025 11:24 pm



Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
 Sound Question 
Author Message
User avatar

Joined: Wed Feb 10, 2010 12:41 pm
Posts: 182
Location: OMG where am i ?
Reply with quote
Post 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.


Mon May 03, 2010 12:08 pm
Profile
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post Re: Sound Question
I dont know if this is possible , but , it's possible add wavs to AEmitters as contentfiles.


Mon May 03, 2010 6:39 pm
Profile
User avatar

Joined: Sat Mar 28, 2009 2:33 pm
Posts: 718
Reply with quote
Post Re: Sound Question
aemitter with the right sound and a simple lua script can get the job done.


Mon May 03, 2010 8:41 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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


Mon May 03, 2010 8:45 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: Sound Question
You don't even need Lua. Just attach the AEmitter to the desired object.


Mon May 03, 2010 8:54 pm
Profile
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post 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.


Mon May 03, 2010 9:12 pm
Profile
User avatar

Joined: Sat Mar 28, 2009 2:33 pm
Posts: 718
Reply with quote
Post 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.


Mon May 03, 2010 9:30 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Sound Question
Lafe, CC48 is one of the most productive Lua modders around right now. Go sit in a corner.


Mon May 03, 2010 9:31 pm
Profile
User avatar

Joined: Sat Mar 28, 2009 2:33 pm
Posts: 718
Reply with quote
Post 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.


Mon May 03, 2010 10:03 pm
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Sound Question
Lafe, as awesome as your mods are, you really puts CC48's to shame.
What's this "sarcasm" anyway?


Mon May 03, 2010 10:17 pm
Profile
User avatar

Joined: Sat Mar 28, 2009 2:33 pm
Posts: 718
Reply with quote
Post 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.


Mon May 03, 2010 10:34 pm
Profile
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post 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.


Mon May 03, 2010 10:47 pm
Profile
User avatar

Joined: Sat Mar 28, 2009 2:33 pm
Posts: 718
Reply with quote
Post 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.


Tue May 04, 2010 12:58 am
Profile
User avatar

Joined: Wed Feb 10, 2010 12:41 pm
Posts: 182
Location: OMG where am i ?
Reply with quote
Post 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 ?


Tue May 04, 2010 8:30 am
Profile
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Reply with quote
Post 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.


Tue May 04, 2010 8:41 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 26 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: Google [Bot]


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.086s | 14 Queries | GZIP : Off ]