Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
1 Active | 12 Guests
Online:

LATEST FORUM THREADS

»
[Release]SP East Prussian ...
CoD2 Map + Mod Releases
Node is floating???
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Star Trek Voyager: Elite Force
Category: Star Trek Voyager: Elite Force MOD Support
Mapping, modeling, scripting, etc. questions, comments and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: Queston about sound
Major Tork~rb
General Member
Since: Dec 23, 2006
Posts: 37
Last: Dec 23, 2006
[view latest posts]
Level 2
Category: Star Trek Voyager: Elite Force MOD Support
Posted: Tuesday, Mar. 8, 2005 10:23 pm
I want to add a sound that plays when triggered, and is heard by everyone on the map loud and clear. The "N" window gives options for local and global, but global still fades out after a distance. I'd like each player to hear it at full volume. Can this be done or do I have to add multipule sound entities throughout the map?
Share |
FliX~rb
General Member
Since: Dec 23, 2006
Posts: 8484
Last: Dec 23, 2006
[view latest posts]
Level 10
Category: Star Trek Voyager: Elite Force MOD Support
Posted: Wednesday, Mar. 9, 2005 06:39 am
yea, i had the same problem that global wouldnt play globaly

in ef2 its a simple line in the script, cant remember the ef1 solutuion though...
Share |
Grand Nagus~rb
General Member
Since: Dec 23, 2006
Posts: 591
Last: Dec 23, 2006
[view latest posts]
Level 6
Category: Star Trek Voyager: Elite Force MOD Support
Posted: Wednesday, Mar. 9, 2005 12:09 pm
It works if you put a checkmark next to 'global', but you cannot have anything else checkmarked or 'global' won't work.  The gamecode dynamically 'borrows' from the first two checkmarks (looped_on and looped_off), so if either are selected, this borrowing scheme will not allow 'global' to be paired up with 'looped_on' or 'looped_off'.  So, make sure 'global' is the ONLY thing checkmarked and everyone will be able to hear the sound.

Hope that helps! :)

PS:  If you want to play a looping sound that everyone can hear, you can use 'target_music' found in the Update Mod.  However, this option will only work if your map doesn't already have background music in it (because 'target_music' will replace that background music track with whatever looping sound effect you choose to play), the sound effect has to be sampled at 22kHz stereo (or you'll see an error message as the sound loops), and you can only hear your sound effect when playing your map with the Update Mod.
Share |
Major Tork~rb
General Member
Since: Dec 23, 2006
Posts: 37
Last: Dec 23, 2006
[view latest posts]
Level 2
Category: Star Trek Voyager: Elite Force MOD Support
Posted: Wednesday, Mar. 9, 2005 07:09 pm
Thanks. I'll give it a try.
Share |
Lord Thunderwing~rb
General Member
Since: Dec 23, 2006
Posts: 144
Last: Dec 23, 2006
[view latest posts]
Level 4
Category: Star Trek Voyager: Elite Force MOD Support
Posted: Friday, Mar. 11, 2005 12:33 pm
Add this to your worldspawn:

Code Sample
"music" "path to sound file/sound file.mp3"
It would mean that you are unable to put in any background music, but somehow I don't think you'll do that . . .   :;):
Share |
Major Tork~rb
General Member
Since: Dec 23, 2006
Posts: 37
Last: Dec 23, 2006
[view latest posts]
Level 2
Category: Star Trek Voyager: Elite Force MOD Support
Posted: Wednesday, Mar. 23, 2005 09:09 pm
Worked great! Thanks again.  :D
I'm not sure about adding music. I've piled many different things into my latest map and am starting to max out what my processor can handle.  :s9:
Share |
Restricted Access Restricted Access subscribe
MODSonline.com Forums : Star Trek Voyager: Elite Force : Star Trek Voyager: Elite Force MOD Support

Latest Syndicated News

»
Codutility is for sale!
Seems like a plan to save Codutility ..Quote:Well guys I heard what you said...
Codutility is for sale!
Well as modding dies, so does the sites that support it.. Its a sad sad day,...
Codutility is for sale!
Quote:Codutility is for sale! Yes, you read well. Codutility ( sites/do...
Why console gaming is dying
Quote:Consider this: Dedicated gaming sales — including living-room consoles...
Devs: Games are being dumb...
Click 'read more' to view the contents of this post.

Partners & Friends

»