Trainsawlaser

KotH Trainsawlaser RC2

xzzy

aa
Jan 30, 2010
815
531
It appears to be a limitation of the version of the Source engine that TF2 uses. If you dig around on Valve's wiki you'll find that L4D2 added the ability to mix audio, allowing maps to adjust the priority of various sound layers. As near as I can tell, prior to L4D2 when Valve needed to make audio that you can always hear (such as the announcer in TF2) they hardcoded logic to push that stream to the top.

One thing that might make soundscripts still useful is that you can group audio clips and have the engine pick one randomly from that list when the sound is played. Which would probably help a lot with the train rain kill messages.

The script I posted above becomes something like:

Code:
train.kill
{

    volume  1.0
    pitch   100
    soundlevel 0.1

    rndwave
    {
        wave #train/1.wav
        wave #train/2.wav
        wave #train/3.wav
        wave #train/4.wav
    }
}

Then in Hammer you just need one group of ambient_generics that call "train.kill" and the game will pick one randomly. I guess there's a risk that each ambient_generic will pick a different random wave to play, so perhaps test it on a small scale first. :D
 

Crash

func_nerd
aa
Mar 1, 2010
3,315
5,499
Map updated!

Downloads available in OP

April 1st
Release Candidate 1
-Completely revamped audio entity system, saving a lot of entdata. This should solve ALL server crashing issues and allow the server to run on 32 player servers smoother. This took many hours.
-Restored missing kill trigger section for giant falling train event
-Adjusted sentry nobuilds to cover most of the ramps leading up to mid
-Changed a bunch of the spell books to rare spells
-Changed milestone events so they will not repeat until all have been activated. PickRandom to PickRandomShuffle
-Changed all minion audio lines to PickRandomShuffle as well to eliminate any repeats
-Made electrical hazard into a big fat straight laser hazard, still on a random timer though.
-Optimized lightmaps for smaller filesize
-Increased Kilgore's movement speed
-Restored a couple missing Kilgore lines
-Removed stoneyridge.net ads :(

KNOWN BUG: Sometimes lines play when they are not supposed to. This is a side effect of how I had to change the audio system, and I'm not entirely sure if/ when it'll ever get fixed. It's worth it.
 

Mr.Spoon

L1: Registered
Apr 2, 2014
1
1
Crash,

Thanks for the Update, This map is Epic!

Just a heads up, the posted Nav for for RC1 is incomplete, it's only 93KB vs the previous 360KB. I have regenerated the NAV and all seems good.

Also getting console spam:

EmitAmbientSound: sound note precached: trainsawlaser/trainhit12.wav
 
Last edited:

Jukebox

L2: Junior Member
Feb 21, 2014
61
148
If you're still adding to this map I'd be interested in making some props for it.
 

Crash

func_nerd
aa
Mar 1, 2010
3,315
5,499
I'm just about at my limit for packing any more custom content into it without making the map too big for players to willingly download, as there is a LOT of custom audio in this. Thanks for the offer though!

Maybe something for wubwubwub instead? The lame brush-work speaker could use some love. :)
 

Jukebox

L2: Junior Member
Feb 21, 2014
61
148
Dang, lazers and crazy scientist stuff is fun to make. But alright, I'll go check that out.

(Also I'm new to mapping, what's brush work?)
 

Crash

func_nerd
aa
Mar 1, 2010
3,315
5,499
Brush work refers to what we make everything with that isn't a prop. Blocks cut in different shapes, basically. It's much less refined than modeling, and anything too complex ends up looking pretty blocky/ jaggy.
 

Bakscratch

Finisher of Maps
aa
Oct 29, 2010
714
1,492
Love these videos, well anything mapping related is always good!
But yeah nice to see some behind the scene thoughts and stuff, and also to see how you went about fixing certain things.
 

xzzy

aa
Jan 30, 2010
815
531
He also sounds suspiciously close to whoever did the Saxton Hale stuff that's floating around out there. The first time those voice clips went in I thought it was actually supposed to be Saxton Hale yelling at all of us.
 

Crash

func_nerd
aa
Mar 1, 2010
3,315
5,499

RubbishyUser

L7: Fancy Member
Feb 17, 2013
414
488
OH MY GOD CRASH YOU ARE TERRIBLE AT CLIPPING

0E37109A46A1FB6DDE2E82B7809702F06AE5C238


MAYBE YOU SHOULD GET A REAL EXPERT TO WANDER AROUND YOUR MAPS AND DO IT FOR YOU
 

RubbishyUser

L7: Fancy Member
Feb 17, 2013
414
488
The blue wall you see there sticks out 1 millionth of a unit or something, allowing me to stand on it and taunt. It's gamebreaking and doesn't appear on the red side. For those who do not get the joke, Crash prides himself on his clipping after he made like 3 videos on how to clip things and has offered to bug test other maps for clipping.