Gate (func_door) issues Created 16 years ago2007-10-24 08:05:58 UTC by vbSteve vbSteve

Created 16 years ago2007-10-24 08:05:58 UTC by vbSteve vbSteve

Posted 16 years ago2007-10-24 08:05:58 UTC Post #236935
Hi,

I'm having some problems with my gate I built; or rather with the sound of it.
It's a source map and I'm aware of the differences between the old hammer editor and the new one. I can't figure this one out.

I put some screen shots up on my website:
http://www.mcodev.org/~002/images/css_assault_lumos/dev1.jpg
http://www.mcodev.org/~002/images/css_assault_lumos/dev2.jpg
http://www.mcodev.org/~002/images/css_assault_lumos/dev3.jpg
http://www.mcodev.org/~002/images/css_assault_lumos/dev4.jpg

Anyway, the gate you see is a func_door entity and I specified a value for both sound1 and sound2 properties. Now, when the gate opens, sound1 works, accepts when the gate stops, there is no sound.
The other way around; when the gate is closing, I'd expect sound1 would emit, like when it opens up, there is no sound though, only when the gate stops sound2 emits.

Its hard to explain, so I'll add the map so you can see for your self.
http://www.mcodev.org/~002/stuff/css_assault_lumos_v1.zip

I've tried everything. Perhaps you guys know more about it how to solve.

Oh yeah, I'm using Half-life 2 textures for this cs map, so make sure you include the halflife2.fgd in the game data when you load it into hammer editor.

Another thing, you'll notice from image 2, that there are 2 buttons operating the gate, one to open and one to close. In hl1 maps you would add 1 button, and set the target's name of the gate entity and it could be used to open and close. I'm not sure how to do that here. So if you have a different solution for that too so that only one button can be used, instead of 2 :)

Then one last thing, if you watch image 4, notice the light above the gate. Every time you fire a shot, the texture of the light goes to black.

And one final question, since this is my first map in source, how exactly do you create a car? :nuts:

Thanks in advance,
Posted 16 years ago2007-10-25 01:07:19 UTC Post #236973
Me thinks you have mis-read the properties of the different sound values. I was looking at them the other day. I can't see what you've done but I know there is a moving sound, a fully open sound and a fully closed sound, maybe you get them mixed up. The second question is just use the I/O system and toggle the door. Don't send the instruction open or close because otherwise if the door is open and you press the open button, nothing happens. The last two I can't help you with as I don't actually map for CS-S yet.
You must be logged in to post a response.