November 26 2024 10:54:58
Navigation
· Home
· Articles
· Downloads
· FAQ
· Discussion Forum
· Web Links
· News Categories
· Contact Me
· Photo Gallery
· Search
· Gameservers
Languages
Users Online
· Guests Online: 32

· Members Online: 0

· Total Members: 1,134
· Newest Member: Brody
Teamspeak 3
Last Seen Users
· hackepter01:37:05
· GONZO18:31:36
· Intruder18:58:19
· Sully 1 day
· desintegrator 2 days
· WEZ 3 days
· Homi 3 days
· The ACE 4 days
· xhc 1 week
· dRgiGGLeZ 1 week
· El Dookie 1 week
· Melber 2 weeks
· SGT PEPPER 2 weeks
· martyr 2 weeks
· Terminator 2 weeks

View Thread: Map Editing with custom sounds
Vietcong.Info » Vietcong General Discussion » Vietcong Tech Talk
Who is here? 2 Guests
Current Rating: (Total: 2 ratings)  
 Print Thread
Map Editing with custom sounds
H5N1 Bird Flu
XSOUND.TXT

//-----------------------------------------------------------------------------------------------------------
//MUSIC MASHUP

`snd 9000 custom\custom.ogg 100 44100 0 0.1 100 // Whispering
`snd 9001 custom\custom1.ogg 100 44100 0 0.1 100 // SpookyWind
`snd 9002 custom\custom2.ogg 100 44100 0 0.1 100 // do you hear what i hear
`snd 9003 custom\custom3.ogg 100 44100 0 0.1 100 // creapysoundeffect
`snd 9004 custom\custom4.ogg 100 44100 0 0.1 100 // screamloadahhh
`snd 9005 custom\custom5.ogg 100 44100 0 0.1 100 // babysheep
`snd 9006 custom\custom6.ogg 100 44100 0 0.1 100 // scream
`snd 9007 custom\custom7.ogg 100 44100 0 0.1 100 // kids
`snd 9008 custom\custom8.ogg 100 44100 0 0.1 100 // grudge
`snd 9009 custom\custom9.ogg 100 44100 0 0.1 100 // evillough
`snd 90010 custom\custom10.ogg 100 44100 0 0.1 100 // fredytheme

//MUSIC MASH UP
//------------------------------------------------------------------------------------------------------------

You wrote that you are using name of the file sound.ogg ,but in XSOUND.TXT I see that you defined custom.ogg ... try to chceck name of the files...I predict that name of the file in XSOUND.TXT should be the same as name of the file in your SND folder....

May be thats the main reason of error message...cause engine didn´t find correct file....

BTW: lol fredy theme...hehehe
Edited by H5N1 Bird Flu on 05-03-2012 21:33
 
30min.vietcong1.cz
techno
custom.ogg through to custom10.ogg are the names of my files
I only said sound.ogg to cover all sounds and not have to type out the name of each file name.

I would really like this to work, I need some sounds to work only 2 meters hearable distance
and other sounds 20 and 40 meters hearable distance.

I can't do custom sounds the other way I know "as by replacing sounds with custom sounds" because
I can't control how far the sound distance and loudness is heard.

I have put this map on hold about 7 months or so now because I could not get the sounds right.
would really love to finish it and if someone wants me to send my sounds files to them to
to help out, I can send them to you..

I would rather learn what I am not doing or! doing wrong , but happy for anyone to do it for me to help as well

However as I found so far the only file making problems for me is xsound.txt I can pack all other files
and map will still work. 'just no sounds'

BTW fredy theme Grin if you scare easy, I would enter at own risk.... the map is meant to scare and trick players
with moving objects. not intended for real wars lol. experimental map with lots of customs
 
techno
sometimes the silliest things can be over looked

this
`snd 90010 custom\custom10.ogg 100 44100 0 0.1 100 // fredytheme
should be this
`snd 9010 custom\custom10.ogg 100 44100 0 0.1 100 // fredytheme


As this will now work with my map and sounds do work now,
you were talking about map-a and map-b

this does mean if someone else or my self makes another map with custom sounds
that my current map will then play that other maps sounds and not my map? would I be correct in saying that.
there for the file xsound.txt and custom sounds would be best placed in the map.dat file rather then the cfb file, again would this be correct?

but then there is the draw back if my map is not the first to load that xsound.txt will not have the list of my sounds
and there for my sounds will not play.
BUT if my map was the first to load the my xsound.txt and sounds will load but on map change I suspect the game would crash
because my sounds did not load after leaving the map?

BUT what if I put the custom sounds in my map.cbf file and the xsound.txt in my map.dat file
I would suspect on loading my map my xsound.txt will load and as custom sounds are in my map.cbf file
after leaving my map the game will not crash as the sounds are still readable.
hmmm

I will confirm this later when I got some more time
 
H5N1 Bird Flu
I´m afraid if you put XSOUND.TXT to DAT file....XSOUND.TXT will be not loaded..but try to test it....primary location is in CBF file so I expect updated XSOUND.TXT have to be there also...

Yep if someone create map..he also start with customs ID etc. with 9000...maps are loaded in alphabetical order so ....if the map will be loaded after yours used customs sounds will be from another map....thats disadvantage of this method...

hearable distance you have to set while creating new sound in editor....this information will be saved to snd.dat...
Edited by H5N1 Bird Flu on 06-03-2012 07:51
 
30min.vietcong1.cz
techno
your right .txt will not work in .dat file, thought it would have as the map.dat is a cbf file but named .dat for singling out map files.

I Was hoping it would be like INI\TXT you can add what ever txt file there to change names of hats and players in the menu
when selecting a skin or hat.

example" if you could add a snd.txt in the same folder with xsounds.txt with just the sounds we want to add
the we could add custom_name.txt to include our custom sounds and there wouldn't be any problems to custom sounds
not working or conflicts.

I have spent the time looking at every dat file txt and tx3 file to see if there was another way to include a custom file
to provide another way to use custom sounds by including a custom txt file but no luck.

I don't know 1/2 as much about VC as LDC or some others do but I am sure there is a way. I am told there isn't
but I will not give up on it Smile

I also see in the Ptero Engine under TOOLS>Reload Wizard> to check for Sound system (snd.txt, wavs)
and think there must be the option for a custom file called snd.txt to contain custom sound commands.

I have tested putting a file called snd.txt in ever folder of my map before compiling and the only
folder there the snd.txt file does compile into the map is under data\snd...

anyway thanks for your way of making custom sounds work in maps. it does work as I now have my map working with custom sounds.
I still will not let others download it as I want a better way for custom sounds to work.

I might have to make a addon instead with may maps to include custom xsound and sounds but probably will not
do that, i tries to do a addon once before and failed.

cheers for all your help support
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Areas in custom map that are a black void Maps & Mapping 10 07-03-2019 17:55
Custom MP Coop map - custom death messages Maps & Mapping 11 14-10-2018 15:49
new custom addons General Discussion 11 24-01-2016 21:29
Vietcong doesn't start with more than 500+ custom maps? General Discussion 5 27-12-2015 06:06
Sounds General Discussion 6 12-10-2015 02:22
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Render time: 0.22 seconds - 54 Queries 5,473,441 unique visits