[Prefab] Grinder

Discussion in 'Tutorials & Resources' started by Corvatile, Nov 9, 2014.

  1. Corvatile

    aa Corvatile exercise cawtion

    Messages:
    354
    Positive Ratings:
    935
    The grinder what did that grinding on Mannhattan.

    There are two triggers- one kills the player and the other generates the mashing effects and sounds.

    DOWNLOAD LINK

    probably works
     
  2. Namieo

    Namieo L1: Registered

    Messages:
    23
    Positive Ratings:
    4
    I haven't tested it ingame, but I've noticed a couple things just poking around in the VMF.

    • The trigger_multiple is looking for a nonexistent filter_redteam
    • Sounds for robots are included but aren't referenced
    • There's a light_enviroment inside the grinder

    On another note, what's with maps using multiple ambient_generic entities for the exact same sound in the same area? I've noticed this several times now and I don't see the point.
     
  3. puxorb

    aa puxorb L69: Emoticon

    Messages:
    449
    Positive Ratings:
    595



    When you fire only one sound, even at the highest volume (10) sometimes it isn't loud enough. When you have 2, or even 3 ambient_generic entities all firing at the same time with the same sound, they scale in loudness. Valve also does this with the clocktower sounds on helltower, and the rocket horn and launch sounds on sd_doomsday.
     
  4. Crash

    aa Crash func_nerd

    Messages:
    3,148
    Positive Ratings:
    4,746
    Yeah, I had to do that with all of Trainsawlaser's voice lines, too.
     
  5. puxorb

    aa puxorb L69: Emoticon

    Messages:
    449
    Positive Ratings:
    595
    Ah, that explains the ridiculous entity count.
     
  6. Crash

    aa Crash func_nerd

    Messages:
    3,148
    Positive Ratings:
    4,746
    Yep.

    I ended up optimizing it later on by doing AddOutput's to a set of ambient_generics that would change the voice clip it was playing just before it played it. That cut out like 400+ entities on it's own.