![]() | i3D.net Support (email & live chat)
|
| | #1 (permalink) |
| General Join Date: 19 October 08 Location: Belgium
Posts: 5,188
Downloads: 7 Uploads: 0 ![]() ![]() | Sry if its in the wrong sub-forum I'm really stuck now. I want to put my own sound in my map. But not let it play it to the end. So I got a list of questions : 1 : How do I add my own sound? 2 : How I let it play and stop after 10 seconds? 3 : How I let it play on other people computers? ( Or how that u download it with the map ? ) I googled but not found anything what is correct for me. I know how to play standard sounds. Can you please help me. Read more on: : i3D.net Game Forums /cs-source-work-progress/58882-sounds-sdk.html Diesel
__________________ I'm Diesel! |
| | |
| Sponsored Links |
| | #2 (permalink) | |
| General Join Date: 06 May 08
Posts: 8,191
Downloads: 44 Uploads: 0 ![]() | Quote:
Go to your cstrike/sounds/ folder and than create a new folder. (Called my sounds for example) Copy your MP3 file into your folder called cstrike/sounds/my sounds. Implementing it into the level Put a ambient_generic into your map, then click on sounds name then browse and then search for your sound. If you found the one you want click OK. If you want that the sounds play in your whole map go to FLAGS and click on play everywhere. Now give the sound a name (diesel for example) 2) How to stop/play the sound after 10 seconds Create a trigger brush, make it trigger_once / multiple depends on if it can be played more than once in one round. Then go to outputs: Ontouch > triggername > playsound > Delay in seconds. If you keep 0.00 it will play immediately. Want to stop the sound? Go to outputs again of the same trigger. Then ontouch > triggername > stopsound > Delay in seconds ( in this case 10) 3) Getting it to work on other people's PCs First of all you will need PAKRAT. Once you've download that extract it to your destkop. Now click on pakrat.jar, now search your BSP file of your map. Once you did that click on ADD and find your custom sound again. Then click yes to all. Now you got the sound file in the map, you go to file and click on SAVE BSP, just overwrite your BSP. This should work! | |
| | |
| i3D.net is now on Facebook! |
| |
| | #3 (permalink) |
| General Join Date: 19 October 08 Location: Belgium
Posts: 5,188
Downloads: 7 Uploads: 0 ![]() ![]() | K thanks eastsider. Last question : I want it to make it work when I enter a zone And the sounds must stops after 10 secs when it started. Read more on: : i3D.net Game Forums http://forum.i3d.net/showthread.php?t=58882 How I do that? Nvm
__________________ I'm Diesel! |
| | |
| | #4 (permalink) |
| Friend of i3d! Join Date: 12 December 07 Location: Koninkrijk der Nederlanden, Noordwijk ZH
Posts: 6,250
Downloads: 52 Uploads: 0 ![]() ![]() | Make a trigger with what east said in it
__________________ ![]() Intel© Core™2 Quad Q6600 @ 3,01Ghz ( 334 FSB * 9.0 @ 1,336 Vcore ) ASUS HD7770-2GD5 ( 1020 Mhz Clock / 4500Mhz Memory / 128bit) 1x Adata 128GB (550MB/s read 500MB/s write ) |
| | |
| | #6 (permalink) | |
| Colonel Join Date: 04 October 08 Location: Belgium
Posts: 1,136
Downloads: 0 Uploads: 0 ![]() | Quote:
__________________ | |
| | |
| | #7 (permalink) |
| General Join Date: 19 October 08 Location: Belgium
Posts: 5,188
Downloads: 7 Uploads: 0 ![]() ![]() | Then go to outputs: Ontouch > triggername > playsound > Delay in seconds. If you keep 0.00 it will play immediately. Read more on: : i3D.net Game Forums http://forum.i3d.net/showthread.php?t=58882 Want to stop the sound? Go to outputs again of the same trigger. Then ontouch > triggername > stopsound > Delay in seconds ( in this case 10) How can u press Stopsound and Playsound in the same trigger?
__________________ I'm Diesel! |
| | |
| | #17 (permalink) |
| Busdriver ಠ_ಠ Join Date: 01 June 08 Location: Netherlands - Drenthe
Posts: 6,879
Downloads: 21 Uploads: 0 ![]() ![]() | Finally i found the sound thread back ![]() OK i have this sound, it is a custom sound. The problem is, it isnt looped, when i go to flags and uncheck is NOT looped it still isnt looped. Can anyone make this sound looped ? |
| | |
| | #18 (permalink) |
| Colonel Join Date: 30 December 06 Location: The Netherlands
Posts: 1,025
Downloads: 20 Uploads: 1 ![]() | The sounds must always be a .wav! So download the free program Audacity, and paste the sound in there. If you want it to fade out, then edit the song a bit. When you're done, save it as "customsong.wav", for example, in your cstrike/sounds map. Now we can open it in hammer, so make an ambient_generic, name it customsong and set the filtertype to raw, when selecting the song or sound you want to take. Type customsong, and it'll be found in the list. Select it, and check the flags tab of the ambient generic for any thing which has to be ticked or unticked. Then, make a trigger or button, and add this output. OnPressed/OnStartTouch customsong Play If it's a big song, then just add: OnPressed/OnStartTouch customsong Stop/Kill Ok, it's done, but you'll still need to add it in Pakrat. Read more on: : i3D.net Game Forums http://forum.i3d.net/showthread.php?t=58882 You can look the posts above, they'll tell you all. I hope I told some things others didn't tell yet. The main thing is that the sound must be a .wav, and eastsider said it can be a .mp3, which is wrong. I think you get the point
__________________ Ivar |
| | |
| | #19 (permalink) | |
| i3d.net Join Date: 31 August 08 Location: Rhoon, Zuid-Holland
Posts: 1,915
Downloads: 21 Uploads: 0
Xfire: basdej ![]() | Quote:
For sounds with loop, use wav.
__________________ ingame name: OVERLORD [nl] Intel Q6600 @ 2.40GHz (4 cores) 4096MB RAM, 1,5 TB hard drive, NVIDIA GeForce 8800 GTS | |
| | |
| | #20 (permalink) | |
| Colonel Join Date: 30 December 06 Location: The Netherlands
Posts: 1,025
Downloads: 20 Uploads: 1 ![]() | Quote:
caralarm_loop.wav Or see this tutorial on looping: FPSBANANA > Tutorials > CS:S > Mapping > Loop stubo
__________________ Ivar | |
| | |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
| New To Site? | Need Help? |