[TUTORIAL] Using custom CTF trails.

Untouch

L4: Comfortable Member
Jan 25, 2010
187
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.
 
Last edited:

Untouch

L4: Comfortable Member
Jan 25, 2010
187
48
Are you sure the smokestack does not need to be parented to the intel?

It does,

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

Changed flag to intel
 

ricardojvc6

L6: Sharp Member
Jun 8, 2009
268
66
Great :D, i might make a CTF map someday.
 

Untouch

L4: Comfortable Member
Jan 25, 2010
187
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: