sound

sound

Hammer Mapping — Page [1]
nob491
2010 Aug 16 • 45
how to make a button activate a sound in all parts of the map?
 
 
2010 Aug 20 at 11:14 PDT
sleepy
2009 Sep 11 • 17
you should take into consideration like everyone else has said, tutorials.
 
 
2010 Aug 20 at 13:11 PDT
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Ight let me get you this.

There are many advanced ways to do this, but let me get you the basics.

You need to make a func_button somewhere, we will come back to this later. Next you need to place a point entity of the type ambient_generic somewhere.

Now lets move onto the sound. It has to be less than about 3 minutes. In a very specific format:
11025 Hz
mono (1 channel)
8 bit pcm
Wav format
Now, make a folder in your cstrike/sound/ directory, usually the name of your map.

Back to your entities. Go to your ambient_generic. Set the path/filename to whatever folder you put your music in. That is anything after the cstrike/sound/ directory. Lets say you put the sound in cstrike/sound/myUncleBob/trigger.wav. What you would put in your entity is myUncleBob/trigger.wav. Now set the flags "play everywhere," "start silent." name your ambient_generic something useful. Say you want it to play a trigger sound, name it soundTrigger or something. Go to your func_button, make the target soundTrigger (or whatever you named the ambient_generic).
 
 
2010 Aug 20 at 13:26 PDT — Ed. 2010 Aug 20 at 13:27 PDT
nob491
2010 Aug 16 • 45
having a problem i don't get sound in my map did everything you told
and i have question to make sky i just choose sky texture and make box like a roof?
 
 
2010 Aug 21 at 04:18 PDT — Ed. 2010 Aug 21 at 06:39 PDT
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
nob491 said:
having a problem i don't get sound in my map did everything you told
and i have question to make sky i just choose sky texture and make box like a roof?


Run the map. Check the console when it first loads, and when you walk through a trigger, or press the button. Post the results here

And, yes.
 
 
2010 Aug 21 at 10:15 PDT
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
This is a rare error. Anyways, it means that the amount of RAM allocated for the map (which is a fixed amount) is full. You have too many models, too many brushes, too many sounds, some models are way to big, some sounds are way to big, etc. Delete whatever is causing the problem.

Please don't delete posts.
 
 
2010 Aug 21 at 10:40 PDT — Ed. 2010 Aug 21 at 10:40 PDT
nob491
2010 Aug 16 • 45
still have problem with sound it doesn't load the map
i deleted the post becuse i fixed it
and there is 1 more problem when i comple it it shows that there are leaks but i dont know where
 
 
2010 Aug 22 at 06:35 PDT — Ed. 2010 Aug 22 at 06:46 PDT
SRAW
Rocket Man

2007 Nov 6 • 2525
601 ₧
If you don't know where the leaks then why not JUST LOOK FOR THEM, HARD
Free Steam Games
 
 
2010 Aug 22 at 17:53 PDT
the_cloud_system
polly pushy pants

2008 Aug 1 • 3070
-6 ₧
stop making things hard for him
I drink to forget but I always remember.
 
 
2010 Aug 22 at 18:58 PDT
SRAW
Rocket Man

2007 Nov 6 • 2525
601 ₧
:( or you could load the pts file into hammer to find the leak, n0b
Free Steam Games
 
 
2010 Aug 22 at 19:20 PDT
nob491
2010 Aug 16 • 45
...
 
 
2010 Aug 23 at 02:59 PDT
SRAW
Rocket Man

2007 Nov 6 • 2525
601 ₧
When you compile the map you get a .pts file, you can load that into hammer by going to(I think) File >> load pointfile or something like that, and if you have hammer 3.5 it will lead you to the leak
AND DOES MY BIG TEXT INTIMIDATE YOU?
Free Steam Games
 
 
2010 Aug 23 at 03:51 PDT
the_cloud_system
polly pushy pants

2008 Aug 1 • 3070
-6 ₧
sraw you need to suck a dick, bigger that your dads
I drink to forget but I always remember.
 
 
2010 Aug 23 at 06:17 PDT
Rockbomb
Dog fucker (but in a good way now)

2009 Nov 13 • 2045
the_cloud_system said:
sraw you need to suck a dick, bigger that your dads

So, about the size of his moms then?
 
 
2010 Aug 23 at 09:26 PDT
nob491
2010 Aug 16 • 45
Warning: === LEAK in hull 0 ===
Entity info_player_start @ (-832,-768, 704)
i keep getting this leak don't know wwhat to do
is this because of playerstart do i have to delete it?
plz help fast
 
 
2010 Aug 23 at 12:22 PDT
Rockbomb
Dog fucker (but in a good way now)

2009 Nov 13 • 2045
nob491 said:
Warning: === LEAK in hull 0 ===
Entity info_player_start @ (-832,-768, 704)
i keep getting this leak don't know wwhat to do
is this because of playerstart do i have to delete it?
plz help fast

Hidden within SRAW's doucheyness™, he actually gave you the advice you need. When you compile your map and get a leak, it creates a pointfile, which you can load into hammer and it will show you where the leak is.

Also, its not info_player_start thats causing the leak, but that is most likely the closest entity to the actual leak, so I'd look in that area.
 
 
2010 Aug 23 at 12:42 PDT
nob491
2010 Aug 16 • 45
i don't get the point fail...
and how i do that i see things from far away
bad english
 
 
2010 Aug 23 at 13:00 PDT
SuperJer
Websiteman

2005 Mar 20 • 6239
The pointfile shows up as your-map-name.pts

You may need to increase the back clipping plane in Hammer's options in order to see further.
 
 
2010 Aug 23 at 18:00 PDT
nob491
2010 Aug 16 • 45
i did that but it still looks like blurry from the beginning and when i take 2 maybe 3 steps it looks okay but i want it to looks ok from beginning
 
 
2010 Aug 24 at 03:15 PDT
Page [1]