Re: env_spark
Posted by Ryandor on
Sun Sep 7th 2003 at 12:07am
Posted
2003-09-07 12:07am
Ryandor
member
43 posts
54 snarkmarks
Registered:
Aug 29th 2003
Occupation: IT
Location: CO, US
Maybe someone with just a wee bit more experience can help me with this one:
What I've got is a "power generator" room directly below another room in this map I'm working on. I've got all kinds of stuff going on in the generator room; beams, sparks, etc.
All of my other sounds (beams, etc) I've adjusted accordingly so that you can't hear them in the other room except the env_spark.
Trouble is, I can't figure out a way to change the volume on the env_spark (as there's no volume flag/setting for it). I really don't want the player in the room above it to hear all these sparks (about 8 of them) going on below.
My question is, is there an alternative to the env_spark that I could use in place of it so that I can control the volume?
I've tried "faking it" with an env_shooter (sprite for the visual) and an ambient_generic (for the sound) but I just can't get this looking decent enough. The other problem with this is I'd have to set a "random event" sequence with a bunch of buttons/beams. The entity count on this goes up drastically.
My question is, is there another way I can achieve this with a better visual or without an extreme number of entities? If it was one or the other I'd do this, but with 2 points against this method it's not really worth it.
I'd appreciate any ideas on this.
Thanks in advance.
-Ryandor
Re: env_spark
Posted by Cash Car Star on
Sun Sep 7th 2003 at 1:00am
1260 posts
345 snarkmarks
Registered:
Apr 7th 2002
Occupation: post-student
Location: Connecticut (sigh)
You could take the Gollum approach and code a new mod for you level that gives env_spark a volume flag :biggrin:
Re: env_spark
Posted by Gwil on
Sun Sep 7th 2003 at 1:31am
Gwil
super admin
2864 posts
315 snarkmarks
Registered:
Oct 13th 2001
Occupation: Student
Location: Derbyshire, UK
If the volume bugs you that much just extend the max gap time between each spark... I always found the volume to be optimal tbh?
Re: env_spark
Posted by Ryandor on
Sun Sep 7th 2003 at 2:11am
Ryandor
member
43 posts
54 snarkmarks
Registered:
Aug 29th 2003
Occupation: IT
Location: CO, US
Campaignjunkie: you almost had my hopes up! But alas, this is a DM map.
CCS: We hatessss you forever :razz:
I'm actually debating moving the room further away. It's basically a 4 level map, and it's currently on the 2nd and 3rd..
Maybe putting it to 1st and 3rd would help...
-Ryandor
Re: env_spark
Posted by Mor7y on
Sun Sep 7th 2003 at 8:23am
Mor7y
member
63 posts
125 snarkmarks
Registered:
Sep 3rd 2003
Occupation: School
Location: in front of a PC
How about making the roof on the lower floor thicker?
If that is possible, the noise will not appear at the higher floor, cause to thick floor :smile:
1309 posts
329 snarkmarks
Registered:
Feb 12th 2002
Occupation: Student
Location: West Coast, USA
Another solution... That works in multiplayer:
xen_plantlight. But either the generator room or the radius in which you want to hear/see sparks would have to be rather small.
Place the xen_plantlight somewhere near that area; the radius is quite small though (probably a 128-192 unit diameter) Have the xen_plantlight target the env_sparks. Then, have a trigger_auto target a env_render that sets the xen_plantlight to rendermode Solid, fx amount 0.
Re: env_spark
Posted by Ryandor on
Sun Sep 7th 2003 at 10:30pm
Posted
2003-09-07 10:30pm
Ryandor
member
43 posts
54 snarkmarks
Registered:
Aug 29th 2003
Occupation: IT
Location: CO, US
That just might work. My generator room is not that big (384x304) so it might work. I'll play around with that and let you know how it goes.
Also, I moved the room further away from the other room, but I can still hear it, but not as bad.
-Ryandor
Re: env_spark
Posted by Leperous on
Mon Sep 8th 2003 at 2:43am
Leperous
Creator of SnarkPit!
member
3382 posts
1635 snarkmarks
Registered:
Aug 21st 2001
Occupation: Lazy student
Location: UK
... or render mode texture, FX amount 0 :smile:
Re: env_spark
Posted by ReNo on
Mon Sep 8th 2003 at 3:22pm
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
I had this problem back when I was working on the Resident Evil HL mod. I had a corridor in a hotel with dodgy wiring, and at random the wires would spark. Env_sparks, as with you, gave much too loud an effect for my windy map, so you heard it when you didn't want to.
My way around it was to use sprites and a sound instead, and synchronise them. Then have the random event generator from the VERC to trigger these. This way you can choose how loud you want your sound effect as you are using an ambient generic for them.
Its a very long winded method, and it was only suitable for me because I needed it for the electicity surge effect that took place in the same room. I don't personally suggest you bother, but I thought I'd mention the way I got around the problem anyway.
Re: env_spark
Posted by Ryandor on
Mon Sep 8th 2003 at 5:43pm
Ryandor
member
43 posts
54 snarkmarks
Registered:
Aug 29th 2003
Occupation: IT
Location: CO, US
ReNo: That the way I was originally going to do it, but I can't seem to get a decent looking sprite, without making a custom one (which I'd like to avoid. Combined with the fact that the additional entities is something I prefer to avoid, gives two reasons to not go this route, considering it's just a standard DM level. Not really worth the time and hassle. I'm going to try the xenhair method when I get a chance, but right now I'm trying to get a vis problem fixed. (1400+ in another area).
-Ryandor