[TUTORIAL] Using custom CTF trails.

Discussion in 'Tutorials & Resources' started by Untouch, Feb 25, 2010.

  1. Untouch

    Untouch L4: Comfortable Member

    Messages:
    187
    Positive Ratings:
    48
    There are a lot of CTF maps that are beginning to use different intels instead of the briefcase.

    The default trail works with the briefcase, but if you ask me, not with many other models.

    You can either take off the trail or follow these easy steps.




    1. Make both an item_teamflag and an env_smokestack entity.
    2. Open the item_teamflag and unclick use trail effect.
    3. Change the name of the flag to blue_intel_1 (doesn't need to be this, can be anythning).
    4. Open up your env_smokestack, change the parent to your intel (in this case blue_intel_1), change the name to part_intel_1.
    5. The env_smokestack will now follow your flag. You can change the sprite, sizes and lengths.
    6. The env_smokestack will always show, to make it more realistic add 2 outputs, onDrop and onPickUpTeam1/2 (need to add both).
    7. Go into your env_smokestack and start the initial state to off.
    8. Go into your flag, for onDrop turn off the smokestack, for onPickUpTeam1/2 Turn it on.
     
    • Thanks Thanks x 4
    Last edited: Feb 25, 2010
  2. Nutomic

    Nutomic L11: Posh Member

    Messages:
    888
    Positive Ratings:
    177
    Are you sure the smokestack does not need to be parented to the intel?
     
  3. Untouch

    Untouch L4: Comfortable Member

    Messages:
    187
    Positive Ratings:
    48
    It does,

    "Open up your env_smokestack, change the parent to your flag, change the name to part_intel_1."

    Changed flag to intel
     
  4. ricardojvc6

    ricardojvc6 L6: Sharp Member

    Messages:
    268
    Positive Ratings:
    66
    Great :D, i might make a CTF map someday.
     
  5. Untouch

    Untouch L4: Comfortable Member

    Messages:
    187
    Positive Ratings:
    48
    Edit: Apparantly onCapture litterally means on capture, the real outputs are onPickUpTeam1/2

    Also, found out that you can't "pass" the intel to another character instantly, or the stream ends on pickup.
    Trying to fix this.
     
    Last edited: Feb 25, 2010