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
PlusIce [Downl]
starkk [Forum]
paulb39 [Downl]
Kill_me_now [Downl]

4 Members and 18 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Monday, Dec. 1st
A message from foyleman
Sunday, Nov. 30th
MODSonair 156 Live
Friday, Nov. 28th
MODSonair Episode 155
Wednesday, Nov. 26th
MODSonair Forum Buttons
Monday, Nov. 24th
Holiday Gift Guide 2008 - PC
Latest Poll
Single or Multiplayer maps for World at War?
Single-Player 30.12%
Multiplayer 61.45%
WHAT!? The tools are out? 8.43%
Read More...
10 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
A message from foyleman
In The News.. Posts: (4) Views: (26) by babycop
Zombie Map Issues with Launcher also.
CoD:WW Level Des.. Posts: (9) Views: (141) by Spuddy
Hud
CoD General Gami.. Posts: (1) Views: (12) by Harbinger
recoil...
CoD General Gami.. Posts: (2) Views: (40) by Harbinger
Google 468 Banner Quake 4 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 4
Category: CoD 4 Level Design
CoD 4 mapping and level design.
Moderators: foyleman, rEdrUmMDK, Foxhound, Rasta, StrYdeR, The_Caretaker, batistablr, playername, Welshy
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access
Page
Next Page
subscribe
Author Topic: Door sounds?
one_richard
General Member
Since: Aug 24, 2007
Posts: 267
Last: Dec 1, 2008
[view latest posts]
Level 5
Category: CoD 4 Level Design
Posted: Friday, Aug. 15, 2008 08:12 pm
Hi all,

I was testing some opening door tutorials an I got the door fully working but I cant make it to play any sound.

What´s the line I have to add to my _door.gsc?

any Idea?
The_Caretaker
Preferred Member
Since: Jun 8, 2004
Posts: 11559
Last: Oct 4, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoD 4 Level Design
Posted: Saturday, Aug. 16, 2008 03:28 am
playsound()
one_richard
General Member
Since: Aug 24, 2007
Posts: 267
Last: Dec 1, 2008
[view latest posts]
Level 5
Category: CoD 4 Level Design
Posted: Saturday, Aug. 16, 2008 07:06 am
Doesnt play any sound.

got this on my door.gsc

code

Quote:
main() {

thread door1_rotate();

}

door1_rotate()
{
door1 = getent("door1", "targetname");
trig = getent("door_trigger1", "targetname");
while (1)
{
trig waittill("trigger");
door1 rotateYaw(-90, 1.5, 0.7, 0.7);
door1 waittill("rotatedone");
wait (3);
door1 rotateYaw(90, 1.5, 0.7, 0.7);
door1 waittill("rotatedone");
door1 playSound("door_wood_slow_open");
}
}

The_Caretaker
Preferred Member
Since: Jun 8, 2004
Posts: 11559
Last: Oct 4, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoD 4 Level Design
Posted: Saturday, Aug. 16, 2008 08:26 am
Is door_wood-slow_open a stock alias,or is it custom?

Also, when scripting it like this, the door will open, then close.. and THEN the sound will play.
one_richard
General Member
Since: Aug 24, 2007
Posts: 267
Last: Dec 1, 2008
[view latest posts]
Level 5
Category: CoD 4 Level Design
Posted: Saturday, Aug. 16, 2008 12:21 pm
Is from stock, in the common sound alias says all_mp
The_Caretaker
Preferred Member
Since: Jun 8, 2004
Posts: 11559
Last: Oct 4, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoD 4 Level Design
Posted: Saturday, Aug. 16, 2008 12:44 pm
did you add the .csv file to your zonefile?
one_richard
General Member
Since: Aug 24, 2007
Posts: 267
Last: Dec 1, 2008
[view latest posts]
Level 5
Category: CoD 4 Level Design
Posted: Saturday, Aug. 16, 2008 05:21 pm
sound,door_wood_slow_open,,all_mp

You mean?
The_Caretaker
Preferred Member
Since: Jun 8, 2004
Posts: 11559
Last: Oct 4, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoD 4 Level Design
Posted: Sunday, Aug. 17, 2008 05:25 am
No, the .csv file you found the alias in.

so that would be something like

sound,common,yourmapname,!all_mp
or
sound,common,yourmapname,all_mp
one_richard
General Member
Since: Aug 24, 2007
Posts: 267
Last: Dec 1, 2008
[view latest posts]
Level 5
Category: CoD 4 Level Design
Posted: Sunday, Aug. 17, 2008 09:42 am

My map name is mp_nombredemapa.

got this in my zone file:

Quote:
ignore,code_post_gfx_mp
ignore,common_mp
ignore,localized_code_post_gfx_mp
ignore,localized_common_mp
col_map_mp,maps/mp/mp_nombredelmapa.d3dbsp
rawfile,maps/mp/mp_nombredelmapa.gsc
impactfx,mp_nombredelmapa
sound,common,mp_nombredelmapa,!all_mp
sound,generic,mp_nombredelmapa,!all_mp
sound,voiceovers,mp_nombredelmapa,!all_mp
sound,multiplayer,mp_nombredelmapa,!all_mp
rawfile,maps/mp/gametypes/_teams.gsc
include,mptypes_desert
include,mptypes_urban
include,mptypes_woodland
rawfile,maps/mp/teleportenter.gsc
rawfile,maps/mp/_doors.gsc
sound,door_wood_slow_open,,all_mp


edited on Aug. 17, 2008 09:43 am by one_richard
The_Caretaker
Preferred Member
Since: Jun 8, 2004
Posts: 11559
Last: Oct 4, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoD 4 Level Design
Posted: Sunday, Aug. 17, 2008 10:54 am
I took a quick look in the common.csv file and found the door open alias...but it actually say '!all_mp' instead of 'all_mp'... which basically means you can't use that alias in your mp map.

I'll do aquick test to see if I canget it to work, but I fear you might have to make your own .csv file (note there are NO doors with sounds in anu MP levels as far as I know)
Restricted Access Restricted Access
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD 4 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.
Intergi
Partners
Frag Universe
The Firing Box
XoXide
CODAddicts - Call of Duty News & Downloads
Battle for Europe COD2
modbase.be
Call of Duty Headquarters
Ask About
Advertising
Friends
MODS Reloaded
Canada Kicks Ass Clan
After Life Gaming
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 155
MODSonair Episode 154
MODSonair Episode 153
MODSonair Episode 152
MODSonair Episode 151
Next Show
The next MODSonair show will air LIVE on:

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