env_spritetrail does not work, map crashes

Discussion in 'Mapping Questions & Discussion' started by Werewolf, May 4, 2014.

  1. Werewolf

    aa Werewolf Probably not a real Werewolf

    Messages:
    768
    Positive Ratings:
    222
    I'm working on a Deathrun map and I'm trying to add an env_spritetrail to give players a trail. I've looked at how other mappers have done it and copied their method. I've created a basic sprite to use and I've checked everything. Yet, when I try test it in my map, the whole game crashes.

    I get no warnings, compile errors or anything. It just dies. I've also tried parenting a env_spritetrail to a rotating door, to check if its the parenting process that messing things up which I believe is probably the case as the env_spritetrail starts unparented to anything.

    Can anyone help me figure out why it does this?
     
    Last edited: May 4, 2014
  2. Werewolf

    aa Werewolf Probably not a real Werewolf

    Messages:
    768
    Positive Ratings:
    222
    Annnnd I found my problem. A simple typo in the .vmt file.

    All works fine now
     
  3. Egan

    aa Egan

    Messages:
    1,313
    Positive Ratings:
    1,491
    Yeah env_spritetrail is mean like that. I had an issue similar to this on my surf_entrance map where somehow the custom trail texture removed itself from the pakfile and people started crashing. The fix was to just re-add the texture file (it was still in the .bsp, it was just broken somehow, and broken spritetrail = crash).