Custom Func_rotate_train Sounds
#12288 posted by Preach on 2012/12/21 19:48:16
Yes, you can override either of the sounds by setting the noise and noise1 fields on the entity directly.
Also, re: the slime question, you can add an func_illusionary brush with a slime texture if you want opaque slime. You can add it a little bit below the waterline and get a layered effect, and you could even apply alpha to the entity if you just want lower transparency.
Thanks Preach
#12289 posted by mechtech on 2012/12/21 20:45:51
noise1 is the train run sound. Works well now just 1 more question. path_rotate plays the sound. As the train hits a path_rotate the sound is restarted (if not looped). How do I make some path_rotates not effect the sound?
Sounding Out
#12290 posted by Preach on 2012/12/21 21:07:58
The path_corner will always trigger some kind of sound when you hit it, there's no way to keep a looping sound going smoothly without it restarting. The path_corner does have the ability to replace the train's sounds, so if you've got a non-looping sound, the trick to preventing it re-sounding at the path_corner is to give that path_corner the noise "misc/null.wav". You then have to make sure you restore the sound at the next path_corner you want to hear it from - the sound is overwritten from that stop onwards!
Sorry For My Ogrografic
#12291 posted by madfox on 2012/12/22 05:36:48
#12292 posted by Spirit on 2012/12/22 09:37:15
Once again without the text please. That is hilarious!
Peeeeee
#12293 posted by JPL on 2012/12/22 09:43:09
#12294 posted by madfox on 2012/12/23 00:24:58
I'm ashamed.
Weeee
#12295 posted by mechtech on 2012/12/23 00:30:17
Good for an intermission camera shot:) Ogres pissing off the castle battlements
Hahahaaaa!!!!
#12296 posted by RickyT33 on 2012/12/23 23:03:18
XD
#12297 posted by wakey on 2012/12/24 00:52:27
Also good for letting the ogre pee on the player if he gets killed.
Sock
#12298 posted by than on 2012/12/26 02:50:07
I don't think anyone mentioned this already, but you can disable the water and slime sound effects using compiler flags. The sounds are added at compile time and whether you can hear them or not is dependent on whether they are in a visible leaf or not. This makes them absolutely suck for open maps, where it is usually much better to just add your own sounds.
add these to your vis command line options:
-noambientsky
-noambientwater
-noambientslime
-noambientlava (doesn't have a sound anyway...)
-noambient (disable them all)
http://user.tninet.se/~xir870k/readmevis.txt
Preach
#12299 posted by negke on 2012/12/31 13:22:57
I have this map that uses point-sized triggers for monster teleports and centerprints as usual. For some reason, however, they are all messed up in Quoth, spawning with an actual bbox instead of a point. This might be related to bbox-borrow hacks I used, but it shouldn't affect the point triggers (and doesn't in other mods). Any idea/care to take a look?
Features
#12300 posted by Preach on 2012/12/31 14:06:36
Quoth has built in support for point sized triggers:
http://www.quaddicted.com/webarchive/kell.quaddicted.com/quoth/quoth_tutorial.html#triggers
Essentially you position the entity where you want the lower corner of your trigger, and set mangle to the desired dimension of trigger. If you don't specify dimensions, the trigger defaults to 64x64x64, which is what you're seeing, I guess.
The best workaround would be to set mangle to something very small, like '0.1 0.1 0.1'. This should stop the point triggers overspilling.
Addendum
#12301 posted by Preach on 2012/12/31 14:11:11
In retrospect this default size is badly done. Any default size could potentially break a map, but making it very small would probably avoid problems in 90% of cases. One more for the 2.2 patch...
Yeah That Sounds Like It
#12302 posted by negke on 2012/12/31 14:28:44
Funny I never noticed it before - and I always use point triggers for monsters. Probably because Quoth usually breaks so many things in my maps that I don't even test it carefully anymore. I'll try the low mangles. Thanks.
Disclaimer: this wouldn't be necessary if it wasn't for some specialists who always seem to run maps in the wrong mods without even realizing... :/
Paths
#12303 posted by negke on 2012/12/31 15:15:59
Does Quoth treat monster pathing differently? Is the next path_corner called on touching the point instead of the box? Several monsters have problems on their patrols through cramped areas.
Path_corner Changes
#12304 posted by Preach on 2012/12/31 19:37:23
Yes, there are some changes to accommodate the extra features quoth path_corners use. It looks from the tutorial like they've never been documented though...Corners support the following extra field for monsters:
wait: When non-zero, monsters will stand at this path_corner for wait seconds before continuing. If wait is negative, the monster will stand indefinitely. While standing, the monster will turn to face the angles set on the path corner.
The code that handles this is lengthy and I've been trying to pick my way through it without breaking it. I do know that one of the changes is that the monster is expected to reach the centre of the path_corner before it stops - there's a 4 unit margin of error, but it's much closer to the centre than the usual quake behaviour.
This can cause compatibility problems - in fact I already know that it breaks some pathing in e4m2. Unfortunately that leaves us in a bind, because reverting the changes now would break paths in maps designed for the new behaviour. So I think it may have to stay broken...
Func_wall_relay
#12305 posted by negke on 2013/01/02 20:02:31
Is there a way to have a solid brush entity with a trigger (relay) functionality? Apparently a regular func_wall's use field can't be overridden just like that. It seems like this should be possible with a notnull, but I'm somewhat confused as what the think field has to be. Sure, I could use a door with multi_trigger in its use field (to enable delay) or even a button, but this seems like even more of a hack than a clean notnull setup. The impact on network packets/performance is the same in either case?
Func_wall Explaination
#12306 posted by Preach on 2013/01/02 20:22:11
func_wall already has a use function - it toggles the texture, which is why you can't set a custom use function directly. However, you should be able to use
"think" "trigger_relay"
"nextthink" "0.1"
to change the use function post-spawn.
#12307 posted by negke on 2013/01/02 20:34:15
Awesome, thanks. I wonder if this creates a new set of possibilities that we haven't thought of before...
I knew you normally can't set custom use functions directly. However, strangely enough, it works on doors. At least setting it to multi_trigger allows for "delay" where originally the target is fired instantaneously.
Delayed Response
#12308 posted by Preach on 2013/01/02 21:04:58
I think delay works on doors even if you don't set multi_trigger - the quake code is very good about using SUB_UseTargets for everything that fires an event.
It Does! WTF
#12309 posted by negke on 2013/01/02 21:18:00
For years I was under the impression it could only fire the targets immediately after activation unless set to multi_trigger. Feeling incredibly silly now....
Quoth question:
Could I make func_breakable objects bleed when shot? Also would be cool if it could trigger something on being blown up :E
#12311 posted by necros on 2013/01/03 02:40:22
you could wrap the func_breakable in a normal shootable trigger that targets the breakable.
That's what I'm doing atm but it's a bit awkward, especially if you want the player to stand on the breakable (don't ask me why k? :p ) cause they ice skate around :(
|