MODSonline
  Welcome Guest to MODSonline Home | Forums | Register | Login
Main-Menu
Home
Login
Register
Add Download
Add News
Add Tutorial *
Forums

Advertise
Affiliate Store US *
Affiliate Store UK *
Affiliate Store CA *
Angry Letter Generator
Avatar Upload
Calendar of Games
Contact
Downloads
FAQs
Forums
Member List
Member Projects
News
News Grabber *
Policy
Polls
Private Messages
Reviews
Screenshot Gallery
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Wiki *
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoDWW Mapping
CoD FAQs
HL2 Mapping
HL2 FAQs
SOF1 Mapping
Crysis Mapping
Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs
UT2K3 Mapping
SOF2 Mapping
SOF2 FAQs

Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors

Readme.txt Generator
Members-Online
ricardos [Forum]
Sevenz [Forum]
FATAL-1 [Forum]
Wildemar [Forum]
phykill [Forum]
cornrow_wa... [Forum]
BallisticTip [Forum]
logojapa [Downl]
LS-R1-mini [Today]
{UST}Hogan [Today]
soulja_boy [Tutor]
oppdelta [Forum]
hercogas [Downl]

13 Members and 20 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Saturday, Nov. 22nd
CoD:WW Video Tutorial is up!
Friday, Nov. 21st
MODSonair Episode 154
Thursday, Nov. 20th
Call Of Duty World At War - Mod Tools
Wednesday, Nov. 19th
Half-Life 1 $0.98
Sunday, Nov. 16th
MODSonair 154 Live
Latest Poll
Single or Multiplayer maps for World at War?
Single-Player 36.36%
Multiplayer 54.55%
WHAT!? The tools are out? 9.09%
Read More...
4 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
No sound
CoD:WW Level Des.. Posts: (8) Views: (132) by foyleman
Adding bots to mp map?
CoDUO Level Desi.. Posts: (5) Views: (70) by oppdelta
script origins
CoD2 Scripting.. Posts: (5) Views: (30) by ukdjaj
Skybox Issues
CoD:WW Level Des.. Posts: (3) Views: (34) by Mooton
Art of War Central Half-Life 2 Mods for Dummies
CoDWW Download
Forums
MODSonline.com 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 : Call of Duty
Category: CoDUO Level Design
CoD United Offensive mapping and level design.
Moderators: foyleman, rEdrUmMDK, Foxhound, Wyatt_Earp, Rasta, StrYdeR, The_Caretaker, Cypher2004, supersword, batistablr, Welshy
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: Sound FX
RyanF
General Member
Since: Sep 29, 2004
Posts: 129
Last: Feb 25, 2005
[view latest posts]
Level 4
Category: CoDUO Level Design
Posted: Thursday, Oct. 28, 2004 10:21 pm
What are you guys doing for sound effects?

