View unanswered posts | View active topics It is currently Thu Dec 26, 2024 5:08 pm



Reply to topic  [ 6 posts ] 
 Sounds 
Author Message
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post Sounds
In lua, after the if then statement, can you make it play a sound, or is it buggy?


Mon Jun 29, 2009 4:38 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Sounds
Quote:
Room topic is: Don't PM the voices/ops. Look here first - http://www.datarealms.com/wiki/index.php/Category:Lua - Pastebin: http://luabin.foszor.com/ - Don't ask to ask, ask your question and wait for someone to respond! - playsound is broken - GRENADES DO NOT HAVE TEAM VARIABLES


Mon Jun 29, 2009 4:42 am
Profile
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post Re: Sounds
Don't go on mIRC much anymore. Maybe i should.....

Thanks then :)


Mon Jun 29, 2009 4:43 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Sounds
Tip:
Have a sound actor that dies and plays a sound.
Oh, and have it record timescale, set it to false, then set it to true.


Mon Jun 29, 2009 4:55 am
Profile
User avatar

Joined: Thu May 28, 2009 3:59 pm
Posts: 209
Reply with quote
Post Re: Sounds
My solution to this problem was to spawn an AEmitter to play the sound(s) I wanted. One benefit of using an AEmitter is it has a bunch of emission related sound options, EmissionSound, BurstSound, and EndSound... and it may also accept Gibsound, giving you a lot more control over when and how the sounds play.


Mon Jun 29, 2009 6:32 pm
Profile
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Reply with quote
Post Re: Sounds
Asatruer wrote:
My solution to this problem was to spawn an AEmitter to play the sound(s) I wanted. One benefit of using an AEmitter is it has a bunch of emission related sound options, EmissionSound, BurstSound, and EndSound... and it may also accept Gibsound, giving you a lot more control over when and how the sounds play.


Yes, but they are still affected by timescale slowing right? mail's solution isn't, which is what we used in Facing Worlds CTF. I could see those working for other types of sounds, maybe non voices.


Tue Jun 30, 2009 7:34 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users


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.128s | 13 Queries | GZIP : Off ]