I followed
this tutorial, but I get a compile error on the script. More specifically I get the error on the following line: for (i=1;i alerts[0] playsound("german2");

First off I want to make sure I have everything setup right. Here's how I have it setup in UO.



    c:program filescall of dutyuomapsmpMyMapName.gsc

    points to the first csv file

    c:program filescall of dutyuosoundloadspecsMyMapName.csv

    which points to the specific csv for my map

    c:program filescall of dutyuosoundaliasesMyMpaname.csv


I teaked everything. I used "german2" in my csv but that gave me the same error. I tried removing german2, adding a default sound from the game, and linking it appropriately to my csv's. Still no go.

I'm sure this is a simple fix. I'm not a scripter though. :ohwell: *ahem* I know some of you are though... [wink]
RyanF
General Member
Since: Sep 29, 2004
Posts: 129
Last: Feb 25, 2005
[view latest posts]
Level 4
Category: CoDUO Level Design
Posted: Saturday, Nov. 6, 2004 12:19 am
Ok, last post isn't explained very well.

I'm just trying to make a door emit a noise when it's opened or closed. I will post up my csv's and gsc later this weekend if I can.
StrYdeR
Preferred PLUS Member
Since: May 11, 2004
Posts: 11322
Last: Nov 19, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoDUO Level Design
Posted: Saturday, Nov. 6, 2004 11:51 am
ok
first off that tutorial is outdated (doesn't work) for anything past CoD 1.2 (not sure why)

that said...the sounds for CoDUO are different from CoD in that we now need to add a soundloadspecs folder as well (2 csv's..lucky us)

BR3NT put together something a while back that i remmeber reading that pertained to the implementation of sounds in UO...this is about all i could find that has the required info doing a quick search...

[angryalien]
Go ahead... You Play I Mod : MODSonline.com
Support Modsonline by becoming a PREFERRED MEMBER today
Have you heard the MODSonair Podcast?: www.modsonair.com
MODSonair is a weekly podcast bringing you the news from a modders perspective. Tune in every Sunday at 4pm GMT to listen LIVE.
RyanF
General Member
Since: Sep 29, 2004
Posts: 129
Last: Feb 25, 2005
[view latest posts]
Level 4
Category: CoDUO Level Design
Posted: Saturday, Nov. 6, 2004 05:52 pm
Thanks for looking that up Stryder. [smile]
RyanF
General Member
Since: Sep 29, 2004
Posts: 129
Last: Feb 25, 2005
[view latest posts]
Level 4
Category: CoDUO Level Design
Posted: Friday, Feb. 25, 2005 05:28 am
I have not been mapping much recently. After the computer crashed and I lost two maps, Ive been uninspired... [ohwell]


I have been playing around with scripts though. For an MP map that I will build when the time is right. The way Im doing my sounds now is by having the script generate a "script_model" from which the sound is emitted. Its invisible in the game and just has to be generated in coordinates where players dont bump into it. No problem so far.

I have some questions for scripting gurus.

1) I would like to have a sound emit from a location and repeat at a given interval. I don't want it to loop continuously. An example would be an ambient gun fire sound in the distance that starts and stops at a time I input. Any scripiting ideas on that? I might wat to have this shift around a bit (see question two).


2) I have the Stuka script running but I changed the sound to one that I like much better. Basically just a hum of a distant plane far overhead that only occurs on occasion. Unfortunately, the timing is way off now. Id like to adjust the timing but I would also consider just removing the stuka xmodel completely. Any idea for a script that that simply moves a sound accross the map? This would be very usefull, because Id like to implement it with the idea from the first question.

Thanks in advance,
Ryan
StrYdeR
Preferred PLUS Member
Since: May 11, 2004
Posts: 11322
Last: Nov 19, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoDUO Level Design
Posted: Sunday, Feb. 27, 2005 12:13 pm
1) create a playsound thread
in that thread call your playsound
then wait a certain amount of time (you specify or you can alternatively generate a random number larger than but less than for the wait)
then call your playsound thread again

2) for moving a sound all you need to do is move the origin...so for following a stuka, simply have the playsound at the stukas origin, and as the stuka moves, so will (should) your sound

[angryalien]
Go ahead... You Play I Mod : MODSonline.com
Support Modsonline by becoming a PREFERRED MEMBER today
Have you heard the MODSonair Podcast?: www.modsonair.com
MODSonair is a weekly podcast bringing you the news from a modders perspective. Tune in every Sunday at 4pm GMT to listen LIVE.
Restricted Access Restricted Access subscribe
MODSonline.com Forums : Call of Duty : CoDUO Level Design
All logos and trademarks and information in this site are property of MODSonline LLC © 2008.
The comments are property of their posters.
RSS news feeds for MODSonline can be found News.php.
Art of War Central
Partners
modbase.be
The Firing Box
Battle for Europe COD2
XoXide
Call of Duty Headquarters
Frag Universe
CODAddicts - Call of Duty News & Downloads
Ask About
Advertising
Friends
CoD 4 Base
Great Gamer
Volcano
Ask About
Advertising
Link to Us
MODSonair
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
MODSonair Releases
MODSonair Episode 154
MODSonair Episode 153
MODSonair Episode 152
MODSonair Episode 151
Video server move
Next Show
The next MODSonair show will air LIVE on:
11/23/2008 12:00 EST

Time remaining:
Copyright © 2008 MODSonline
Tresware Content Management System Copyright © 2008 Tresware
Website Designed and Hosted   Tresware